CABLE-LSM / benchcab

Tool for evaluation of CABLE land surface model
https://benchcab.readthedocs.io/en/latest/
Apache License 2.0
2 stars 3 forks source link

Excessive output in job script from `set -ex` #174

Closed SeanBryan51 closed 11 months ago

SeanBryan51 commented 11 months ago

The PBS job script produces a lot of excessive output from the module purge and module load <module> commands. This can be fixed easily by enabling the set options after the module commands.

I also propose using set -ev since the job script is not complex.

See here for man pages on the set builtin.

To reproduce:

#!/bin/bash
bench_example_dir='bench_example_test_AU-Tum_experiment'
rm -rf $bench_example_dir
git clone git@github.com:CABLE-LSM/bench_example.git $bench_example_dir
cd $bench_example_dir
git reset --hard 6287539e96fc8ef36dc578201fbf9847314147fb
cat > config.yaml << EOL
project: tm70

experiment: AU-Tum

realisations:
  - path: trunk

modules: [
  intel-compiler/2021.1.1,
  netcdf/4.7.4,
  openmpi/4.1.0
]
EOL
benchcab run -v
ccarouge commented 11 months ago

Agree! I was just coming here to say the same thing!

ccarouge commented 11 months ago

Hey team! Please add your planning poker estimate with Zenhub @bschroeter @SeanBryan51