Skip to content

Difficulty installing parallel PyMFEM on linux #258

Description

@Topher37

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Question.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions