Difference between revisions of "MOOSE Configuration"
Jump to navigation
Jump to search
(Created page with "== Configure and test your own "MOOSE" framework == # mkdir projects # cd projects # module load moose/12-aug-20 # git clone https://github.com/idaholab/moose.git # cd moose #...") |
|||
Line 8: | Line 8: | ||
# export VTKLIB_DIR=${HPC_VTK_LIB} VTKINCLUDE_DIR=${HPC_VTK_INC} | # export VTKLIB_DIR=${HPC_VTK_LIB} VTKINCLUDE_DIR=${HPC_VTK_INC} | ||
# Run "./scripts/update_and_rebuild_libmesh.sh --enable-vtk-required" | # Run "./scripts/update_and_rebuild_libmesh.sh --enable-vtk-required" | ||
− | # Interrupt (ctrl-c) the above configure/build just after the git clone of libmesh is completed. | + | # Interrupt (''ctrl-c'') the above configure/build just after the ''git clone'' of libmesh is completed. |
# Patch the "configure" script using the accompanying patch file (see below). | # Patch the "configure" script using the accompanying patch file (see below). | ||
# Rerun "./scripts/update_and_rebuild_libmesh.sh --enable-vtk-required" and allow it to complete. It should finish without errors. | # Rerun "./scripts/update_and_rebuild_libmesh.sh --enable-vtk-required" and allow it to complete. It should finish without errors. |
Revision as of 14:34, 13 August 2020
Configure and test your own "MOOSE" framework
- mkdir projects
- cd projects
- module load moose/12-aug-20
- git clone https://github.com/idaholab/moose.git
- cd moose
- git checkout master
- export VTKLIB_DIR=${HPC_VTK_LIB} VTKINCLUDE_DIR=${HPC_VTK_INC}
- Run "./scripts/update_and_rebuild_libmesh.sh --enable-vtk-required"
- Interrupt (ctrl-c) the above configure/build just after the git clone of libmesh is completed.
- Patch the "configure" script using the accompanying patch file (see below).
- Rerun "./scripts/update_and_rebuild_libmesh.sh --enable-vtk-required" and allow it to complete. It should finish without errors.
- cd test; run_tests -j 4
- Build and test the "phase field" module:
- cd moose/modules/phase_field
- make -j 4
- ./run_tests -j 4
- Build and test the "combined" module:
- cd moose/modules/combined
- make -j 4
- ./run_tests -j 4