How to deal with MCNP stack overflow

  • Thread starter Thread starter scu-mxy
  • Start date Start date
  • Tags Tags
    Mcnp
AI Thread 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 Summary
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.
 
Hello everyone, I am currently working on a burnup calculation for a fuel assembly with repeated geometric structures using MCNP6. I have defined two materials (Material 1 and Material 2) which are actually the same material but located in different positions. However, after running the calculation with the BURN card, I am encountering an issue where all burnup information(power fraction(Initial input is 1,but output file is 0), burnup, mass, etc.) for Material 2 is zero, while Material 1...

Similar threads

Replies
4
Views
994
Replies
4
Views
2K
Replies
4
Views
2K
Replies
3
Views
116
Replies
0
Views
1K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
7
Views
1K
Replies
6
Views
3K
Back
Top