MCNPX Fatal error: "electron importances are zero"

  • Thread starter Thread starter Elizabeth Vega
  • Start date Start date
  • Tags Tags
    Application Mcnpx
Click For Summary

Discussion Overview

The discussion revolves around a fatal error encountered in the MCNPX application, specifically regarding "electron importances are zero." Participants explore potential causes and solutions related to code configuration and user manual references.

Discussion Character

  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant reports an error message indicating that electron importances are zero and expresses uncertainty about the code.
  • Another participant suggests consulting Section 2.9 of the user manual for guidance on the issue.
  • A different participant points out that a blank line in the code may be misinterpreted by MCNP, leading to the importance settings not being read correctly.
  • There is a reiteration of the suggestion to check the user manual, specifically noting that a line in the attachment sets the importance to zero.
  • One participant expresses gratitude for the helpfulness of the comments provided.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the exact cause of the error, but there are multiple suggestions regarding potential solutions and interpretations of the code behavior.

Contextual Notes

The discussion highlights potential quirks in MCNP's code interpretation, particularly concerning blank lines and their impact on input processing.

Elizabeth Vega
Messages
2
Reaction score
1
When I run the application, I get an error message. Fatal error electron importances are zero, I can't find what's wrong in the code.
 

Attachments

Engineering news on Phys.org
Welcome to physicsforums Elizabeth,

Line 122 is blank and MCNP is interpreting that as end of input, so the lines that set the importance for the cells are never read. Those lines look fine to me. MCNP has a few quirks because the core code dates from the days of mainframes. Blank lines being the section breaks is probably the biggest gotcha.
 
  • Informative
  • Like
Likes   Reactions: Elizabeth Vega and berkeman

Similar threads

Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
6
Views
7K
  • · Replies 2 ·
Replies
2
Views
16K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K