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"
|