Difference between revisions of "MCNPX"

From UFRC
Jump to navigation Jump to search
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Introduction  ==
+
[[Category:Software]][[Category:Physics]]
 +
{|<!--CONFIGURATION: REQUIRED-->
 +
|{{#vardefine:app|MCNPX}}
 +
|{{#vardefine:url|http://mcnpx.lanl.gov/}}
 +
<!--CONFIGURATION: OPTIONAL (|1}} means it's ON)-->
 +
|{{#vardefine:conf|}}          <!--CONFIGURATION-->
 +
|{{#vardefine:exe|1}}            <!--ADDITIONAL INFO-->
 +
|{{#vardefine:pbs|}}            <!--PBS SCRIPTS-->
 +
|{{#vardefine:policy|}}        <!--POLICY-->
 +
|{{#vardefine:testing|}}      <!--PROFILING-->
 +
|{{#vardefine:faq|}}            <!--FAQ-->
 +
|{{#vardefine:citation|}}      <!--CITATION-->
 +
|{{#vardefine:installation|}} <!--INSTALLATION-->
 +
|}
 +
<!--BODY-->
 +
<!--Description-->
 +
{{#if: {{#var: url}}|
 +
{{App_Description|app={{#var:app}}|url={{#var:url}}|name={{#var:app}}}}|}}
  
'''MCNPX''' ,  Monte Carlo N-Particle eXtended, is a general-purpose Monte Carlo radiation transport code for modeling the interaction of radiation with everything. It extends the capabilities of MCNP4C3 to nearly all particles, nearly all energies, and to nearly all applications without an additional computational time penalty.
+
MCNPX ,  Monte Carlo N-Particle eXtended, is a general-purpose Monte Carlo radiation transport code for modeling the interaction of radiation with everything. It extends the capabilities of MCNP4C3 to nearly all particles, nearly all energies, and to nearly all applications without an additional computational time penalty.
  
Please note, MCNPX is installed on HPC Center's RedHat EL6 systems. Please read the section of "Execution Instructions..." below for information on how to access the software.
+
<!--Modules-->
 +
==Environment Modules==
 +
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
  
== Version 2.7.0  ==
+
<!--Configuration-->
 +
{{#if: {{#var: conf}}|==Configuration==
 +
See the [[{{PAGENAME}}_Configuration]] page for {{#var: app}} configuration details.
 +
|}}
 +
<!--Run-->
 +
{{#if: {{#var: exe}}|==Additional Information==
 +
MCNPX is a restricted application. Only authorized users who have completed required training and certification can access it.
  
The configuration and compilation flags used are:
+
|}}
<pre>
+
<!--PBS scripts-->
configure --with-FC=ifort --with-CC=icc
+
{{#if: {{#var: pbs}}|==PBS Script Examples==
</pre>
+
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.
 
+
|}}
Installation location:
+
<!--Policy-->
 
+
{{#if: {{#var: policy}}|==Usage Policy==
<pre>
+
WRITE USAGE POLICY HERE (Licensing, usage, access).
/apps/mcnpx/2.7.0
+
|}}
</pre>
+
<!--Performance-->
 
+
{{#if: {{#var: testing}}|==Performance==
==Execution Instruction for Using Module System==
+
WRITE_PERFORMANCE_TESTING_RESULTS_HERE
* What is a Module System:
+
|}}
:Module system is a utility to manage application execution environment - compilers, runtime libraries, application executables. Your execution environment can be set by simply loading the appropriate modules. For more information, please refer to [[From_mpi-selector_to_environment_modules]].
+
<!--Faq-->
 
+
{{#if: {{#var: faq}}|==FAQ==
*To use MCNPX:
+
*'''Q:''' **'''A:'''|}}
module load intel mcnpx
+
<!--Citation-->
 
 
==Single-Threaded Execution==
 
==Required Modules==
 
<source lang=bash>
 
module load intel
 
module load mcnpx
 
</source>
 
===Sample Submission Script===
 
<source lang=bash>
 
#!/bin/bash
 
#PBS -N mcnpx
 
#PBS -r n
 
#PBS -o mcnpout
 
#PBS -e mcnperr
 
#PBS -j oe
 
#PBS -m abe
 
#PBS -M <your_email_address>
 
#PBS -l walltime=99:00:00
 
#PBS -l nodes=1:ppn=1
 
#PBS -l pmem=900mb
 
#PBS -q submit
 
#
 
module load intel
 
module load mcnpx
 
#
 
cd $PBS_O_WORKDIR
 
mcnpx i=m24-0-0B o=m24-0-0Bo
 
</source>
 
 
 
==Parallel (MPI) Execution==
 
==Required Modules==
 
<source lang=bash>
 
module load intel
 
module load openmpi
 
module load mcnpx
 
</source>
 
===Sample Submission Script===
 
<source lang=bash>
 
#!/bin/bash
 
#PBS -N mpitest
 
#PBS -r n
 
#PBS -o mcnpout
 
#PBS -e mcnperr
 
#PBS -j oe
 
#PBS -m abe
 
#PBS -M <your_email_address>
 
#PBS -l walltime=99:00:00
 
#PBS -l nodes=2:ppn=8:infiniband
 
#PBS -l pmem=900mb
 
#PBS -q submit
 
#
 
module load intel
 
module load openmpi
 
module load mcnpx
 
#
 
cd $PBS_O_WORKDIR
 
mpiexec mcnpx i=m24-0-0B o=m24-0-0Bo
 
</source>
 
 
 
== Reference  ==
 
 
 
MCNPX website: http://mcnpx.lanl.gov/
 

Latest revision as of 18:28, 18 August 2022

Description

MCNPX website  

MCNPX , Monte Carlo N-Particle eXtended, is a general-purpose Monte Carlo radiation transport code for modeling the interaction of radiation with everything. It extends the capabilities of MCNP4C3 to nearly all particles, nearly all energies, and to nearly all applications without an additional computational time penalty.

Environment Modules

Run module spider MCNPX to find out what environment modules are available for this application.


Additional Information

MCNPX is a restricted application. Only authorized users who have completed required training and certification can access it.