Changes between Version 2 and Version 3 of gscc
- Timestamp:
- 12/09/20 14:29:12 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
gscc
v2 v3 52 52 }}} 53 53 54 == Environment == 55 56 On '''Greenplanet''', add the following lines to `~/.bashrc`: 57 {{{ 58 #!sh 59 export ISSM_DIR=PATHTOTRUNK 54 == Installing ISSM == 55 56 We will install ISSM within an Anaconda environment on GSCC. To install Anaconda3 run 57 58 {{{ 59 #!sh 60 wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh 61 chmod 755 Anaconda3-2020.11-Linux-x86_64.sh 62 ./Anaconda3-2020.11-Linux-x86_64.sh 63 }}} 64 65 Answer no at the final prompt. Activate Anaconda by typing. 66 67 {{{ 68 #!sh 69 source ~/anaconda3/bin/activate 70 }}} 71 72 Copy ISSM files on your home directory on GSCC, add the following lines to your `~/.bashrc` on GSCC: 73 {{{ 74 #!sh 75 module unload rocks-openmpi 76 export ISSM_DIR=/home/USERNAME/trunk-jpl/ 77 export CONDA_DIR=/home/USERNAME/anaconda3/envs/test/ 60 78 source $ISSM_DIR/etc/environment.sh 61 ml intel/2018.3 openmpi/3.1.2-slim 62 }}} 63 64 ''Log out and log back in'' to apply this change. 79 }}} 80 81 Create a file called environment.yml with the following contents: 82 83 {{{ 84 name: issm 85 channels: 86 - conda-forge 87 - dbanas 88 dependencies: 89 - python=3.7 90 - gcc_linux-64 91 - gxx_linux-64 92 - fortran-compiler 93 - petsc=3.12 94 - numpy 95 - scipy 96 - matplotlib 97 - cmake 98 - libtool 99 - lapack 100 - netcdf4 101 - triangle 102 - chaco 103 - mpi 104 }}} 105 106 Make sure that Anaconda is activated and do 65 107 66 108 == Installing ISSM on Greenplanet ==