This is an old revision of the document!
The CLIMAF installation is a special case, because we may want to use it with the Python installed for CDAT, but it is not installed using conda and should theoretically work with any available Python, as long as the directory where it is installed is correctly defined in the PYTHONPATH
variable
We follow the steps for the installation of a non-standard server
cd /home/share/unix_files/cdat
/data/jypmce/cdat/
git clone https://github.com/senesis/climaf climaf
setenv PYTHONPATH ${PYTHONPATH}:/home/share/unix_files/cdat/climaf
export PYTHONPATH=${PYTHONPATH}:/home/share/unix_files/cdat/climaf
/data/jypmce/cdat/climaf
module load netcdf/4 nco cdo ncl ncview
module load netcdf4 nco cdo ncl/6.3.0
cd climaf/testing ./test_install.sh
.basrc
and .cshrc
files. Note: maybe these lines should go to the .profile
and .login
files…(check Bash Startup Files) # Prerequisites for using CLIMAF module load netcdf/4 nco cdo ncl ncview # CLIMAF environment variables setenv CLIMAF /home/share/unix_files/cdat/climaf setenv PYTHONPATH "${PYTHONPATH}:${CLIMAF}" #setenv PYTHONPATH $CLIMAF setenv PATH "${PATH}:${CLIMAF}/bin" setenv CLIMAF_CACHE "/home/scratch01/${USER}/climaf_cache" setenv TMPDIR $CLIMAF_CACHE setenv CLIMAF_LOG_DIR $CLIMAF_CACHE #conda activate cdatm-nightly_py2
# Prerequisites for using CLIMAF when not using the # default 'module load climaf' module load netcdf4 nco cdo ncl/6.3.0 # CLIMAF environment variables export CLIMAF=/data/jypmce/cdat/climaf #export PYTHONPATH=$PYTHONPATH:$CLIMAF export PYTHONPATH=$CLIMAF export PATH=$PATH:$CLIMAF/bin export CLIMAF_CACHE=/data/jypmce/climaf_cache export TMPDIR=$CLIMAF_CACHE export CLIMAF_LOG_DIR=$CLIMAF_CACHE #conda activate cdatm-nightly_py2
We are now ready to start using CLIMAF on ciclad!
[ PMIP3 Wiki Home ] - [ Help! ] - [ Wiki syntax ]