Ignore:
Timestamp:
Jun 27, 2018, 11:20:37 PM (6 years ago)
Author:
sommeria
Message:

psmsn cluster command updated, pb with multimask solved...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cluster_command_psmn.m

    r1043 r1051  
    1717function cmd=cluster_command_psmn(ListProcessFile, ActionFullName, DirLog, NbProcess, NbCore, CPUTimeProcess)
    1818    SubmitScriptFile = regexprep(ListProcessFile, '\job_list.txt\>', 'submit_script.sh');
    19     fid_list = fopen(ListProcessFile, 'r');
     19        fid_list = fopen(ListProcessFile, 'r');
    2020    fid_submit = fopen(SubmitScriptFile, 'w');
    2121    i=1;
    22     while(true)
    23         process = fgets(fid_list);
     22        while(true)
     23                process = fgets(fid_list);
    2424        if(process == -1)
    25             break
     25                        break
    2626        end
    2727        n = numel(process);
     
    3131                            '-e ' LogFile ' '...
    3232                            '-o ' LogFile ' '...
    33                             '-q piv_debian '...
     33                            '-q piv_debian* '...
     34                            '-P PIV '...
    3435                            '-N UVmat_' num2str(i) ' '...
    3536                            process char(10)]);
    3637        i=i+1;
    37     end
    38     fclose(fid_list);
     38        end
     39        fclose(fid_list);
    3940    fclose(fid_submit);
    4041    system(['chmod +x ' SubmitScriptFile]);
Note: See TracChangeset for help on using the changeset viewer.