From 2372586b7e9be2b90a5dd51cb7f9a8e523521c69 Mon Sep 17 00:00:00 2001 From: Benjamin Lee <130000039+benlee0423@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:13:50 -0800 Subject: [PATCH] remove check for forcing csv files --- singularity/templates/guide/HelloNGEN.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/singularity/templates/guide/HelloNGEN.sh b/singularity/templates/guide/HelloNGEN.sh index 1a3dae7..bb478f9 100644 --- a/singularity/templates/guide/HelloNGEN.sh +++ b/singularity/templates/guide/HelloNGEN.sh @@ -97,10 +97,6 @@ select option in "${options[@]}"; do if [ "$option" == "Run NextGen model framework in parallel mode" ]; then procs=$(nproc) - num_catchments=$(find forcings -name *.csv | wc -l) - if [ $num_catchments -lt $procs ]; then - procs=$num_catchments - fi generate_partition "$n1" "$n2" "$procs" run_command="mpirun -n $procs /dmod/bin/ngen-parallel $n1 all $n2 all $n3 $(pwd)/partitions_$procs.json" else