Changes between Version 15 and Version 16 of totten
- Timestamp:
- 04/09/24 05:34:43 (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
totten
v15 v16 10 10 }}} 11 11 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. 12 and replace `YOURUSERNAME` by your totten username. This is were you should install ISSM and create your "projects" directory. 17 13 18 14 == ssh configuration == … … 74 70 source $ISSM_DIR/etc/environment.sh 75 71 #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;"' 72 alias 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;"' 78 73 }}} 79 Feel free to remov inganything that you may have by default in this file.74 Feel free to remove anything that you may have by default in this file. 80 75 ''Log out and log back in'' to apply this change. 81 76 … … 84 79 You can follow the instructions on the website [http://issm.jpl.nasa.gov/download/unix/]. You will need to install the following packages: 85 80 * autotools 86 * petsc (take the latest version 3. 16or later)81 * petsc (take the latest version 3.20 or later) 87 82 * triangle 88 83 * m1qn3 … … 95 90 --without-kml \ 96 91 --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" \ 106 102 --with-numthreads=32 \ 107 103 --enable-development \ 108 104 --enable-debugging 109 105 }}} 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.115 106 116 107 == Run Jupyter Notebook on totten == … … 147 138 --without-Love \ 148 139 --without-Sealevelchange \ 149 --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \150 140 --with-matlab-dir="/usr/local/MATLAB/R2021b" \ 151 141 --with-mpi-include=$ISSM_DIR/externalpackages/petsc/install/include \ 152 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpi cxx -lmpifort"\142 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/petsc/install/lib -lmpi -lmpifort"\ 153 143 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ 154 144 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/ \