| 1 | == Environment == |
| 2 | |
| 3 | pleiades uses `csh`, add the following to your `~/.cshrc`: |
| 4 | {{{ |
| 5 | #!sh |
| 6 | |
| 7 | #ISSM |
| 8 | setenv ISSM_DIR /home1/mmorligh/issm/trunk/ |
| 9 | source $ISSM_DIR/etc/environment.csh |
| 10 | |
| 11 | #Packages |
| 12 | module load intel-cc/15.0.3.187 |
| 13 | module load intel-fc/15.0.3.187 |
| 14 | module load intel-mkl/15.0.3.187 |
| 15 | module load fftw3-mkl/15.0.3.187 |
| 16 | module load openmpi/1.10.2 |
| 17 | module load cmake/3.4.0 |
| 18 | module load petsc/3.6.3 |
| 19 | module load scotch/6.0.0_esmumps |
| 20 | module load metis/5.1.0 |
| 21 | |
| 22 | MPI_LINK_FLAGS=$(mpicc --showme:link) |
| 23 | }}} |
| 24 | |
| 25 | And replace `ISSM_DIR` with your actual trunk. ''Log out and log back in'' to apply this change. |
| 26 | |
| 27 | == Installing ISSM on Raijin == |
| 28 | |
| 29 | Raijin will ''only'' be used to run the code, you will use your local machine for pre and post processing, you will never use Raijin's matlab. You can check out ISSM and install the following package: |
| 30 | - m1qn3 |
| 31 | |
| 32 | Use the following configuration script (adapt to your needs): |
| 33 | {{{ |
| 34 | #!sh |
| 35 | ./configure \ |
| 36 | --prefix=$ISSM_DIR \ |
| 37 | --with-wrappers=no \ |
| 38 | --with-mpi-include="." \ |
| 39 | --with-mpi-libflags="" \ |
| 40 | --with-petsc-dir="/apps/petsc/3.6.3" \ |
| 41 | --with-metis-dir="/apps/metis/5.1.0" \ |
| 42 | --with-mumps-dir="/apps/petsc/3.6.3" \ |
| 43 | --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \ |
| 44 | --enable-development \ |
| 45 | --with-numthreads=16 \ |
| 46 | CC=mpicc CXX=mpic++ F77=mpif77 F90=mpif90 |
| 47 | }}} |