I tried to set up dealII with the Intel MPI compilers (using gcc 6.3.0 in 
the background), but already in the initial setup before I can choose any 
values I get the error

Building CXX object CMakeFiles/cmTC_8341d.dir/testCXXCompiler.cxx.o


/share/apps/software/Compiler/intel/2017.1.132-GCC-6.3.0-2.27/impi/2017.1.132/bin64/mpicxx
-o CMakeFiles/cmTC_8341d.dir/testCXXCompiler.cxx.o -c
~/Downloads/dealii/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


Linking CXX executable cmTC_8341d

~/local_opt/cmake/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_8341d.dir/link.txt --verbose=1


/share/apps/software/Compiler/intel/2017.1.132-GCC-6.3.0-2.27/impi/2017.1.132/bin64/mpicxx
-rdynamic CMakeFiles/cmTC_8341d.dir/testCXXCompiler.cxx.o -o cmTC_8341d


/share/apps/software/Compiler/intel/2017.1.132-GCC-6.3.0-2.27/impi/2017.1.132/intel64/lib/release_mt/libmpi.so:
error: undefined reference to 'pthread_sigmask'


/share/apps/software/Compiler/intel/2017.1.132-GCC-6.3.0-2.27/impi/2017.1.132/intel64/lib/release_mt/libmpi.so:
error: undefined reference to 'pthread_create'


When compiling it with OpenMPI using the same GCC it works. I added 
-pthread and -lpthread to all possible linker flag locations (i.e. 
DEAL_II_LINKER_FLAGS and DEAL_II_CXX_FLAGS), but the error persists. 
Compiling an example program with mpicxx -lpthread works. Additional tests 
show that the OpenMPI-version of mpicxx works fine with -pthread and with 
-lpthread, but the Intel MPI-version of mpicxx only works with -lpthread. 
Is there a fix I could apply so that the test passes?
Thanks!

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to