MCNP 6 with GCC
Installation Tips
• Open the following config file and edit the data path:
/> sudo vi /usr/local/mcnp6/Source/config/Linux.gcf
DATAPATH ?= /usr/local/mcnp6/data
• Then go to the Source folder:
/> cd /usr/local/mcnp6/Source
• Now, compile the code as follows with the GCC and MPI support
/> sudo make clean build CONFIG="gfortran cheap plot mpi" MPI_ROOT=/usr
• Now, install the data as follows:
/> sudo ./MCNP_DATA/install_data.sh
• To create makxsf, in the MCNP6/Source directory type:
/> sudo make makxsf CONFIG="gfortran"
• To test this executable (and MCNP6), go to the Testing/REGRESSION directory and type as normal user (no root user is allowed):
/> sudo make test2 CONFIG="mpi"
Edit the Machinefile as follows (each node has 24 cores):
/> xe1
/> xe2
/> xe3
/> xe4
/> xe5
/> xe6
• To run:
/> time mpirun -np 144 -machinefile machinefile /usr/local/software/bin/mcnp6.mpi name=deneme.i

- Gokhan YesilyurtLead Nuclear Engineer @ X Energy, LLC in Greenbelt, MD 20770