Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error unwrapping 'output' on HPC #416

Open
cefect opened this issue Jun 22, 2024 · 0 comments
Open

Error unwrapping 'output' on HPC #416

cefect opened this issue Jun 22, 2024 · 0 comments

Comments

@cefect
Copy link

cefect commented Jun 22, 2024

When running BreachDepressionsLeastCost via slurm I'm experiencing a perplexing failure:

#SBATCH --cpus-per-task=1
$wbt_exe --run="BreachDepressionsLeastCost" ... --max_procs=-1

fails with:

thread 'main' panicked at whitebox-tools-app/src/tools/hydro_analysis/breach_depressions_least_cost.rs:657:27:
Error unwrapping 'output'
stack backtrace:
   0:     0x14a3f0123332 - <unknown>

increasing the cpus:

#SBATCH --cpus-per-task=2
$wbt_exe --run="BreachDepressionsLeastCost" ... --max_procs=-1

succeeds

different tool with 1 cpu:

#SBATCH --cpus-per-task=1
$wbt_exe --run="AggregateRaster" ... --max_procs=1

succeeds

It seems BreachDepressionsLeastCost requires at least 2 cpus for slurm to handle (unlike AggregateRaster). Also the error message is useless.

Mostly this is an FYI as increasing the nodes is an easy workaround (although not ideal for large jobs).

Operating System: GNU/Linux
Kernel Version: 5.14.0-362.18.1.el9_3.x86_64
CPU Information:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant