Changeset 25018


Ignore:
Timestamp:
06/11/20 16:45:23 (5 years ago)
Author:
schlegel
Message:

CHG: update calls for mpt in discover

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/clusters/discover.m

    r22240 r25018  
    125125                         end
    126126                         fprintf(fid,'. /usr/share/modules/init/bash\n\n');
    127                          fprintf(fid,'module load comp/intel-16.0.2.181\n');
    128                          fprintf(fid,'module load mpi/impi-5.1.3.181\n');
    129                          fprintf(fid,'module load other/cmake-3.8.2\n');
     127                         fprintf(fid,'module load comp/intel/20.0.0.166\n');
     128                         fprintf(fid,'module load mpi/sgi-mpt/2.17\n');
     129                         fprintf(fid,'module load cmake/3.17.0\n');
    130130                         fprintf(fid,'export MPI_GROUP_MAX=64\n\n');
    131131                         fprintf(fid,'export MPI_UNBUFFERED_STDIO=true\n\n');
     
    135135                         fprintf(fid,'cd %s/%s\n\n',cluster.executionpath,dirname);
    136136
    137                          fprintf(fid,'mpirun -np %i %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname);
     137                         fprintf(fid,'mpiexec -np %i %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname);
    138138                         if ~io_gather, %concatenate the output files:
    139139                                 fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname);
     
    145145                                 fid=fopen([modelname '.run'],'w');
    146146                                 if ~isvalgrind,
    147                                          fprintf(fid,'mpirun -np %i %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname);
     147                                         fprintf(fid,'mpiexec -np %i %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname);
    148148                                 else
    149                                          fprintf(fid,'mpirun -np %i valgrind --leak-check=full %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname);
     149                                         fprintf(fid,'mpiexec -np %i valgrind --leak-check=full %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,solution,[cluster.executionpath '/' dirname],modelname);
    150150                                 end
    151151                                 if ~io_gather, %concatenate the output files:
     
    190190                         if ~cluster.interactive,
    191191                                 if ~isempty(restart)
    192                                          launchcommand=['cd ' cluster.executionpath ' && cd ' dirname ' && qsub ' modelname '.queue '];
     192                                         launchcommand=['cd ' cluster.executionpath ' && cd ' dirname ' && sbatch ' modelname '.queue '];
    193193                                 else
    194194                                         launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
    195                                                  ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && qsub ' modelname '.queue '];
     195                                                 ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && sbatch ' modelname '.queue '];
    196196                                 end
    197197                         else
Note: See TracChangeset for help on using the changeset viewer.