How to fix this error in MCNPX 2.7?

Click For Summary
SUMMARY

The error "Error posting readv, An existing connection was forcibly closed by the remote host. (10054)" in MCNPX 2.7 typically arises from issues related to running parallel versions across multiple machines. Users must ensure their MPI (Message Passing Interface) setup is correctly configured. If troubleshooting proves complex, a simpler solution is to execute the program using multiple tasks with OpenMP (OMP), which generally functions without complications.

PREREQUISITES
  • Understanding of MCNPX 2.7 and its parallel execution capabilities
  • Familiarity with MPI (Message Passing Interface) configuration
  • Basic knowledge of OpenMP (OMP) for parallel programming
  • Experience with troubleshooting network-related errors in distributed computing
NEXT STEPS
  • Research MPI setup and configuration for MCNPX 2.7
  • Learn about troubleshooting common network errors in parallel computing
  • Explore OpenMP (OMP) for simplifying parallel task execution
  • Investigate best practices for running MCNPX on multiple machines
USEFUL FOR

Researchers, physicists, and computational scientists using MCNPX for simulations, particularly those working with parallel processing across multiple machines.

ahb
Messages
1
Reaction score
0
TL;DR
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 am designing an X-ray irradiator with MCNP simulation. But I am still in confusion, whether my X-ray housing will be a box or a cylinder. If the box (macrobody identifier of MCNP) is required, I am trying to match the dimension as that of the cylinder, i,e, the height will be that of the cylinder height, and the other two dimensions will be that of the radius of the cylinder (surface 52 and 53). Can anybody please help me define the surfaces? Below is my attached text file. Forgot...

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 65 ·
3
Replies
65
Views
8K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
1K
  • Sticky
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 8 ·
Replies
8
Views
9K