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

MPI thread safe check fails although -mpi is passed to configure #15

Open
antonl321 opened this issue May 22, 2024 · 1 comment
Open

Comments

@antonl321
Copy link

With the following configure line
./configure -bfd=download -ompt -c++=icpc -cc=icc -fortran=ifort -mpi -pthread -tag=oneapi-2023.2.0-impi

I get the failure from below although the MPI library is found. If I use the mpi wrapper for icc compiler it works, but I remember that Sameer recommended not to use the wrappers.

is there a problem in configure?

Using MPI lib directory /gpfs/apps/MN5/GPP/ONEAPI/2023.2.0/mpi/2021.10.0/lib
Default C compiler will be icc
Using LD AUDITOR.
Found an x86_64 configuration definition
LINUX_TIMERS enabled
Checking Compiler OMPT support :
         Checking for version 5.0 ...icpc -qopenmp -O2 -g -DVERTEST_OMPT_5_0 ompt_ver_test.cpp -o ompt_ver_test
 yes
TAU: Both C and C++ compilers support OMPT!
Using OMPT 5
***********************************************************************
NOTE: MPI library does not have a threaded _r suffix
Checking for thread-safe MPI interface... icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
tools/src/tests/mpi_thread_test.c(1): catastrophic error: cannot open source file "tools/src/tests/mpi_thread_test.c"
    #include <mpi.h>
                    ^

compilation aborted for tools/src/tests/mpi_thread_test.c (code 4)
no
@jordialcaraz
Copy link
Contributor

Hi @antonl321 , please e-mail tau-bugs@cs.uoregon.edu, as I'm not familiar with the issue and the official support is in that e-mail.

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