-
Notifications
You must be signed in to change notification settings - Fork 640
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
Segmentation Fault upon Restart #14223
Comments
I'll try it. |
@kasrash cleanup your input files as much as possible and run your test with the latest nightly bundle: https://github.com/firemodels/test_bundles/releases/tag/FDS_TEST I'm getting an error ERROR(375): OBST OBST-1 is VARIABLE_THICKNESS or HT3D and needs a MATL_ID. when trying to do the first run to T_END=2. |
Thank you for taking the time to check this and sorry for the messy inputs. I have cleaned them. The attached inputs work with the latest release version (link). I am not able to run the latest pre-compiled nightly build as it cannot find "libimf.so", so I need a bit time to figure this out. However, I am sharing the input files here in case you would like to try before I figure out the executable error in the nightly build. Thanks! |
@marcosvanella I was able to test the latest nightly build (gaf6fbf1). Based on the updated User's Guide, I had to chage the OBST a bit per the new requirements to overcome the error you encountered, The error still persists, but it contains a bit more information. The main error is:
I have also attached the full log below together with the inputs I used. If it is important, I compiled the build myself using GCC+OpenMPI as I could not use the pre-compiled executables you provided. outerr.txt Update: I was able to isolate the source of the error. Setting VARIABLE_THICKNESS=T causes the error. Looking at the source code, there is only one function that can cause ERROR(300) which is related to remeshing the solid phase. Seems like for some reason variable N_LAYER_CELLS_MAX is not assigned during the restart run. I tried to also include it in the input file, no luck. I would be more than grateful if you could provide a solution for this as I need the VARIABLE_THICKNESS for my models. Even a quick and dirty solution for now would be really appreciated as I have a bit limited time. Thabk you so much in advance! |
@kasrash I was able to reproduce your error at restart:
we'll take a closer look. |
@kasrash as per the user guide (section 8.4.5), take all material and extra THICKNESS information from your &SURF line for 'vegetation':
And try the case. There seems to be a issue restarting VARIABLE_THICKNESS = T cases when the Material information/THICKNESS is provided in the SURF line and also in the OBSTacle. This is related to internal gridding in the solid object. This small case demonstrates the problem:
Run the case with debug target to completion at
If we take out the lines:
from the 'vegetation' SURF and redo this exercise the code restarts correctly. |
Thank you so much for your quick reply and working pn this! I will try this. I wonder though what are the implications of these changes on the results. I hope that it doesn’t change the results. I will update here shortly to either close the issue, or see what else can be done. |
FDS Source: Issue #14223. Check bounds of arrays on restart
I added some logic to check array bounds. However, in this case, you should not have a |
@marcosvanella @mcgratta Thank you again for looking into this. However, another confusing thing has happened. Setting MATL_ID in the OBST rather than SURF causes the results change drastically. The reaction is significantly slowed when MATL_ID is added to OBST, and it is not sensitive to kinetic parameters (A & E). In the nightly release, not defining the material in OBST causes an error, but it does not cause an error in the release version. Could you please help why my results are different when MATL_ID is defined in OBST and why this definition is forced in the nightly build? @mcgratta Could you please elaborate why I should not have THICKNESS with VARIABLE_THICKNESS? |
|
As for your other question -- create a simple, clean, short input file that demonstrates the problem. I am not sure what you are trying to do and it would take me hours to unravel it all. |
@mcgratta Thank you. I will try to to come up with that simple case. One more question: I could not understand what @marcosvanella meant by "See that the TEMP inside the solid and in the surface is set correctly.". Could you please elaborate more on this, so I can check this before creating the simple test case and taking more of your time? Thanks a lot! |
I think he just meant to say that you should make sure that the calculation is working before the restart. That is, do your temperatures make sense. |
Dear FDS community,
I need to do restart to run multiple large models on a HPC environment with limited wall clock time. However, the restart is not working as expected. As a test case, I tried the following steps for the attached input files on 32 CPUs:
I am using latest pre-compiled FDS executables on an Ubuntu 20.04 HPC. I have also tried own-compiled executables using GCC and OpnMPI on a SUSE HPC, which resulted in error:
I would be grateful to know your suggestions about the likely reasons and how to solve this issue.
Many thanks in advance!
vegetation_model.txt
InputFile_MeshAdjust32.txt
The text was updated successfully, but these errors were encountered: