PyMFEM icon indicating copy to clipboard operation
PyMFEM copied to clipboard

Linking with external requires no-serial option

Open sshiraiwa opened this issue 2 years ago • 0 comments

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 avatar May 20 '23 13:05 sshiraiwa