source: branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.env @ 5286

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

dev_r5092_CNRS_SETTE Major update with clear partition of architecture & user configuration

File size: 900 bytes
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. cfg/user.cfg
10export DIR_WORK  DIR_SCRA  DIR_STOR
11export NEMO_HOME NEMO_BRAN CONF_REFE CONF_TEST
12export DIR_REFE  DIR_TEST
13export DIR_XIOS  DIR_OASI
14export NEMO_FORC FORC_TARF
15
16NEMO_ARCH=${NEMO_HOME}/ARCH         ; NEMO_CONF=${NEMO_HOME}/CONFIG         ; NEMO_ENGI=${NEMO_HOME}/NEMO
17NEMO_EFCM=${NEMO_HOME}/EXTERNAL/fcm ; NEMO_IPSL=${NEMO_HOME}/EXTERNAL/IOIPSL; NEMO_SETT=${NEMO_HOME}/SETTE
18NEMO_TCMP=${NEMO_HOME}/TOOLS/COMPILE
19export NEMO_ARCH NEMO_CONF NEMO_EFCM
20export NEMO_ENGI NEMO_IPSL NEMO_SETT
21export NEMO_TCMP
22
23# Sourcing super-computer configuration
24. cfg/$ARCH.cfg
25export CDO      COMPILER  MPI      NETCDF
26export JOB_SUBM JOB_LIST  JOB_VIEW JOB_DELE
27export NPROC    TIME_LIMI
28export ARCH_ENV
29
30[ ! find ${NEMO_ARCH} -name arch-$ARCH.fcm ] && exit
Note: See TracBrowser for help on using the repository browser.