Error in running the electromagnetics module tests #31976
Unanswered
mehdikamyabi
asked this question in
Q&A Getting Started
Replies: 1 comment 4 replies
-
|
@loganharbour this looks like a python error. Do we test our python code in Docker right now? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Check these boxes if you have followed the posting rules.
Issue or question about MOOSE
Hello,
I have installed MOOSE through Docker. Inside the Docker container, I ran MOOSE and tried to verify that the installation was completed correctly. To do this, I tested the electromagnetics module following the recommendations provided here: https://mooseframework.inl.gov/getting_started/installation/docker.html.
However, I encountered the following errors:
Working Directory: /projects/moose/electromagnetics
Running Command: /opt/moose/bin/moose_test_runner -j 4
Traceback (most recent call last):
File "/opt/moose/share/moose/python/pyhit/init.py", line 13, in
import hit
ImportError: /opt/moose/share/moose/python/hit.so: undefined symbol: PyThreadState_GetUnchecked
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/moose/share/moose/python/pyhit/init.py", line 18, in
import hit
ImportError: /opt/moose/share/moose/python/hit.so: undefined symbol: PyThreadState_GetUnchecked
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/moose/bin/moose_test_runner", line 39, in
from TestHarness import TestHarness
File "/opt/moose/share/moose/python/TestHarness/init.py", line 9, in
from .TestHarness import TestHarness
File "/opt/moose/share/moose/python/TestHarness/TestHarness.py", line 25, in
from FactorySystem.Factory import Factory
File "/opt/moose/share/moose/python/FactorySystem/init.py", line 13, in
from .Parser import Parser
File "/opt/moose/share/moose/python/FactorySystem/Parser.py", line 13, in
import pyhit
File "/opt/moose/share/moose/python/pyhit/init.py", line 21, in
subprocess.run(['make', 'hit'], cwd=moose_test_dir)
File "/opt/miniforge3/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniforge3/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/miniforge3/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/moose/share/moose/test'
moose-openmpi-x86_64:5ba96d7 [root@04601536b466: /projects/moose/electromagnetics ]
Since I am very new to Docker and MOOSE, any help would be greatly appreciated. Apologies if my question seems very basic.
(Optional) code in question / simulation log / errors
No response
Encountering Errors? Please include diagnostic output
No response
Beta Was this translation helpful? Give feedback.
All reactions