Difference between revisions of "Installing Mars mesoscale model on spirit"

From Planets
Jump to: navigation, search
(Created page with "== Set up environment == Add this in your .bashrc <syntaxhighlight lang="Bash" line> module purge module load intel/2021.4.0 module load intel-mkl/2020.4.304 module load op...")
 
(Set up environment)
Line 1: Line 1:
 
== Set up environment ==
 
== Set up environment ==
  
Add this in your .bashrc  
+
Add this in your ~/.bashrc  
  
 
<syntaxhighlight lang="Bash" line>
 
<syntaxhighlight lang="Bash" line>

Revision as of 16:23, 23 January 2023

Set up environment

Add this in your ~/.bashrc

 1 module purge
 2 module load intel/2021.4.0
 3 module load intel-mkl/2020.4.304
 4 module load openmpi/4.0.7
 5 module load hdf5/1.10.7-mpi
 6 module load netcdf-fortran/4.5.3-mpi
 7 module load netcdf-c/4.7.4-mpi
 8 declare -x WHERE_MPI=/net/nfs/tools/u20/22.3/PrgEnv/intel/linux-ubuntu20.04-zen2/openmpi/4.0.7-intel-2021.4.0-43fdcnab3ydwu7ycrplnzlp6xieusuz7/bin/
 9 declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT
10 declare -x NCDFLIB=$NETCDF/lib
11 declare -x NCDFINC=$NETCDF/include