To build MCNP5 use the makefile provided with the distribution in
the source directory(MCNP5/Unix/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" CC="pgcc" FOPT="-fastsse \
-Mipa=fast,inline" PLOTLIBS="-L/usr/X11R6/lib -lX11"
For the 64-bit serial version use
make clean build CONFIG="plot seq portland cheap" FC="pgf90" CC="pgcc" FOPT="-fastsse \
-Mipa=fast,inline" 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" CC="pgcc" \
MPICC="mpicc" FOPT="-fastsse -Mipa=fast,inline" PLOTLIBS="-L/usr/X11R6/lib -lX11"
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" CC="pgcc" \
MPICC="mpicc" FOPT="-fastsse -Mipa=fast,inline" PLOTLIBS="-L/usr/X11R6/lib64 -lX11"
|