How to deal with MCNP stack overflow

  • Thread starter scu-mxy
  • Start date
  • Tags Tags
    Mcnp
1 reply · 2K views · last reply
scu-mxy
Messages
1
Reaction score
0
TL;DR
Before I change the neutron cross section library, the program can run normally. So I believe My input file is fine. I have used MPICH to speed up the calculation. My computer has 16G RAM, how can I solve this problem
Console error text: forrtl: severe (170): Program Exception - stack overflow, followed by a table with columns Image, PC, Routine, Line, Source and one row for mcnp5mpi.exe at PC 0046BFFD, with Unknown in the remaining columns.
 
Are you using the ASCII version of the library or the binary version? What library?

If your library is too new, it can crash older versions of the code. New features (tables) in the libraries can lead to weird even negative indices into the cross section data. Memory access is then attempted outside the program space. I've not seen this explicitly with 5. I learned my lesson with 4.