#! /bin/sh if [ $# -ne 1 ] then echo "============================================" echo " NEED TO ENTER AN OPTION: " echo " " echo " conf zeus (for R&D Machine zeus) " echo " conf wcoss (for tide/gyre) " echo " " exit fi set -x if [ $1 == "zeus" -o $1 == "wcoss" ] then cp arch/preamble.${1} arch/preamble else set +x echo "bad option " $1 echo " needs to be zeus or wcoss, otherwise develop a new arch/preamble.${1} file" set -x fi set +x if [ $1 == "wcoss" ] then echo "be sure to module load NetCDF/3.6.3" fi