| 1 | == Environment == |
| 2 | |
| 3 | Maui uses `bash` as default shell. Add the following to your `~/.bashrc`: |
| 4 | {{{ |
| 5 | #!sh |
| 6 | #ISSM |
| 7 | export ISSM_DIR=/nesi/project/nesiXXXXX/issm/trunk-jpl |
| 8 | source $ISSM_DIR/etc/environment.sh |
| 9 | |
| 10 | #Packages |
| 11 | module swap PrgEnv-cray PrgEnv-intel |
| 12 | }}} |
| 13 | |
| 14 | And replace `ISSM_DIR` with your actual trunk. ''Log out and log back in'' to apply this change (or source your `~/.bashrc`) |
| 15 | |
| 16 | == Installing ISSM on Maui == |
| 17 | |
| 18 | Maui will ''only'' be used to run the code, you will use your local machine for pre and post processing, you will never use Maui's MATLAB. You can check out ISSM and install the following package: |
| 19 | - m1qn3 (use install-maui.sh) |
| 20 | |
| 21 | Use the following configuration script (adapt to your needs): |
| 22 | {{{ |
| 23 | #!sh |
| 24 | export CXX=CC |
| 25 | export CC=cc |
| 26 | export FC=ftn |
| 27 | ./configure \ |
| 28 | --prefix=$ISSM_DIR \ |
| 29 | --with-wrappers=no \ |
| 30 | --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \ |
| 31 | --with-petsc-dir="$PETSC_DIR" \ |
| 32 | --with-metis-dir="$CRAY_TPSL_PREFIX_DIR" \ |
| 33 | --with-mumps-dir="$CRAY_TPSL_PREFIX_DIR" \ |
| 34 | --with-mpi-include="$CRAY_MPICH2_DIR/include" \ |
| 35 | --with-mpi-libflags="-L$CRAY_MPICH2_DIR/lib -lmpich -lmpl -lfmpich -lmpichcxx -lmpichf90" \ |
| 36 | --without-kriging \ |
| 37 | --without-kml \ |
| 38 | --without-Gia \ |
| 39 | --without-Love \ |
| 40 | --enable-development |
| 41 | }}} |