Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to configure the environment variables:
export CC=mpicc export CXX=mpicxx export F90=mpif90 export F77=mpif77 export FC=mpif90
- Run the following command to go to the scripts directory of MOOSE:
cd /path/to/MOOSE/moose/scripts
- Run the following command to install petsc:
./update_and_rebuild_petsc.sh
- Run the following command to install libmesh:
./update_and_rebuild_libmesh.sh
- Run the following command to go to the test directory:
cd /path/to/MOOSE/moose/test
- Run the following command to perform the compilation:
make -j 16
Parent topic: MOOSE Framework 1.0.0 Porting Guide (CentOS 7.6)