-
Notifications
You must be signed in to change notification settings - Fork 59
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
can't build with external mfem #205
Comments
For MPI.h, we need to specify MPI wrapper so that the compiler knows where MPI.h is located. Here is
Please let me know this helps |
Thanks! I got a but further... I tried
Then loads of no such file mpi.h in globals.hpp Here's the beginning of the output:
|
Hi @jtristano (Long version) |
Closing for now. Feel free to reopen. |
Tried it , got a bit further, had to add --with-cuda as well as --no-serial , |
It is difficult to identify what is the issue with this information. I guess your MFEE is built with
In general, in order to use externally built MFEM, the MFEM has to built from a certain version/commit. SHA of |
Here's the SHA1 we are on for mfem - d5aa18f7625032d35e105381f2d34b4a2ffb2db1 |
Got it to build, I hadnt done a make install on mfem... Is there any way to get both serial and parallel install for PyMFEM with an mfem built with mpi? |
I'm good now ! Thank you for the help... we can close |
Glad that this is resolved |
@sshiraiwa - I'm trying to get this working in our CICD pipeline and found that the build is now failing. I've pegged the mfem version to your specified sha1 and have used the PyMFEM head Getting this error
|
swig 4.2 cannot build PyMFEM... max version I can build with is 4.1.1.post1 |
Reopening this. (#208 is in progress) |
My folder structure is:
./mfem
|-libmfem.so.4.6.1
|-libmfem.so (symbolic link ../libmfem.so.4.6.1)
|-lib/libmfem.so ( symbolic link ../libmfem.so)
|- standard mfem github layout
./PyMFEM
I run python3 setup.py install setup.py install --mfem-source=/home/user/mfem --mfem-prefix=/home/user/mfem --skip-ext
And get a failure in cannot find mpi.h
The text was updated successfully, but these errors were encountered: