Follow these instructions to set up your environment for MOOSE

Prereqs

Install the following Mint packages:

sudo -E apt-get install build-essential \
 gfortran \
 tcl \
 freeglut3 \
 libx11-dev \
 libblas-dev \
 liblapack-dev \
 python-dev \
 git \
 m4

Redistributable Package

In order to simplify the process of getting your environment set up, the MOOSE team provides convenient, pre-compiled installable packages that do all the heavy lifting for you!

Note: Due to the size of the package, it may take quite a while to install (upwards of an hour).

  • MOOSE Environment Package:
    • Mint 18 Package version 27 (Jun 2, 2017)

When the download is complete, install the package with the following command:

sudo dpkg -i <name of package you downloaded above>

Note: Mint will normally download binaries to your '~/Downloads' directory.

If you happen to see any unsatisfied dependency warnings after attempting to install the package using the dpkg command above, the simple fix is to run the following command:

sudo -E apt-get install -f

Post Install

Add the following to your ~/.bashrc file to source the MOOSE environment. Once added, any new terminal window opened, will now have the necessary MOOSE environment.

# Source MOOSE Environment
if [ -f /opt/moose/environments/moose_profile ]; then
  . /opt/moose/environments/moose_profile
fi

Lots of people seem to skip this step... so here it is, enlarged and bolded:

The most important step of all: Close all opened terminal windows and re-open them.

Verify you have performed the above setup instructions correctly, by opening a new terminal window, and entering the following command:

module list

If you do not see anything prefixed with the words 'moose', something is wrong.

Now that the MOOSE environment is available, continue to step 2 on the Getting Started pages.

More Information

For more information about what our Redistributable Package contains see the wiki entry here.

Uninstall

To uninstall the moose-environment package, you can use the built in package manager:

sudo -E dpkg -r moose-environment

Or manually remove the lines from your .bashrc and remove everything under /opt/moose. Deleting an installed package this way 'irritates' your package manager... It is recommended to allow the package manager to remove packages.

R&D 100

Recent Blog Posts

Using our new clang-format Style

6 months, 2 weeks ago

Steady State Algorithm Change

1 year, 3 months ago

Making an App inherit from an App

1 year, 3 months ago

Changing a published API (Deprecation)

1 year, 4 months ago

DiscreteMaterial Objects

1 year, 6 months ago

Recent Tweets