| 1 | == Getting an account == |
| 2 | |
| 3 | You automatically have access to the machine if you are part of Dartmouth's Thayer School of Engineering. |
| 4 | |
| 5 | == ssh configuration == |
| 6 | |
| 7 | Babylon is actually a cluster of 12 independent servers, so you need to first choose on which one you are going to log in. |
| 8 | The status of the cluster usage can be found here : https://cluster-usage.thayer.dartmouth.edu/. |
| 9 | |
| 10 | You can add the following lines to `~/.ssh/config` on your local machine: |
| 11 | {{{ |
| 12 | #!sh |
| 13 | Host babylon babylon?.thayer.dartmouth.edu |
| 14 | Hostname babylon?.thayer.dartmouth.edu |
| 15 | User USERNAME |
| 16 | |
| 17 | }}} |
| 18 | and replace `USERNAME` by your Dartmouth NetID, which is your username. |
| 19 | |
| 20 | Once this is done, you can ssh discovery by simply doing: |
| 21 | |
| 22 | {{{ |
| 23 | #!sh |
| 24 | ssh babylonX |
| 25 | }}} |
| 26 | |
| 27 | with X the number of the machine you want to access |
| 28 | |
| 29 | == Password-less ssh == |
| 30 | |
| 31 | This machine does not support public key authentification |
| 32 | |
| 33 | == Environment == |
| 34 | |
| 35 | On babylon, add the following lines to `~/.bashrc`: |
| 36 | {{{ |
| 37 | #!sh |
| 38 | export ISSM_DIR=PATHTOTRUNK |
| 39 | source $ISSM_DIR/etc/environment.sh |
| 40 | alias ma='matlab -nodesktop -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath;"' |
| 41 | }}} |
| 42 | |
| 43 | ''Log out and log back in'' to apply this change. |
| 44 | |
| 45 | == Installing ISSM on babylon == |
| 46 | |
| 47 | Babylon has both Intel and GNU compilers. Installation should be done with the Intel compilers. You can follow the instructions on the website [http://issm.jpl.nasa.gov/download/unix/]. Choose Petsc v3.15 or later. You should not need Python. |
| 48 | |
| 49 | Use the following configuration script (adapt to your needs): |
| 50 | |
| 51 | {{{ |
| 52 | #!/bin/bash |
| 53 | ./configure \ |
| 54 | CC=icc CXX=icpc F90=ifort FC=ifort \ |
| 55 | --prefix=${ISSM_DIR} \ |
| 56 | --with-numthreads=2 \ |
| 57 | --with-matlab-dir="/thayerfs/apps/matlab/" \ |
| 58 | --with-mpi-include="${ISSM_DIR}/externalpackages/petsc/install/include" \ |
| 59 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpifort -lmpi" \ |
| 60 | --with-metis-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 61 | --with-parmetis-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 62 | --with-blas-lapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 63 | --with-scalapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 64 | --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 65 | --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \ |
| 66 | --with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \ |
| 67 | --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \ |
| 68 | --enable-debugging \ |
| 69 | --enable-development |
| 70 | }}} |
| 71 | |