Changeset 1114 for trunk/src/cluster_command.m
- Timestamp:
- Mar 18, 2022, 12:31:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cluster_command.m
r1019 r1114 29 29 WallTimeOneProcess=min(4*CPUTimeProcess+10,WallTimeTotal*60/2); % estimated max time of an individual process, used for checkpoint: 30 30 %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 ' '... 32 38 '-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 35 40 ',walltime=' datestr(WallTimeTotal/24,13) '" '... 36 41 '-E ' filename_errors ' '...
Note: See TracChangeset
for help on using the changeset viewer.