Changeset 26923
- Timestamp:
- 03/08/22 21:48:37 (3 years ago)
- Location:
- issm/trunk-jpl/src/m/classes/clusters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/pfe.m
r26922 r26923 19 19 processor = 'ivy'; 20 20 srcpath = ''; 21 extpkgpath = ''; 21 22 codepath = ''; 22 23 executionpath = ''; … … 52 53 disp(sprintf(' processor: %i',cluster.processor)); 53 54 disp(sprintf(' srcpath: %s',cluster.srcpath)); 55 disp(sprintf(' extpkgpath: %s',cluster.extpkgpath)); 54 56 disp(sprintf(' codepath: %s',cluster.codepath)); 55 57 disp(sprintf(' executionpath: %s',cluster.executionpath)); … … 173 175 fprintf(fid,'export MPI_GROUP_MAX=64\n\n'); 174 176 fprintf(fid,'export ISSM_DIR="%s"\n',cluster.srcpath); %FIXME 177 if cluster.extpkgpath 178 fprintf(fid,'export ISSM_EXT_PKG="%s"\n',cluster.extpkgpath); 179 end 175 180 fprintf(fid,'source $ISSM_DIR/etc/environment.sh\n'); %FIXME 176 181 fprintf(fid,'cd %s/%s/\n\n',cluster.executionpath,dirname); -
issm/trunk-jpl/src/m/classes/clusters/pfe.py
r26922 r26923 36 36 self.processor = 'ivy' 37 37 self.srcpath = '' 38 self.extpkgpath = '' 38 39 self.codepath = '' 39 40 self.executionpath = '' … … 72 73 s += ' processor: {}\n'.format(self.processor) 73 74 s += ' srcpath: {}\n'.format(self.srcpath) 75 s += ' extpkgpath: {}\n'.format(self.extpkgpath) 74 76 s += ' codepath: {}\n'.format(self.codepath) 75 77 s += ' executionpath: {}\n'.format(self.executionpath) … … 177 179 fid.write('export MPI_GROUP_MAX=64\n\n') 178 180 fid.write('export ISSM_DIR="{}"\n'.format(self.srcpath)) # FIXME 181 if self.extpkgpath: 182 fid.write('export ISSM_EXT_PKG="{}"\n'.format(self.extpkgpath)) 179 183 fid.write('source $ISSM_DIR/etc/environment.sh\n') # FIXME 180 184 fid.write('cd {}/{}/\n\n'.format(self.executionpath, dirname))
Note:
See TracChangeset
for help on using the changeset viewer.