Difference between revisions of "MOOSE Configuration"
Line 22: | Line 22: | ||
##./run_tests -j 4 | ##./run_tests -j 4 | ||
=== Patch File === | === Patch File === | ||
− | + | <nowiki>--- a/configure 2020-08-07 07:56:18.955696774 -0400 | |
− | < | ||
− | --- a/configure 2020-08-07 07:56:18.955696774 -0400 | ||
+++ b/configure 2020-08-07 08:00:45.329361095 -0400 | +++ b/configure 2020-08-07 08:00:45.329361095 -0400 | ||
@@ -38452,24 +38452,26 @@ | @@ -38452,24 +38452,26 @@ | ||
Line 57: | Line 55: | ||
fi | fi | ||
− | < | + | </nowiki> |
Revision as of 14:47, 13 August 2020
Configure and test your own "MOOSE" framework
Basic Steps
- 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
Patch File
--- a/configure 2020-08-07 07:56:18.955696774 -0400 +++ b/configure 2020-08-07 08:00:45.329361095 -0400 @@ -38452,24 +38452,26 @@ VTK_LIBRARY_WITH_VERSION="-L$VTK_LIB -lvtkIOCore-$vtkmajorminor -lvtkCommonCore-$vtkmajorminor -lvtkCommonDataModel-$vtkmajorminor \ -lvtkFiltersCore-$vtkmajorminor -lvtkIOXML-$vtkmajorminor -lvtkImagingCore-$vtkmajorminor \ -lvtkIOImage-$vtkmajorminor -lvtkImagingMath-$vtkmajorminor \ - -lvtkParallelMPI-$vtkmajorminor -lvtkParallelCore-$vtkmajorminor" + -lvtkParallelMPI-$vtkmajorminor -lvtkParallelCore-$vtkmajorminor \ + -lvtkCommonExecutionModel-$vtkmajorminor" VTK_LIBRARY_NO_VERSION="-L$VTK_LIB -lvtkIOCore -lvtkCommonCore -lvtkCommonDataModel \ -lvtkFiltersCore -lvtkIOXML -lvtkImagingCore \ -lvtkIOImage -lvtkImagingMath \ - -lvtkParallelMPI -lvtkParallelCore" + -lvtkParallelMPI -lvtkParallelCore -lvtkCommonExecutionModel" else VTK_LIBRARY_WITH_VERSION="-L$VTK_LIB -lvtkIOCore-$vtkmajorminor -lvtkCommonCore-$vtkmajorminor -lvtkCommonDataModel-$vtkmajorminor \ -lvtkFiltersCore-$vtkmajorminor -lvtkIOXML-$vtkmajorminor -lvtkImagingCore-$vtkmajorminor \ -lvtkIOImage-$vtkmajorminor -lvtkImagingMath-$vtkmajorminor -lvtkIOParallelXML-$vtkmajorminor \ - -lvtkParallelMPI-$vtkmajorminor -lvtkParallelCore-$vtkmajorminor" + -lvtkParallelMPI-$vtkmajorminor -lvtkParallelCore-$vtkmajorminor \ + -lvtkCommonExecutionModel-$vtkmajorminor" VTK_LIBRARY_NO_VERSION="-L$VTK_LIB -lvtkIOCore -lvtkCommonCore -lvtkCommonDataModel \ -lvtkFiltersCore -lvtkIOXML -lvtkImagingCore \ -lvtkIOImage -lvtkImagingMath -lvtkIOParallelXML \ - -lvtkParallelMPI -lvtkParallelCore" + -lvtkParallelMPI -lvtkParallelCore -lvtkCommonExecutionModel" fi