Mercurial > repos > siwaa > stics4carsolel
diff stics4carsolel.bash @ 2:5e581bfc5341 draft
"planemo upload for repository https://forgemia.inra.fr/record/carsolel/-/tree/master/tools commit c44e3ffa39b80279cb3226522f2b4f95f737e061"
author | siwaa |
---|---|
date | Fri, 28 Jan 2022 13:09:49 +0000 |
parents | bf2d7f74d5ba |
children | 6a77442a3598 |
line wrap: on
line diff
--- a/stics4carsolel.bash Mon Nov 22 15:15:08 2021 +0000 +++ b/stics4carsolel.bash Fri Jan 28 13:09:49 2022 +0000 @@ -3,6 +3,7 @@ n_slots=${1}; csv_plan=${2}; +meteo_archive=${4}; sim_number=$(($(cat ${csv_plan} | wc -l) - 1)); b_size=1 @@ -12,6 +13,15 @@ echo "expected simulations: ${sim_number}" echo "cvle block size : ${b_size}" +if [ "$OMPI_COMM_WORLD_RANK" == "0" ]; then + + cp -r /data/vle-2001/pkgs/CarSolEl_data/data . + rm -rf data/meteo + cd data + unzip ${meteo_archive} + cd .. +fi + cvle -b $b_size -i ${2} -w work -P Stics4AgFlow -P CarSolEl_sim CarSolEl.vpz if [ "$OMPI_COMM_WORLD_RANK" == "0" ]; then