Changeset 12983


Ignore:
Timestamp:
08/10/12 14:33:29 (13 years ago)
Author:
Eric.Larour
Message:

BUG: added flag for valgrind use on MacOSX platforms.

File:
1 edited

Legend:

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

    r12844 r12983  
    7777                                        %Add --gen-suppressions=all to get suppression lines
    7878                                        fprintf(fid,'LD_PRELOAD=%s \\\n',cluster.valgrindlib);
    79                                         fprintf(fid,'mpiexec -np %i %s --leak-check=full --suppressions=%s %s/issm.exe %s %s %s 2> %s.errlog >%s.outlog ',...
     79                                        if ismac,
     80                                                fprintf(fid,'mpiexec -np %i %s --leak-check=full --dsymutil=yes --suppressions=%s %s/issm.exe %s %s %s 2> %s.errlog >%s.outlog ',...
    8081                                                cluster.np,cluster.valgrind,cluster.valgrindsup,cluster.codepath,EnumToString(solution),cluster.executionpath,modelname,modelname,modelname);
     82                                        else
     83                                                fprintf(fid,'mpiexec -np %i %s --leak-check=full --suppressions=%s %s/issm.exe %s %s %s 2> %s.errlog >%s.outlog ',...
     84                                                cluster.np,cluster.valgrind,cluster.valgrindsup,cluster.codepath,EnumToString(solution),cluster.executionpath,modelname,modelname,modelname);
     85                                        end
    8186                                end
    8287                                if ~io_gather, %concatenate the output files:
Note: See TracChangeset for help on using the changeset viewer.