Changes between Version 5 and Version 6 of mccpfe


Ignore:
Timestamp:
09/30/20 13:17:28 (4 years ago)
Author:
tpelle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mccpfe

    v5 v6  
    1313deps = [];
    1414for 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
    1624end
    1725
     
    2533
    2634Note the following potential problems:
    27  * mcc needs to see all the m files and 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.
    2937
    3038== Submit a job ==
     
    4351
    4452#load modules
    45 module load comp-intel/2016.2.181
    46 module load mpi-sgi/mpt
     53module load comp-intel/2018.3.222
     54module load mpi-hpe/mpt.2.17r13
    4755module load matlab/2017b
    4856module load netcdf/4.4.1.1_mpt
     
    6169
    6270#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/2017b
     71./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
    6472}}}
    6573Potential Problems: