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.
 
What type of energy is actually stored inside an atom? When an atom is split—such as in a nuclear explosion—it releases enormous energy, much of it in the form of gamma-ray electromagnetic radiation. Given this, is it correct to say that the energy stored in the atom is fundamentally electromagnetic (EM) energy? If not, how should we properly understand the nature of the energy that binds the nucleus and is released during fission?

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 3 ·
Replies
3
Views
597
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • Sticky
  • · Replies 6 ·
Replies
6
Views
4K