Changeset 5420 for BOL/LMDZ_Setup
- Timestamp:
- Dec 18, 2024, 1:04:30 AM (22 hours ago)
- Location:
- BOL/LMDZ_Setup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup/lmdz_env.sh
r5415 r5420 9 9 10 10 # <root_dir> will be set by sed by setup.sh here 11 root_dir=/home/ abarral/PycharmProjects/installLMDZ/LMDZ_Setup11 root_dir=/home/hourdin/TMP/LMDZ_Setup 12 12 13 13 function get_hostname { … … 43 43 account="lmd" # $(idrproj | grep active | awk '{ print $1}') doesn't work on compute nodes 44 44 ARCH="X64_JEANZAY_PBIOIPSL" 45 SIMRUNBASEDIR="$SCRATCH/ "45 SIMRUNBASEDIR="$SCRATCH/$(basename $root_dir)" 46 46 LMDZD="$root_dir/LMDZD" 47 47 LMDZ_INIT="$root_dir/LMDZ_Init" … … 61 61 62 62 ARCH="X64_MESOIPSL-GNU" 63 SIMRUNBASEDIR="$SCRATCH/ "63 SIMRUNBASEDIR="$SCRATCH/$(basename $root_dir)" 64 64 LMDZD="$root_dir/LMDZD" 65 65 LMDZ_INIT="$HOME/LMDZ_Init" … … 98 98 account=$(/usr/sbin/my_project.py -l 2>&1 | head -1 | cut -d " " -f 3- | cut -c 5-) 99 99 ARCH="X64_ADASTRA-GNU" 100 SIMRUNBASEDIR="$SCRATCHDIR/ "100 SIMRUNBASEDIR="$SCRATCHDIR/$(basename $root_dir)" 101 101 LMDZD="$root_dir/LMDZD" 102 102 LMDZ_INIT="$WORKDIR/LMDZ_Init" … … 112 112 *) echo "WARNING: RUNNING THIS SCRIPT ON A LOCAL COMPUTER IS DISCOURAGED (lackluster cpus and memory)" 113 113 ARCH="local-gfortran-parallel" # The arch file to use 114 SIMRUNBASEDIR=" /tmp/SCRATCH/" # Where the simulations will be executed ($SIMRUNBASEDIR/LMDZ_Setup/...)114 SIMRUNBASEDIR="$root_dir/SCRATCH/" # Where the simulations will be executed ($SIMRUNBASEDIR/LMDZ_Setup/...) 115 115 LMDZD="$root_dir/LMDZD" # Where the sources will be downloaded and compiled 116 116 LMDZ_INIT="$HOME/LMDZ_Init" # Where to store shared files used for initialisation. Should be outside the LMDZ_Setup dir since it's shared between several LMDZ_Setup. -
BOL/LMDZ_Setup/script_SIMU
r5415 r5420 77 77 78 78 # Repertoires de travail 79 WWORKD=$SCRATCHD/$ SIMU_dir$$79 WWORKD=$SCRATCHD/$simul$$ 80 80 if [[ -d $WWORKD ]]; then # useful when running on local computer, where jobs aren't submitted 81 81 rm -rf "$WWORKD" -
BOL/LMDZ_Setup/setup.sh
r5415 r5420 380 380 381 381 function setup_simu() { 382 SIMRUNTOPDIR="$SIMRUNBASEDIR/$(basename "$local")" 382 #SIMRUNTOPDIR="$SIMRUNBASEDIR/$(basename "$local")" 383 SIMRUNTOPDIR="$SIMRUNBASEDIR" 383 384 SIMRUNDIR=$SIMRUNTOPDIR 384 385 mkdir -p "$SIMRUNDIR"
Note: See TracChangeset
for help on using the changeset viewer.