Changeset 26332 for issm/trunk-jpl/src/m/classes/clusters/maui.m
- Timestamp:
- 06/28/21 14:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/maui.m
r26330 r26332 38 38 disp(sprintf(' name: %s',cluster.name)); 39 39 disp(sprintf(' login: %s',cluster.login)); 40 disp(sprintf(' port: %i',cluster.port));41 40 disp(sprintf(' numnodes: %i',cluster.numnodes)); 42 41 disp(sprintf(' cpuspernode: %i',cluster.cpuspernode)); 43 disp(sprintf(' np: %i',cluster.cpuspernode*cluster.numnodes)); 42 disp(sprintf(' np: %i',cluster.nprocs())); 43 disp(sprintf(' port: %i',cluster.port)); 44 44 disp(sprintf(' projectaccount: %s',cluster.projectaccount)); 45 45 disp(sprintf(' partition: %s',cluster.partition)); … … 62 62 partition_requirements_np=[80]; 63 63 64 QueueRequirements(available_partitions,partition_requirements_time,partition_requirements_np,cluster.partition,cluster.np ,1)64 QueueRequirements(available_partitions,partition_requirements_time,partition_requirements_np,cluster.partition,cluster.nprocs(),1) 65 65 66 %Miscel aneous66 %Miscellaneous 67 67 if isempty(cluster.login), md = checkmessage(md,'login empty'); end 68 68 if isempty(cluster.codepath), md = checkmessage(md,'codepath empty'); end … … 95 95 fprintf(fid,'module swap PrgEnv-cray PrgEnv-intel\n'); 96 96 fprintf(fid,'cd %s/%s\n\n',cluster.executionpath,dirname); 97 fprintf(fid,'srun -n %i %s/issm.exe %s %s %s\n',cluster.np ,cluster.codepath,solution,[cluster.executionpath '/' dirname],modelname);97 fprintf(fid,'srun -n %i %s/issm.exe %s %s %s\n',cluster.nprocs(),cluster.codepath,solution,[cluster.executionpath '/' dirname],modelname); 98 98 if ~io_gather, %concatenate the output files: 99 99 fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname); … … 104 104 if cluster.interactive, 105 105 fid=fopen([modelname '.run'],'w'); 106 fprintf(fid,'mpiexec -n %i %s/issm.exe %s %s %s\n',cluster.np ,cluster.codepath,solution,[cluster.executionpath '/' dirname],modelname);106 fprintf(fid,'mpiexec -n %i %s/issm.exe %s %s %s\n',cluster.nprocs(),cluster.codepath,solution,[cluster.executionpath '/' dirname],modelname); 107 107 if ~io_gather, %concatenate the output files: 108 108 fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname);
Note:
See TracChangeset
for help on using the changeset viewer.