How to finally run an input file via VISED/MCNP5 without error?

  • Thread starter Thread starter nuclearsneke
  • Start date Start date
  • Tags Tags
    Error File Input
Click For Summary
SUMMARY

The forum discussion centers on troubleshooting errors encountered while running input files in MCNP5 and Vised, specifically related to simulating a sphere of UO2. Users reported receiving an error message indicating "bad trouble in subroutine pass1 of imcn" and "unexpected eof in file uo2crit0." The root cause was identified as improper formatting in the geometry section, particularly the presence of "? " characters instead of empty lines. Correcting these formatting issues resolved the errors, allowing the simulation to run successfully.

PREREQUISITES
  • Familiarity with MCNP5 version 5.1.60 for nuclear simulations
  • Understanding of geometry specifications in MCNP input files
  • Basic knowledge of using Vised for visual editing of MCNP files
  • Experience with Linux operating systems for running simulations
NEXT STEPS
  • Review MCNP5 documentation on geometry input specifications
  • Learn how to use Vised effectively for editing MCNP input files
  • Explore common error messages in MCNP5 and their resolutions
  • Investigate best practices for formatting input files in nuclear simulations
USEFUL FOR

Nuclear engineers, researchers in radiation transport, and students learning to use MCNP5 for simulations will benefit from this discussion.

nuclearsneke
Messages
15
Reaction score
5
TL;DR
MCNP and eof error
Howdy, my fellow nuclear colleagues!

I am new to MCNP5 and currently I am trying to simulate something simple like a sphere of UO2 to calculate its critical size.
Whenever I run my file via MCNP5 or Vised, I get an error message like

bad trouble in subroutine pass1 of imcn

unexpected eof in file uo2crit0

I understand that problem is somewhere in geometry sector, because when I cut off all the lines above the geometry section, visual editor still crashes with lines specified before.

Detes are in the files attached.
 

Attachments

Engineering news on Phys.org
Hi,

You have ? chars where I would expect empty lines. When I fix that it seems to work for me. Checked in Ljnux.
 
  • Like
Likes   Reactions: nuclearsneke

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
6
Views
7K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 6 ·
Replies
6
Views
18K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K