Installing Titan mesoscale model on spirit
From Planets
Revision as of 15:20, 2 January 2024 by Emoisan (talk | contribs) (Created page with "== Install FCM == On your home, do: <syntaxhighlight lang="Bash"> mkdir TOOLS cd TOOLS svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2 cd vi .bash_profil...")
Install FCM
On your home, do:
mkdir TOOLS
cd TOOLS
svn checkout https://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2
cd
vi .bash_profile
In your ~/.bash_profile, add:
export PATH=$PATH:$HOME/TOOLS/FCM_V1.2/bin
Configure your ~/.bashrc
In your ~/bashrc, add:
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
ulimit -s unlimited
declare -x PATH=./:$PATH
declare -x WRFIO_NCD_LARGE_FILE_SUPPORT=1
module purge
module load intel/2021.4.0
module load intel-mkl/2020.4.304
module load openmpi/4.0.7
module load hdf5/1.10.7-mpi
module load netcdf-fortran/4.5.3-mpi
module load netcdf-c/4.7.4-mpi
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/
declare -x NETCDF=/scratchu/spiga/les_mars_project_spirit/netcdf_hacks/SPIRIT
declare -x NCDFLIB=$NETCDF/lib
declare -x NCDFINC=$NETCDF/include
Add private key
If you don't have one already, you need to add a private key file on your home, that corresponds to the public key file you have on GitLab. To do this, put your id_rsa file in the directory ~/.ssh/. Then, change the rights to the file, so that only you can access and read it:
chmod go-r ~./ssh/id_rsa