Changes between Version 16 and Version 17 of pleiadescsh
- Timestamp:
- 05/18/23 17:10:55 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pleiadescsh
v16 v17 17 17 == Environment == 18 18 19 Pleiades uses `csh` and not `bash`,add the following to your `~/.cshrc`:19 Pleiades generally uses `csh` by default instead of `bash`. If you are using the `csh`, then add the following to your `~/.cshrc`: 20 20 {{{ 21 21 … … 29 29 30 30 #Packages 31 module load pkgsrc/2020Q432 31 module load comp-intel/2018.3.222 33 module load mpi-intel/2018.3.22232 module load /nasa/intel/impi/2021.3/modulefiles/mpi/2021.3.0 34 33 35 34 #Set compilers … … 44 43 45 44 '''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' matlab. You can check out ISSM and install the following packages: 46 - PETSc (use the pleiades script install-3.1 4-pleiades.sh or newer)45 - PETSc (use the pleiades script install-3.17-pleiades.sh or newer) 47 46 - m1qn3 48 47 … … 83 82 For Dakota to run, you will not need to remake PETSc and m1qn3, as long as you made them using the intel mpi and the mpi compilers, as described above. 84 83 85 In your `~/.cshrc`, change your loaded packages to remove the pkgsrc. Since pkgsrc loads an incompatible boost, it needs to be removed to build dakota:84 Dakota 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 `~/.cshrc`: 86 85 87 86 {{{ 88 #Packages 89 module load comp-intel/2018.3.222 90 module load mpi-intel/2018.3.222 87 alias python '/usr/bin/python2' 91 88 }}} 92 89 … … 128 125 }}} 129 126 130 Note, if you would like t he 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 `~/.cshrc`:127 Note, 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. 131 128 132 {{{133 #Packages134 module load pkgsrc/2020Q4135 }}}136 129 137 130 == pfe_settings.m == … … 150 143 use your username for the `login` and enter your code path and execution path. These settings will be picked up automatically by matlab when you do `md.cluster=pfe()` 151 144 152 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:145 Make 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: 153 146 154 147 {{{ 155 cluster.modules = {'comp-intel/2018.3.222' ' mpi-intel/2018.3.222' 'scicon/app-tools'};148 cluster.modules = {'comp-intel/2018.3.222' '/nasa/intel/impi/2021.3/modulefiles/mpi/2021.3.0' 'scicon/app-tools'}; 156 149 }}} 157 150