How to deal with MCNP stack overflow

  • Thread starter Thread starter scu-mxy
  • Start date Start date
  • Tags Tags
    Mcnp
Click For Summary
The discussion centers on the use of ASCII versus binary versions of a specific library, highlighting potential compatibility issues with older code versions. New features in libraries, such as tables, can cause unexpected negative indices in cross-section data, leading to memory access violations. Users have experienced crashes when using newer libraries with older code, particularly noted with version 4. There is a cautionary note regarding the stability of version 5, although no explicit issues have been reported yet. Compatibility and memory management are critical considerations when updating libraries.
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
mistake.png
 
Engineering news on Phys.org
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.
 

Similar threads

Replies
4
Views
1K
Replies
4
Views
2K
Replies
4
Views
3K
Replies
3
Views
292
Replies
0
Views
1K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
6
Views
3K