- #1
cpa09gp
- 2
- 0
- TL;DR Summary
- Query regarding how to prevent the MCNP terminal/console from popping up after executing an MCNP command in Command Prompt
Hi all,
I am working on some criticality problems using MCNP4C. A key aspect of what I am attempting to do is to use Python to automate the creation and running of MCNP input files.
One of the issues so far is that after each command entered into the Command Prompt window, the MCNP terminal/console will pop up (as expected). I would like to prevent this from happening, with MCNP running purely in the Command Prompt window.
Is this possible to do in MCNP4C? If so, how do I go about it?
So far I have attempted using the following (with no success - they appear to do nothing different to omitting them):
Any and all info/suggestions would be gratefully received!
I am working on some criticality problems using MCNP4C. A key aspect of what I am attempting to do is to use Python to automate the creation and running of MCNP input files.
One of the issues so far is that after each command entered into the Command Prompt window, the MCNP terminal/console will pop up (as expected). I would like to prevent this from happening, with MCNP running purely in the Command Prompt window.
Is this possible to do in MCNP4C? If so, how do I go about it?
So far I have attempted using the following (with no success - they appear to do nothing different to omitting them):
- NOTEK, as in e.g. "mcnp ixr i=inp1 NOTEK"; and
- start/wait, as in e.g. "start/wait mcnp ixr i=inp1"
Any and all info/suggestions would be gratefully received!