SIMEXP / psom

pipeline system for octave and matlab
http://psom.simexp-lab.org
Other
24 stars 13 forks source link

Restarting crashed Octave pipeline in Matlab fails #95

Closed surchs closed 8 years ago

surchs commented 8 years ago

Restarting a pipeline that was run and crashed in Octave. For debugging I restart in Matlab. The following error occurs:

Warning: There was something wrong when loading the file
/home/surchs/GDrive/PhD/TeamStuff/Niak_Stuff/subtype_test_data/out/seb/test2/logs/PIPE_jobs.mat,
I'll try loading the backup instead 
> In psom_pipeline_init>sub_load_old (line 913)
  In psom_pipeline_init (line 400)
  In psom_run_pipeline (line 458)
  In niak_pipeline_subtype (line 299)
  In test_pipeline_subtype (line 39) 
Error using load
Unable to read file
'/home/surchs/GDrive/PhD/TeamStuff/Niak_Stuff/subtype_test_data/out/seb/test2/logs/PIPE_jobs_backup.mat'.
No such file or directory.

Error in psom_pipeline_init>sub_load_old (line 914)
        pipeline_str = load(file_backup);

Error in psom_pipeline_init (line 400)
pipeline_old = sub_load_old(file_jobs);

Error in psom_run_pipeline (line 458)
[tmp,flag_start] = psom_pipeline_init(pipeline,opt_init);

Error in niak_pipeline_subtype (line 299)
    psom_run_pipeline(pipe,opt.psom);

Error in test_pipeline_subtype (line 39)
[pipe,opt] = niak_pipeline_subtype(files_in,opt);

Restarting in Octave works fine.

surchs commented 8 years ago

Found the problem. Octave was incorrectly set up and saved .mat in ASCII.

Appending save_default_options('-7'); to ~/.octaverc fixes the issue