How to fix this error in MCNPX 2.7?

AI Thread Summary
The error in MCNPX 2.7, "Error posting readv, An existing connection was forcibly closed by the remote host," typically indicates issues with running parallel versions across multiple machines. Users should check their operating system, command usage, and input files to troubleshoot effectively. Proper MPI setup is crucial for multi-machine operations, and testing with other programs can help verify functionality. For simpler execution, running the program with multiple tasks using OMP may be a viable alternative. Addressing these factors can help resolve the error encountered.
ahb
Messages
1
Reaction score
0
TL;DR Summary
error in MCNPX 2.7
Hello, What is the reason for the following error in MCNPX 2.7?

Error posting readv, An existing connection was forcibly closed by the remote host. (10054)unable to read the cod header on the pmi context, Error = -1
 
Engineering news on Phys.org
Welcome to Physics Forums @ahb,

That looks like a problem running parallel versions on multiple machines. What OS are you using, what command are you using and (if you can share it and if it matters) what input file are you using?

If you are expecting to run it over multiple machines how is your MPI set up and can you run other programs to verify that works?

If this looks complicated and you don't want to deal with it, try running the program only with multiple tasks. OMP usually just works.
 
Hello, I'm currently trying to compare theoretical results with an MCNP simulation. I'm using two discrete sets of data, intensity (probability) and linear attenuation coefficient, both functions of energy, to produce an attenuated energy spectrum after x-rays have passed through a thin layer of lead. I've been running through the calculations and I'm getting a higher average attenuated energy (~74 keV) than initial average energy (~33 keV). My guess is I'm doing something wrong somewhere...
Back
Top