The MOOSE framework is an open-source, parallel finite element method framework. Here we collect information for installation of MOOSE on typical systems of members of the UML Linux Club.
A course on ODE/PDEs, Engy-5310 Computational Continuum Transport Phenomena (Nuclear Energy) at UMass Lowell, Dept. of Chemical Engineering, Nuclear Energy Program, is in development where the notes and homework could be used during club meetings on this topic: MOOSE.
Gentoo users are well accustomed to building from source hence these notes are brief and sufficient.
- Build a system-wide
PETSclibrary. mkdir ~/pick-a-placecd ~/pick-a-placegit clone https://github.com/idaholab/moosecd ~/pick-a-place/moosegit checkout master
Update moose:
git fetch origingit rebase origin/mastergit pull
Make sure environment variables are set before compiling LibMesh. Examples are left below:
export MOOSE_JOBS=8export MOOSE_DIR=/home/moose-projects/mooseexport PETSC_DIR=/usr/local/petsc_ompiexport MPI_HOME=/usr/local/ompiexport PATH=$MOOSE_DIR/python/peacock:$PATH
Build everything:
./scripts/update_and_rebuild_libmesh.sh
Testing
cd testmake -j 4./run_tests -j 4
Rebuilding or updating moose. This should be done from time to time but it will be time-consuming.
cd ~/path-to-moose/git clean -xfdgit submodule deinit -f libmeshgit submodule update --init --recursive libmesh./scripts/update_and_rebuild_libmesh.sh- go back above and re-do the testing step
This options has not been sucessfull to anyone in our club who tried. The reason is...
Peacockis not working onUbuntu/WSLnor isParaview.- The alternative for visualization of
MOOSEfiles is to installParaviewin the Windows 10 side (see below).
Some Important Installation Commands in 'Order'for successfull installation and compilation of Moose on Windows 10 WSL using Ubuntu (after Ubuntu is installed)
sudo apt-get updatesudo apt-get upgradesudo apt-get install x11-apps libglu1-mesasudo apt-get install build-essentialecho "export DISPLAY=localhost:0" >> ~/.bashrc- Restart
curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.shbash Miniconda3-latest-Linux-x86_64.sh -b -p ~/miniconda3export PATH=$HOME/miniconda3/bin:$PATHconda config --add channels conda-forgeconda config --add channels idaholabexport PATH=~/miniconda3/bin:$PATHconda init bash- Restart
conda create --name moose moose-libmesh moose-toolsconda activate moosemkdir ~/projectscd ~/projectsgit clone https://github.com/idaholab/moose.gitcd moosegit checkout mastercd ~/projects/moose/testmake -j 4
- Go to the Paraview site
- Install
ParaView-5.8.0-Windows-Python3.7-msvc2015-64bit.exe - Completely install and run
- Type
paraviewin myPCsearch bar - Locate the
paraviewapplication and create a shortcut to desktop - In
Ubuntu 20.0.4type:
explorer.exe . - Go to the projects folder in the
MOOSEinstallation - Go to results you'd like to see i.e
ex01_out - Open with
paraviewapplication; recall you defined the application as a shortcut to your desktop - Go to desktop and open
ex01_outwith theparaviewapplication. - When it is up, go to the upper left corner, you should see gradient icons, and click the
chaingradient icon - Next to this icon is a drop down tap called
vtxblockcolors - Change this to the variable of interest.
We are still havig issues with the Mac install...
- go to https://mooseframework.inl.gov/getting_started/installation/conda.html
- install Miniconda3 for Macintosh Users
- proceed with install as listed
Installing Peacock for Mac
- go to https://mooseframework.inl.gov/application_usage/peacock.html
- follow steps listed under "Environment"
- in order to open your bash profile to add the path, type touch ~/.bash_profile; open ~/.bash_profile
- add the path as specified