#  $ ./sette.sh
#
#
# TODO
# ====
#
# option debug
#
#
# EVOLUTIONS
# ==========
#
# $Id: sette.sh 2158 2010-10-28 12:30:03Z sflod $
#
#
#
#   * creation
#
#-
#
SETTE_DIR=/usr/temp/sflod/NEMOGCM/SETTE

cd ${SETTE_DIR}
. ../CONFIG/makenemo -m ifort_linux -n GYRE_1_1 -r GYRE
cd ${SETTE_DIR}
. param.cfg
. all_function.sh
set_namelist nn_it000 1
set_namelist nn_itend 75
cd ${SETTE_DIR}
#TMPDIR=/workdir/rech/eee/reee605/NEMOGCM/GYRE_1_1/EXP00
. ./fcm_job.sh input_GYRE.cfg 1

echo "FINITA LA PRIMA PARTE"
sleep 5
echo "stampo il valore di x_n : ${x_n}"
unset -v x_n
echo "stampo il valore dopo unset : ${x_n}"
echo "aspetto un carattere x continuare!"
read a

cd ${SETTE_DIR}
. ../CONFIG/makenemo -n ORCA2_LIM_1_2 add_key "key_mpp_mpi key_nproci=1 key_nprocj=2"
#. ../CONFIG/makenemo -n help
echo "sei in"
echo "`pwd`"
cd ${SETTE_DIR}
. param.cfg
. all_function.sh
set_namelist nn_it000 1
set_namelist nn_itend 75
cd ${SETTE_DIR}
#TMPDIR=/workdir/rech/eee/reee605/NEMOGCM/ORCA2_LIM_1_2/EXP00
. ./fcm_job.sh input_ORCA2_LIM.cfg 2

echo "FINITA LA SECONDA PARTE"
