PGI Guide to MCNP5

This guide is intended to help PGI customers install, build, and run the Monte Carlo N-Particle Transport Code System (MCNP5) using the PGI 6.0, 6.1, 6.2 compilers on 32 or 64-bit linux.

Version Information
  This guide was created for MCNP5 version 1.30 and the PGI 6.0, 6.1, 6.2 Releases. This information is for both AMD™ AMD64 and Intel® Xeon with EM64T running 64-bit Linux or IA32 running 32-bit Linux.
Application Notes
  Information about MCNP5 (Monte Carlo N-Particle Transport Code System) can be found at the Radiation Safety Information Computational Center, Oak Ridge National Laboratory Homepage.
Obtaining the Source Code and License
  Information on obtaining the source for MCNP5 can be found at the Oak Ridge National Laboratory.
Prerequisites
  None.
Configuration and Set-up Information
  No configuration is needed.
Building MCNP5
  To build MCNP5 use the makefile provided with the distribution in the source directory(MCNP5/Source). Enter the following command to build a 32-bit serial version of the code:
  make clean build CONFIG="plot seq portland cheap" FC="pgf90" FOPT="-fastsse -O3"
For the 64-bit serial version use
  make clean build CONFIG="plot seq portland cheap" FC="pgf90" FOPT="-fastsse -O3" \
   PLOTLIBS="-L/usr/X11R6/lib64 -lX11"
To build the 32-bit MPI version of the code enter the following:
  make clean build CONFIG="plot mpi portland cheap" FC="pgf90" MPIFC="mpif90" \
   MPICC="mpicc" FOPT="-fastsse -O3"
To build the 64-bit MPI version of the code enter the following:
  make clean build CONFIG="plot mpi portland cheap" FC="pgf90" MPIFC="mpif90" \
   MPICC="mpicc" FOPT="-fastsse -O3" PLOTLIBS="-L/usr/X11R6/lib64 -lX11"
Running MCNP5
  To test the serial version of the code enter the following:
  make test CONFIG="plot seq portland cheap" FC="pgf90"
To test the MPI version of the code enter the following:
  make test CONFIG="plot mpi portland cheap" FC="pgf90" MPIFC="mpif90" MPICC="mpicc" NMPI="3"
Verifying Correctness
  All differences should be zero, with the exception of inp23 and inp41. For these two tests the number differences should be:
_____CASE_________OUTP diffs_______MCTAL diffs___
     inp23            392              0
     inp41              0            147
Known Issues and Limitations
  None.
Click me