6. Regional: Preparing your configuration#
To prepare your configuration working directory, you can use the script create_config.bash
provided in CROCO sources:
cp ~/croco/croco/create_config.bash ~/CONFIGS/.
Edit your paths and settings in create_config.bash
:
#==========================================================================================
# BEGIN USER MODIFICATIONS
# Machine you are working on
# Known machines: Linux DATARMOR IRENE JEANZAY
# ---------------------------------------------
MACHINE="Linux"
# CROCO parent directory
# (where croco_tools directory and croco source directory can be found)
# -----------------
CROCO_DIR=~/croco/croco
TOOLS_DIR=~/croco/croco_tools
# Configuration name
# ------------------
MY_CONFIG_NAME=BENGUELA_LR
# Home and Work configuration directories
# ---------------------------------------
MY_CONFIG_HOME=~/CONFIGS
MY_CONFIG_WORK=~/CONFIGS
# Options of your configuration
models_incroco=( all-prod )
Run create_config.bash
:
./create_config.bash
A directory named BENGUEAL_LR should be created.
You can also manually create your configuration directory, by copying the required files from croco sources:
mkdir ~/CONFIGS/BENGUELA_LR
cd ~/CONFIGS/BENGUELA_LR
# For pre-processing:
cp ~/croco/croco_tools/crocotools_param.m .
cp ~/croco/croco_tools/start.m .
# For compiling
cp ~/croco/croco/OCEAN/cppdefs.h .
cp ~/croco/croco/OCEAN/param.h .
cp ~/croco/croco/OCEAN/jobcomp .
# For running
cp ~/croco/croco/OCEAN/croco.in .
In your configuration working directory, you need at least the following files:
For preprocessing:
crocotools_param.m
start.m
For compiling:
param.h
cppdefs.h
jobcomb
For running:
croco.in