80 | | 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. |
81 | | |
82 | | In your `~/.bashrc`, change your loaded packages to remove the pkgsrc. Since pkgsrc loads an incompatible boost, it needs to be removed to build dakota: |
| 80 | 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. |
| 81 | |
| 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): |
| 133 | NOTE: Refer to jenkins/pleiades-dakota for external packages and configuration updates that may not yet be listed here. |
| 134 | |
| 135 | == Installing ISSM on Pleiades with Solid Earth Capabilities == |
| 136 | |
| 137 | The 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. |
| 138 | |
| 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 | #Packages |
| 142 | module load comp-intel/2018.3.222 |
| 143 | module load mpi-intel/2018.3.222 |
| 144 | }}} |
| 145 | |
| 146 | Then, ''log out and log back in'' and build the following external packages: |
| 147 | - zlib, install-1.sh |
| 148 | - hdf5, install-1-parallel.sh |
| 149 | - gsl, install-pleiades.sh |
| 150 | - boost, install-1.55-pleiades.sh |
| 151 | - dakota, install-6.2-pleiades.sh |
| 152 | - curl, install-7-linux.sh |
| 153 | - netcdf, install-4.7-parallel.sh |
| 154 | - sqlite, install.sh |
| 155 | - proj, install-6.sh |
| 156 | - gdal, install-3.sh |
| 157 | - gshhg, install.sh |
| 158 | - gmt, install-6-linux.sh |
| 159 | - gmsh, install-4.sh |
| 160 | |
| 161 | Finally, you will need to use the following configuration script (i.e. adding the "with" lines for Dakota and Boost): |
| 162 | |
| 163 | {{{ |
| 164 | #!sh |
| 165 | ./configure \ |
| 166 | --prefix=$ISSM_DIR \ |
| 167 | --enable-development \ |
| 168 | --enable-standalone-libraries \ |
| 169 | --with-wrappers=no \ |
| 170 | --with-vendor="intel-pleiades-mpi" \ |
| 171 | --with-cxxoptflags="-O3 " \ |
| 172 | --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 173 | --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \ |
| 174 | --with-boost-dir="${ISSM_DIR}/externalpackages/boost/install" \ |
| 175 | --with-dakota-dir="${ISSM_DIR}/externalpackages/dakota/install" \ |
| 176 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \ |
| 177 | --with-mpi-include=" " \ |
| 178 | --with-mpi-libflags=" -lmpi" \ |
| 179 | --with-mkl-libflags="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \ |
| 180 | --with-metis-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 181 | --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \ |
| 182 | --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 183 | --with-scalapack-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so" \ |
| 184 | --with-graphics-lib="/usr/lib64/libX11.so" \ |
| 185 | --with-fortran-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -lifcore -lifport -lgfortran" \ |
| 186 | }}} |
| 187 | |
| 188 | Again, you will need to run the following command before configuring ISSM: |
| 189 | |
| 190 | {{{ |
| 191 | cd $ISSM_DIR |
| 192 | autoreconf -ivf |
| 193 | }}} |
| 194 | |
| 195 | NOTE: Refer to jenkins/pleiades-solid_earth for external packages and configuration updates that may not yet be listed here. |