On 01/25/2018 12:32 PM, Eldar Khattatov wrote:
Sorry that was indeed a wrong file. I attached the right one.

I *think* the problem comes from the this error:

/usr/bin/c++   [...]
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so: error: undefined reference to 'opal_uses_threads' /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so: error: undefined reference to 'opal_class_initialize' /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so: error: undefined reference to 'opal_list_item_t_class'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_48103.dir/build.make:130: recipe for target 'cmTC_48103' failed
make[1]: *** [cmTC_48103] Error 1
make[1]: Leaving directory '/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_48103/fast' failed
make: *** [cmTC_48103/fast] Error 2

Source file was:
int main(){ return 0; }


Here, you are using the regular C++ compiler to link an MPI program, and it forgets to link in one of the ancillary OpenMPI libraries that has the opal_... functions. You ought to be using the mpic++ program to compile. Do you have the CXX environment variable set?

There have been recent changes to the MPI cmake configuration. Are you using the newest development version of deal.II?

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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