Discussion Overview
The discussion revolves around an error encountered while running MCNP6, specifically a "forrtl: severe <157> : program exception -access violation." Participants are exploring potential causes for this error, which may relate to coding issues or system configurations.
Discussion Character
- Technical explanation
- Debate/contested
- Exploratory
Main Points Raised
- One participant reports intermittent access violation errors when running MCNP6 and seeks assistance in diagnosing the issue.
- Another participant notes a separate error message indicating that 'MNCP' is not recognized, suggesting a possible typographical error in command input.
- Some participants speculate that the access violation could stem from the program attempting to access invalid memory locations or incorrect subroutine arguments.
- There is a suggestion to check the code for the specific line where the error occurs, particularly focusing on the output value of cp0.
- One participant expresses uncertainty about the meaning of cp0 and seeks clarification on its significance in the context of their code.
- Another participant points out potential issues in the input file, such as duplicate material listings and incorrect fractional amounts for materials, which could contribute to the error.
- Some participants emphasize the need for the original poster to share their code for more targeted assistance.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the cause of the error, as multiple hypotheses are presented regarding potential coding mistakes and system issues. There is also disagreement on the correct spelling of the program name, with some insisting it should be MCNP6 while others mistakenly refer to it as MNCP.
Contextual Notes
Participants note that the original poster has not provided sufficient information about their code or the specific circumstances under which the error occurs. There are also indications that the problem may have arisen after recent changes, though the exact nature of those changes is unclear.
Who May Find This Useful
This discussion may be useful for users of MCNP6 experiencing similar access violation errors, as well as those interested in troubleshooting coding issues related to Fortran programs.