Changes between Version 2 and Version 3 of gscc


Ignore:
Timestamp:
12/09/20 14:29:12 (4 years ago)
Author:
downs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gscc

    v2 v3  
    5252}}}
    5353
    54 == Environment ==
    55 
    56 On '''Greenplanet''', add the following lines to `~/.bashrc`:
    57 {{{
    58 #!sh
    59 export ISSM_DIR=PATHTOTRUNK
     54== Installing ISSM ==
     55
     56We will install ISSM within an Anaconda environment on GSCC. To install Anaconda3 run
     57
     58{{{
     59#!sh
     60wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
     61chmod 755 Anaconda3-2020.11-Linux-x86_64.sh
     62./Anaconda3-2020.11-Linux-x86_64.sh
     63}}}
     64
     65Answer no at the final prompt. Activate Anaconda by typing.
     66
     67{{{
     68#!sh
     69source ~/anaconda3/bin/activate
     70}}}
     71
     72Copy ISSM files on your home directory on GSCC, add the following lines to your `~/.bashrc` on GSCC:
     73{{{
     74#!sh
     75module unload rocks-openmpi
     76export ISSM_DIR=/home/USERNAME/trunk-jpl/
     77export CONDA_DIR=/home/USERNAME/anaconda3/envs/test/
    6078source $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
     81Create a file called environment.yml with the following contents:
     82
     83{{{
     84name: issm
     85channels:
     86  - conda-forge
     87  - dbanas
     88dependencies:
     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
     106Make sure that Anaconda is activated and do
    65107
    66108== Installing ISSM on Greenplanet ==