Changeset 22777


Ignore:
Timestamp:
05/15/18 13:42:09 (7 years ago)
Author:
seroussi
Message:

NEW: added valgind in coupled simulations

File:
1 edited

Legend:

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

    r22770 r22777  
    219219                        fid=fopen([modelname '.queue'],'w');
    220220                        fprintf(fid,'#!%s\n',cluster.shell);
    221                         fprintf(fid,'mpiexec -np %i %s/%s %s %s %s : -np %i ./mitgcmuv\n',cluster.np,cluster.codepath,executable,solution,cluster.executionpath,modelname,cluster.npocean);
     221                        if ~isvalgrind,
     222                                fprintf(fid,'mpiexec -np %i %s/%s %s %s %s : -np %i ./mitgcmuv\n',cluster.np,cluster.codepath,executable,solution,cluster.executionpath,modelname,cluster.npocean);
     223
     224                        else
     225                                fprintf(fid,'mpiexec -np %i %s --leak-check=full --error-limit=no --dsymutil=yes --suppressions=%s  %s/%s %s %s %s : -np %i ./mitgcmuv\n',...
     226                                        cluster.np,cluster.valgrind,cluster.valgrindsup,cluster.codepath,executable,solution,cluster.executionpath,modelname,cluster.npocean);
     227                        end
    222228                        fclose(fid);
    223229
Note: See TracChangeset for help on using the changeset viewer.