Skip to content

Commit

Permalink
remove check for forcing csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 authored Nov 27, 2024
1 parent ea7425a commit 2372586
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 2372586

Please sign in to comment.