#!/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 releases/2023a module load netCDF-Fortran netCDF-C++4 ncview CDO 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