12345678910111213141516171819202122232425 |
- #!/bin/bash
- [[ -z "$USER" ]] && echo "!! USER variable not set !!"
- echo " "
- echo "Plasim environment"
- if [ `hostname` = "coriolis" ]; then
- [[ -z "$GLOBALSCRATCH" ]] && GLOBALSCRATCH="/cofast/$USER"
- echo "Coriolis"
- module purge
- module load netCDF-Fortran/4.5.3-gompi-2021b netCDF-C++4/4.3.1-gompi-2021b ncview/2.1.8-gompi-2021b CDO/1.9.10-gompi-2021b
- module list
- fi
- if [[ $(hostname -s) == mb-* || $(hostname -s) == mback* ]]; then
- hostname
- [[ -z "$GLOBALSCRATCH" ]] && GLOBALSCRATCH="/globalscratch/ucl/elic/$USER"
- module purge
- module load releases/2018b
- module load netCDF-C++4/4.3.0-intel-2018b netCDF-Fortran/4.4.4-intel-2018b
- module load UDUNITS/2.2.26-intel-2018b
- module load NCO/4.7.9-intel-2018b
- module load CDO/1.9.5-intel-2018b
- fi
|