Skip to content

Commit

Permalink
Merge pull request #29 from CIROH-UA/fix-parallel
Browse files Browse the repository at this point in the history
remove check for forcing csv files
  • Loading branch information
arpita0911patel authored Dec 2, 2024
2 parents ea7425a + 2372586 commit f62b6d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions singularity/templates/guide/HelloNGEN.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f62b6d7

Please sign in to comment.