Ignore:
Timestamp:
Mar 18, 2022, 12:31:32 PM (2 years ago)
Author:
sommeria
Message:

a few bugs repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cluster_command.m

    r1019 r1114  
    2929WallTimeOneProcess=min(4*CPUTimeProcess+10,WallTimeTotal*60/2); % estimated max time of an individual process, used for checkpoint:
    3030                                                                %if less than this time remains before walltime, the job is stopped and a new one can be launched ( by the option 'idempotent')
    31 cmd=['oarsub -n UVmat_' ActionFullName ' '...
     31
     32      if NbCore==1
     33          corestring='cpu=1/core=4'; %increases the allowed memory in case of single core job
     34      else
     35          corestring=['/core=' num2str(NbCore)];
     36      end
     37                                                                cmd=['oarsub -n UVmat_' ActionFullName ' '...
    3238            '-t idempotent --checkpoint ' num2str(WallTimeOneProcess*60) ' '...
    33             '-l "/core=' num2str(NbCore)...
    34             bigiojob_string... % char(39) is quote - bigiojob limit UVmat parallel launch on cluster
     39            '-l "' corestring bigiojob_string... % char(39) is quote - bigiojob limit UVmat parallel launch on cluster
    3540            ',walltime=' datestr(WallTimeTotal/24,13) '" '...
    3641            '-E ' filename_errors ' '...
Note: See TracChangeset for help on using the changeset viewer.