Changes between Initial Version and Version 1 of babylon


Ignore:
Timestamp:
08/24/21 08:11:03 (3 years ago)
Author:
seroussi
Comment:

Added page for Babylon compilation

Legend:

Unmodified
Added
Removed
Modified
  • babylon

    v1 v1  
     1== Getting an account ==
     2
     3You automatically have access to the machine if you are part of Dartmouth's Thayer School of Engineering.
     4
     5== ssh configuration ==
     6
     7Babylon is actually a cluster of 12 independent servers, so you need to first choose on which one you are going to log in.
     8The status of the cluster usage can be found here : https://cluster-usage.thayer.dartmouth.edu/.
     9
     10You can add the following lines to `~/.ssh/config` on your local machine:
     11{{{
     12#!sh
     13Host babylon babylon?.thayer.dartmouth.edu
     14   Hostname babylon?.thayer.dartmouth.edu
     15   User USERNAME
     16
     17}}}
     18and replace `USERNAME` by your Dartmouth NetID, which is your username.
     19
     20Once this is done, you can ssh discovery by simply doing:
     21
     22{{{
     23#!sh
     24ssh babylonX
     25}}}
     26
     27with X the number of the machine you want to access
     28
     29== Password-less ssh ==
     30
     31This machine does not support public key authentification
     32
     33== Environment ==
     34
     35On babylon, add the following lines to `~/.bashrc`:
     36{{{
     37#!sh
     38export ISSM_DIR=PATHTOTRUNK
     39source $ISSM_DIR/etc/environment.sh
     40alias 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
     47Babylon 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
     49Use 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