Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty installing parallel PyMFEM on linux #258

Open
Topher37 opened this issue Nov 22, 2024 · 0 comments
Open

Difficulty installing parallel PyMFEM on linux #258

Topher37 opened this issue Nov 22, 2024 · 0 comments

Comments

@Topher37
Copy link

I'm trying to install the parallel version of PyMFEM on a system running rhel 9.4 using a conda environment.

I tried using "python setup.py install --with-parallel --user." In a different conda environment, tried downgrading pip to 22.3 (so --install-option would work) and using the 'python -m pip install ./ --install-option="--with-parallel" --install-option="--mfem-branch=master" ' command that's in the PyMFEM README.md.

In both installation attempts, the serial version installed and seems to run successfully, but the parallel version errors out when I try to import it.

Error message for pip command:

import mfem.par as mfem
Traceback (most recent call last):
File "", line 1, in
File "/fslhome/topher37/miniconda3/envs/pipmfemtest1/lib/python3.11/site-packages/mfem/par.py", line 11, in
from mfem._par.cpointers import *
ModuleNotFoundError: No module named 'mfem._par.cpointers'

Error message for setup.py install:

import mfem.par as mfem
Traceback (most recent call last):
File "", line 1, in
File "/home/topher37/.local/lib/python3.9/site-packages/mfem/par.py", line 11, in
from mfem._par.cpointers import *
ModuleNotFoundError: No module named 'mfem._par.cpointers'

The install logs for both installations are attached.

installdoc_pip.txt
installdoc_setup_py.txt

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant