Changeset 20323


Ignore:
Timestamp:
03/18/16 12:44:22 (9 years ago)
Author:
schlegel
Message:

CHG: bring discover back up to date with new dakota, and do not hardcode mkl for pfe

Location:
issm/trunk-jpl
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r20293 r20323  
    13971397                MKLINCL=""
    13981398                if test x$VENDOR = xintel-pleiades; then
    1399                    MKLLIB="-Wl,-rpath,/nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/mkl/lib/intel64 -L/nasa/intel/Compiler/2015.0.090/composer_xe_2015.0.090/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm"
     1399         MKLLIB="-Wl,-rpath,$MKL_ROOT -L/$MKL_ROOT -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm"
    14001400                elif test x$VENDOR = xintel-discover; then
    1401                         MKLLIB=-L"$MKL_ROOT -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread"
     1401                        MKLLIB=-L"$MKL_ROOT -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -L/usr/lib64/ -lpthread -lm"
    14021402                elif test x$VENDOR = xintel-acenet; then
    14031403                        MKLLIB=-L"$MKL_ROOT -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm"
  • issm/trunk-jpl/src/m/classes/clusters/discover.m

    r20320 r20323  
    9494                         if(isgprof),    disp('gprof not supported by cluster, ignoring...'); end
    9595
     96                         executable='issm.exe';
     97                         if isdakota,
     98                                 version=IssmConfig('_DAKOTA_VERSION_'); version=str2num(version(1:3));
     99                                 if (version>=6),
     100                                         executable='issm_dakota.exe';
     101                                 end
     102                         end
     103
    96104                         %write queuing script
    97105                         fid=fopen([modelname '.queue'],'w');
     
    121129                         fprintf(fid,'cd %s/%s\n\n',cluster.executionpath,dirname);
    122130
    123                          fprintf(fid,'mpirun -np %i %s/issm.exe %s %s %s\n',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
     131                         fprintf(fid,'mpirun -np %i %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
    124132                         if ~io_gather, %concatenate the output files:
    125133                                 fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname);
     
    131139                                 fid=fopen([modelname '.run'],'w');
    132140                                 if ~isvalgrind,
    133                                          fprintf(fid,'mpirun -np %i %s/issm.exe %s %s %s\n',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
     141                                         fprintf(fid,'mpirun -np %i %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
    134142                                 else
    135                                          fprintf(fid,'mpirun -np %i valgrind --leak-check=full %s/issm.exe %s %s %s\n',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
     143                                         fprintf(fid,'mpirun -np %i valgrind --leak-check=full %s/%s %s %s %s\n',cluster.np,cluster.codepath,executable,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
    136144                                 end
    137145                                 if ~io_gather, %concatenate the output files:
Note: See TracChangeset for help on using the changeset viewer.