source: branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting.env @ 5292

Last change on this file since 5292 was 5292, checked in by nicolasmartin, 6 years ago

dev_r5092_CNRS_SETTE Standalone TRUST directory for regular NEMO configuration testing

File size: 1.2 KB
Line 
1#!/bin/bash
2
3
4# Time-stamp
5date_test=$( date )
6export DATE_STR=$( LC_ALL=C date -d"${date_test}" +%Y%m%dT%H%M )
7
8# Sourcing user configuration
9[ ! find ./cfg        -name ${CFG_USER}.cfg ] && { echo 'No configuration file in ./cfg for '${CFG_USER}; exit; }
10. cfg/${CFG_USER}.cfg
11export DIR_WORK  DIR_SCRA  DIR_STOR
12export NEMO_HOME NEMO_BRAN CONF_REFE CONF_TEST
13export DIR_REFE  DIR_TEST
14export DIR_XIOS  DIR_OASI
15export NEMO_FORC FORC_TARF
16
17NEMO_ARCH=${NEMO_HOME}/ARCH         ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO
18NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm ; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_TRUS=${NEMO_HOME}/SETTE
19NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE
20export NEMO_ARCH NEMO_CONF NEMO_EFCM
21export NEMO_ENGI NEMO_IPSL NEMO_TRUS
22export NEMO_TCMP
23
24# Sourcing super-computer configuration
25[ ! find ./cfg        -name ${CFG_ARCH}.cfg ] && { echo 'No configuration file in ./cfg for '${CFG_ARCH}; exit; }
26. cfg/${CFG_ARCH}.cfg
27export CDO      COMPILER  MPI      NETCDF
28export JOB_SUBM JOB_LIST  JOB_VIEW JOB_DELE
29export NPROC    TIME_LIMI
30export ARCH_ENV
31
32[ ! find ${NEMO_ARCH} -name arch-$ARCH.fcm  ] && { echo 'No fcm file in '${NEMO_ARCH}' for '$ARCH       ; exit; }
Note: See TracBrowser for help on using the repository browser.