Changeset 25039


Ignore:
Timestamp:
06/16/20 14:30:43 (5 years ago)
Author:
Eric.Larour
Message:

CHG: improved options by adding an srcpath (vs codepath) in the pfe class.
Works better for out of source builds.

File:
1 edited

Legend:

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

    r24465 r25039  
    1818                 time           = 12*60;
    1919                 processor      = 'ivy';
     20                 srcpath       = '';
    2021                 codepath       = '';
    2122                 executionpath  = '';
     
    167168                         fprintf(fid,'export MPI_LAUNCH_TIMEOUT=520\n');
    168169                         fprintf(fid,'export MPI_GROUP_MAX=64\n\n');
    169                          fprintf(fid,'export ISSM_DIR="%s/../"\n',cluster.codepath); %FIXME
     170                         fprintf(fid,'export ISSM_DIR="%s"\n',cluster.srcpath); %FIXME
    170171                         fprintf(fid,'source $ISSM_DIR/etc/environment.sh\n');       %FIXME
     172                         fprintf(fid,'export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ISSM_DIR/externalpackages/petsc/install/lib"\n');
    171173                         fprintf(fid,'cd %s/%s/\n\n',cluster.executionpath,dirname);
    172174                         if ~isvalgrind,
Note: See TracChangeset for help on using the changeset viewer.