firemodels / fds

Fire Dynamics Simulator
https://pages.nist.gov/fds-smv/
Other
664 stars 623 forks source link

Camp Swift case crashing on gnu linux #13678

Open rmcdermo opened 2 hours ago

rmcdermo commented 2 hours ago

If I try to run the newly added Camp Swift case with the ompi_gnu_linux build on spark it crashes. (Note: you must update your firemodels/cad repo to run this case. Running in _db I found this error.

At line 1344 of file ../../Source/wall.f90
Fortran runtime error: Index '544830063' of dimension 1 of array 'pbar_p' above upper bound of 41

The line in wall.f90 is this:

B1%RHO_F = PBAR_P(BC%KK,B1%PRESSURE_ZONE)/(RSUM_F*B1%TMP_F)

So, seems like something is not initialized properly for BC%KK. Probably a particle.

To reproduce, compile any of the ompi_gnu_linux targets and run with -G option with qfds.sh

ericvmueller commented 2 hours ago

This likely has to do with the issue I showed you about INIT regions in meshes with negative coordinates.

I have a fix I just want to run it through firebot.

FYI there's also some other details of the case I'm still tweaking/investigating so inputs might change. Sorry I probably jumped the gun pushing it.