MCNPX ver 2.7 error: ''bad problem in xact in routine tpefil chg_mem error''

Click For Summary

Discussion Overview

The discussion revolves around an error encountered in MCNPX version 2.7, specifically the "bad problem in xact in routine tpefil chg_mem error." Participants explore potential causes related to memory allocation, library files, and installation paths, focusing on troubleshooting the issue within a Windows operating system context.

Discussion Character

  • Technical explanation, Debate/contested

Main Points Raised

  • One participant reports an error that occurred after previously successful runs of MCNPX, questioning whether it relates to installation or environment variables like "PATH" and "DATAPATH."
  • Another participant identifies the error as a memory allocation issue, suggesting that it could stem from excessive memory requests, library corruption, or input file mistakes.
  • A participant expresses uncertainty about the meaning of a memory allocation error and emphasizes their experience with successful installations on multiple computers.
  • Discussion includes the possibility of library errors, outdated libraries, or incorrect xsdir files, with suggestions to verify library integrity using md5sum.
  • Participants propose testing with different versions or explicitly specifying libraries to isolate the problem.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the exact cause of the error, with multiple competing views on potential issues related to memory allocation, library integrity, and installation paths remaining unresolved.

Contextual Notes

Participants mention the importance of ensuring that previous run files are cleared and express uncertainty about the correctness of library files and paths, indicating potential dependencies on specific configurations or versions.

alperbugraarslan
Messages
2
Reaction score
0
TL;DR
mcnpx ver 2.7 error
I have a problem. Previously mcnpx ver 2.7 was working on my computer. But now I get an error like this. ''bad problem in xact in routine tpefil chg_mem error''. Can anyone help? Am I making a mistake in the installation? Is there something I'm missing when making the ''PATH'' and ''DATAPATH''?.7
 

Attachments

  • hata.JPG
    hata.JPG
    54.3 KB · Views: 66
Engineering news on Phys.org
Hi @alperbugraarslan, welcome to PhysicsForums.

This is a memory allocation error. If you haven't run out of memory, it might be that something is causing the program to request far too much. This might be a corruption in a library or a mistake in the input file or requesting too many tasks.

I suggest making sure previous run files are out of the way, outp etc, all runt files, either deleted or in another directory and try running a simple input file.

I assume this is in Windows?
 
Thank you very much for your answer. I installed the program on my computer with Windows 10 operating system. The program was working without any errors on my previous computer. What do you mean by memory allocation error? I am sure that the previous execution files have been removed (output etc. files). I think there may be an error in the library files or during the creation of ''PATH'' and ''DATAPATH''. I have installed this program on 4 or 5 computers over the years and have never had a problem. This is the first time I have encountered something like this.
 
The libraries are processed, specified isotopes are read in and any part of the cross section tables that are not needed for the problem are removed. Memory is reallocated for this process. An error in the library, or an out of date or too new library, can break things.

It might be worth doing md5sum on the library directory and see the sums differ from known good copies. Most of the libraries for MCNP/X are now freely available, which might help.

It's possible the data path is wrong, but it is finding the libraries so that seems to be working.

It's possible it could be an xsdir file error, but I wouldn't know how to check this. If you have other versions, you could try those.

You could see if it only affects some problems or some isotope materials. You could try explicitly specifying certain libraries.

I wish I could be more specific, sorry, but good luck!
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
Replies
6
Views
7K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
1
Views
15K
Replies
2
Views
7K
Replies
2
Views
4K
Replies
15
Views
4K
  • · Replies 24 ·
Replies
24
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
2K