Changes between Version 40 and Version 41 of pleiadesbash


Ignore:
Timestamp:
05/18/23 17:10:26 (2 years ago)
Author:
schlegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pleiadesbash

    v40 v41  
    2626
    2727#Packages
    28 module load pkgsrc/2020Q4
    2928module load comp-intel/2018.3.222
    30 module load mpi-intel/2018.3.222
     29module load /nasa/intel/impi/2021.3/modulefiles/mpi/2021.3.0
    3130
    3231#Set compilers
     
    4342'''Do NOT install mpich'''. We have to use the one provided by NAS. Pleiades will ''only'' be used to run the code, you will use your local machine for pre- and post- processing, you will never use Pleiades' copy of MATLAB. You can check out ISSM and install the following packages:
    4443 - m1qn3
    45  - PETSc (use `install-3.14-pleiades.sh` or newer)
     44 - PETSc (use `install-3.17-pleiades.sh` or newer)
    4645
    4746For documentation on the Pleiades cluster, see here: http://www.nas.nasa.gov/hecc/support/kb/
     
    8079You will not need to remake PETSc and m1qn3, as long as you made them using the Intel MPI libraries and compilers, as described above.
    8180
    82 In `~/.bashrc`, change your loaded packages to remove pkgsrc (it loads an incompatible copy of Boost and needs to be removed in order to build Dakota):
    83 
    84 {{{
    85 #Packages
    86 module load comp-intel/2018.3.222
    87 module load mpi-intel/2018.3.222
     81Dakota will require that you have a python that is of version python2. The easiest way to do this is to define an alias for python that calls `/usr/bin/python2` in your `~/.bashrc`:
     82
     83{{{
     84alias python="/usr/bin/python2"
    8885}}}
    8986
     
    124121}}}
    125122
    126 Note, if you would like the capabilities of pkgsrc/2020Q4, including updated svn, make sure that you build dakota without that package loaded.  Once you have ISSM compiled and installed with dakota, feel free to add back in to your `~/.bashrc`:
    127 
    128 {{{
    129 #Packages
    130 module load pkgsrc/2020Q4
    131 }}}
     123Note, if you would like to use the python 3 version that loads in the environment, you will need to call `python3` to do so, as long as the python alias is set to python2.
    132124
    133125NOTE: Refer to jenkins/pleiades-dakota for external packages and configuration updates that may not yet be listed here.
     
    137129The required external packages and configuration of ISSM with Solid Earth capabilities is similar to building ISSM with Dakota. You will not need to remake PETSc and m1qn3, as long as you made them using the Intel MPI libraries and compilers, as described above.
    138130
    139 In `~/.bashrc`, change your loaded packages to remove pkgsrc (it loads an incompatible copy of Boost and needs to be removed in order to build Dakota):
    140 
    141 {{{
    142 #Packages
    143 module load comp-intel/2018.3.222
    144 module load mpi-intel/2018.3.222
    145 }}}
    146 
    147 Then, ''log out and log back in'' and build the following external packages:
     131Then, build the following external packages:
    148132 - zlib, install-1.sh
    149133 - hdf5, install-1-parallel.sh
     
    160144 - gmsh, install-4.sh
    161145
    162 Finally, you will need to use the following configuration script (i.e. adding the "with" lines for Dakota and Boost):
     146Finally, you will need to use the following configuration script (i.e. adding the "with" lines for the needed packages):
    163147
    164148{{{
     
    254238use your username for the `login` and enter your code path and execution path. Be sure to create the final execution directory (mkdir) within the nobackup folder. These settings will be picked up automatically by matlab when you do `md.cluster=pfe()`.
    255239
    256 Make sure your module list includes scicon/app-tools, comp-intel/2018.3.222, and mpi-intel/2018.3.222. You can specify your own list of modules by adding to `pfe_settings.m`, for example:
    257 
    258 {{{
    259 cluster.modules = {'comp-intel/2018.3.222' 'mpi-intel/2018.3.222' 'scicon/app-tools'};
     240Make sure your module list includes scicon/app-tools, comp-intel/2018.3.222, and /nasa/intel/impi/2021.3/modulefiles/mpi/2021.3.0. You can specify your own list of modules by adding to `pfe_settings.m`, for example:
     241
     242{{{
     243cluster.modules = {'comp-intel/2018.3.222' '/nasa/intel/impi/2021.3/modulefiles/mpi/2021.3.0' 'scicon/app-tools'};
    260244}}}
    261245