-
Notifications
You must be signed in to change notification settings - Fork 36
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
multiple bugs in building and shared library not being generated #45
Comments
Hi, I have the same issue with you. But as I compiled without posix and papi. It becomes a little more difficult for me to build the *.so files as it comes out the following outputs
Do you have any idea how to fix it? |
never seen before. whats ur env?maybe mpi version different |
An openmpi@4.0.5 built with spack and ucx. I don't think that makes a big difference though |
I install openmpi and ucx using spack, and then I install IPM using spack also. I find that the IPM could work well when I use mpicc to compile C code and generate output. But when it comes to fortran code, it's different. I compile fortran code with options '-lipm -lipmf', and use |
my env:
configure:
1.The generated file src/Makefile
FC =
is empty,I add it manually.2.Commands in src/Makefile target libipm.la and libipmf.la shoud change from
rpath
to-Wl,rpath=
Then it can be compiled and libipm.a and libipmf.a generated in src/.libs. but libipm.so and libipmf.so not be generated.
I compile libipm.so and libipmf.so manually using the following command.
libipm.so
libipmf.so
I test with my openmpi@4.1.1 and it works well.
Is there any way to correct the configure script to fix the wrong makefile?
Why shared library not being generated?
The text was updated successfully, but these errors were encountered: