NREL / resstock

Highly granular modeling of residential building stocks at national, regional, and local scales using OpenStudio/EnergyPlus.
https://resstock.nrel.gov
Other
104 stars 51 forks source link

Segmentation Fault and then task abourts when running on a server #1048

Closed zkschmitz closed 1 year ago

zkschmitz commented 1 year ago

I intermittently get this error when running openstudio workflow/run_analysis.rb -y project/project.yml on a HPC but this does not happen on my local. It happens frequently (and seems more likely to fail when running with larger housing stocks) but there is no pattern to when it errors out.

Resstock Version: 3.0.0

Hoping someone might be able to provide me a direction to look into

[Parallel(n_jobs=8)]: 241 / 432 | elapsed:   6.5min
Segmentation fault
[Parallel(n_jobs=8)]: 242 / 432 | elapsed:   6.6min
[Parallel(n_jobs=8)]: 243 / 432 | elapsed:   6.6min
[Parallel(n_jobs=8)]: 244 / 432 | elapsed:   6.7min
[Parallel(n_jobs=8)]: 245 / 432 | elapsed:   6.7min
[Parallel(n_jobs=8)]: 246 / 432 | elapsed:   6.7min
[Parallel(n_jobs=8)]: 247 / 432 | elapsed:   6.7min
[Parallel(n_jobs=8)]: 248 / 432 | elapsed:   6.8min
Error executing argv: []
Error: No such file or directory @ rb_sysopen - /<OUTPUTPATH>/run246/out.osw in eval:400:in `read'
eval:400:in `read'
/home/resstock/resources/buildstock.rb:447:in `run'
/home/resstock/workflow/run_analysis.rb:482:in `samples_osw'
/home/resstock/workflow/run_analysis.rb:406:in `block in run_workflow'
:/ruby/2.7.0/gems/parallel-1.19.1/lib/parallel.rb:507:in `call_with_index'
:/ruby/2.7.0/gems/parallel-1.19.1/lib/parallel.rb:360:in `block (2 levels) in work_in_threads'
:/ruby/2.7.0/gems/parallel-1.19.1/lib/parallel.rb:518:in `with_instrumentation'
:/ruby/2.7.0/gems/parallel-1.19.1/lib/parallel.rb:359:in `block in work_in_threads'
:/ruby/2.7.0/gems/parallel-1.19.1/lib/parallel.rb:209:in `block (3 levels) in in_threads'