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

Linking with external requires no-serial option #177

Open
sshiraiwa opened this issue May 20, 2023 · 0 comments
Open

Linking with external requires no-serial option #177

sshiraiwa opened this issue May 20, 2023 · 0 comments
Assignees

Comments

@sshiraiwa
Copy link
Member

When building PyMFEM using --mfem-prefix to link the wrapper with MFEM which was built separately outside PyMFEM setup.py, the build could fail during the serial wrapper building.

Reason:
Serial wrapper (mfem.ser) assumes that mfem is built without any dependency.

Short-term solution:
add -no-serial option to skip building the serial wrapper.

Long-term solution:
expand mfem.par so that mfem.par can be linked with serial MFEM.
essentially this could be done by add #Ifdef MFEM_USE_MPI in the interface file in mfem/_par

@sshiraiwa sshiraiwa self-assigned this May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant