Where is the ~/projects directory located? #19044
-
|
I am following the online installation guide. The error message: ModuleNotFoundError: No module named 'TestHarness' This might be due to my confusion where MOOSE_DIR and FRAMEWORK_DIR are located. OS: Ubuntu 20.04 Obtaining and Building MOOSE But not this: First question: Is this path to projects correct? and is this the path to framework? Therefore: +++++++++++++++++++++++++++++++++++++ Second question: https://mooseframework.inl.gov/help/troubleshooting.html#buildissues Thanks for any help or suggestions |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
From this post: I see that the MOOSE_DIR is in the conda_env, on Ubuntu OS: Is that now correct? |
Beta Was this translation helpful? Give feedback.
-
|
MOOSE_DIR should be the path to where you cloned moose into. It has nothing to do with conda. If you ran make within the tests directory, MOOSE_DIR should be one level up from this. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for replying and clarifying the paths. Which page on Moose (mooseframework.inl.gov) has the link to this url: "Obtaining and Building MOOSE" Installation page has links to install the MOOSE Framework on Linux and macOSX, which lands you on the Install conda moose environment. This page advises the user to install, compile and test MOOSE by running the following commands in a terminal. That ends in failure with errors. In fact there is another web page called "Obtaining and Building MOOSE", which is absent from the Installation or Conda pages I stumbled upon on it while googling searches about /projects and setting up the moose framework "To install MOOSE run the following commands in a terminal." Which are considerably different commands to those provided on the conda moose environment page. I will try this, using: |
Beta Was this translation helpful? Give feedback.
-
|
Ok, that worked well! Set MOOSE_DIR and FRAMEWORK_DIR in both .bashrc and the Makefile in /projects/moose/test ..... All up, the cloning, installing, compiling, testing of moose on "/media/hDD/projects/moose" swallowed 11.4 Gb, Thanks to @loganharbour, problem solved. |
Beta Was this translation helpful? Give feedback.
Ok, that worked well!
Set MOOSE_DIR and FRAMEWORK_DIR in both .bashrc and the Makefile in /projects/moose/test
Given the time it takes to get to finally ./run_tests, I wasn't taking any risks.
.....
./run_tests -j 4
Ran 2912 tests in 832.8 seconds. Average test time 0.9 seconds, maximum test time 48.9 seconds.
2912 passed, 96 skipped, 0 pending, 0 failed
All up, the cloning, installing, compiling, testing of moose on "/media/hDD/projects/moose" swallowed 11.4 Gb,
and took a few hours to complete.
Thanks to @loganharbour, problem solved.