Changes between Version 15 and Version 16 of totten


Ignore:
Timestamp:
04/09/24 05:34:43 (10 months ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • totten

    v15 v16  
    1010}}}
    1111
    12 and replace `YOURUSERNAME` by your totten username. This is were you should checkout ISSM and create your "projects" directory.
    13 
    14 == Getting an account ==
    15 
    16 First, you need to send an email to Mathieu and Ed and request an account.
     12and replace `YOURUSERNAME` by your totten username. This is were you should install ISSM and create your "projects" directory.
    1713
    1814== ssh configuration ==
     
    7470source $ISSM_DIR/etc/environment.sh
    7571#MATLAB alias
    76 export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0" #Bug with MATLAB, issmversion gets a bunch of undefined symbols
    77 alias ma='matlab -nodesktop -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath;"'
     72alias ma='LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libgfortran.so.5:$ISSM_DIR/externalpackages/petsc/install/lib/libmpi.so:$ISSM_DIR/externalpackages/petsc/install/lib/libmpifort.so  /usr/local/MATLAB/R2023b/bin/matlab -nodesktop -nosplash -r "addpath $ISSM_DIR/src/m/dev; devpath;"'
    7873}}}
    79 Feel free to removing anything that you may have by default in this file.
     74Feel free to remove anything that you may have by default in this file.
    8075''Log out and log back in'' to apply this change.
    8176
     
    8479You can follow the instructions on the website [http://issm.jpl.nasa.gov/download/unix/]. You will need to install the following packages:
    8580 * autotools
    86  * petsc (take the latest version 3.16 or later)
     81 * petsc (take the latest version 3.20 or later)
    8782 * triangle
    8883 * m1qn3
     
    9590    --without-kml \
    9691    --with-matlab-dir="/usr/local/MATLAB/R2021b" \
    97     --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
    98     --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
    99     --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    100     --with-mpi-include=$ISSM_DIR/externalpackages/petsc/install/include  \
    101     --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort"\
    102     --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    103     --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
    104     --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/ \
    105     --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
     92    --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
     93    --with-metis-dir="$ISSM_DIR/externalpackages/petsc/install" \
     94    --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
     95    --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include" \
     96    --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpifort"\
     97    --with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
     98    --with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
     99    --with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install/" \
     100    --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \
     101    --with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \
    106102    --with-numthreads=32 \
    107103    --enable-development \
    108104    --enable-debugging
    109105}}}
    110 
    111 
    112 == Python and Openssh ==
    113 In order to install gdal, you need to install the python from the externalpackages.
    114 Once that is done, unset the PYTHON-related variables in etc/environment.sh, because this python installation causes future issues with other packages, e.g. PETSC.
    115106
    116107== Run Jupyter Notebook on totten ==
     
    147138   --without-Love \
    148139   --without-Sealevelchange \
    149    --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
    150140   --with-matlab-dir="/usr/local/MATLAB/R2021b" \
    151141   --with-mpi-include=$ISSM_DIR/externalpackages/petsc/install/include  \
    152    --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort"\
     142   --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpifort"\
    153143   --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
    154144   --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/ \