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

undefined symbol: mpi_fortran_in_place_ #171

Open
harry900831 opened this issue Apr 19, 2021 · 2 comments
Open

undefined symbol: mpi_fortran_in_place_ #171

harry900831 opened this issue Apr 19, 2021 · 2 comments
Assignees

Comments

@harry900831
Copy link

harry900831 commented Apr 19, 2021

Hi,
When I follow the instruction of README.md to execute the MPI program, the following error has shown up:

/usr/bin/bash: symbol lookup error: /path/to/src/alltoallv/liballtoallv.so: undefined symbol: mpi_fortran_in_place_

It seems that in the source code, mpi_fortran_in_place_ is an extern variable, but it can't find where is the definition.
I use OpenMPI 4.0.4 and GCC 9.2.0 to compile the code and library, the operating system is CentOS Linux 7 (Core).
If you need more information, please let me know!
Thanks!

@harry900831
Copy link
Author

harry900831 commented Apr 20, 2021

According to this commit, It seems that OpenMPI has no longer define mpi_fortran_in_place_ after version 3.0.
And I've successfully run the profiler by using OpenMPI 2.1.6.

@gvallee
Copy link
Owner

gvallee commented May 7, 2021

Sorry for the late answer. I am surprised that the liballtoallv.so is having the symbol problem. I would prefer the undefined symbol to refer to Open MPI. I will have a look when possible.

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

No branches or pull requests

2 participants