Changes between Version 5 and Version 6 of mccpfe
- Timestamp:
- 09/30/20 13:17:28 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mccpfe
v5 v6 13 13 deps = []; 14 14 for i=1:numel(files) 15 deps = [deps ' ' files{i}]; 15 if strcmp(files{i},'/home1/tpelle1/trunk-jpl/src/m/miscellaneous/normfit_issm.m') 16 continue 17 elseif strcmp(files{i},'/home1/tpelle1/trunk-jpl/src/m/qmu/dakota_moments.m') 18 continue 19 elseif strcmp(files{i},'/home1/tpelle1/trunk-jpl/src/m/qmu/dakota_out_parse.m') 20 continue 21 else 22 deps = [deps ' ' files{i}]; 23 end 16 24 end 17 25 … … 25 33 26 34 Note the following potential problems: 27 * mcc needs to see all the m filesand will not be able to interpret a new *.m file created on the fly (like we do with `parameterize`).28 * It will be helpful to remove dependencies that rely on special MATLAB licenses, as Pleiades only has a limited amount. For instance, one can remove 'normfit_issm.m' and 'dakota_moments.m' from the list of dependencies (if your code will not use them) so that we do not require Matlab's statistical toolbox license.35 * MCC needs to account for all *.m files that will be used while running your script and will not be able to interpret a new *.m file created on the fly (like we do with `parameterize`). 36 * It will be helpful to remove dependencies that rely on special MATLAB licenses, as Pleiades only has a limited amount. For instance, one can remove 'normfit_issm.m', 'dakota_moments.m', and 'dakota_out_parse.m' from the list of dependencies (if your code will not use them) so that we do not require Matlab's statistical toolbox license. Just make sure to change the path to these files to the correct one on your machine in the example code above. 29 37 30 38 == Submit a job == … … 43 51 44 52 #load modules 45 module load comp-intel/201 6.2.18146 module load mpi- sgi/mpt53 module load comp-intel/2018.3.222 54 module load mpi-hpe/mpt.2.17r13 47 55 module load matlab/2017b 48 56 module load netcdf/4.4.1.1_mpt … … 61 69 62 70 #Run the precompiled code 63 ./run_ testMCC.sh $ISSM_DIR/lib:$ISSM_DIR/externalpackages/gsl/install/lib:$ISSM_DIR/externalpackages/petsc/install/lib:/nasa/intel/Compiler/2016.2.181/mkl/lib/intel64/:/nasa/intel/Compiler/2016.2.181/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64/:/nasa/sgi/mpt/2.15r20/lib:/nasa/netcdf/4.4.1.1_mpt/lib:/nasa/matlab/2017b71 ./run_createMCC.sh $ISSM_DIR/lib:$ISSM_DIR/externalpackages/gsl/install/lib:$ISSM_DIR/externalpackages/petsc/install/lib:/nasa/intel/Compiler/2016.2.181/mkl/lib/intel64/:/nasa/intel/Compiler/2016.2.181/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64/:/nasa/sgi/mpt/2.15r20/lib:/nasa/netcdf/4.4.1.1_mpt/lib:/nasa/matlab/2017b 64 72 }}} 65 73 Potential Problems: