Re: [OMPI users] mpicc and libstdc++, general building question

2017-04-08 Thread Christof Koehler
Hello Reuti, thank you very much for your interest and the information. I found out what is causing this. It is the --enable-static option to configure. With --enable-static a "ldd *so*|grep libstdc++" in openmpi's lib directory gives libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x2b2b42b

Re: [OMPI users] mpicc and libstdc++, general building question

2017-04-07 Thread Reuti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am 07.04.2017 um 19:11 schrieb Christof Koehler: > […] > > On top, all OpenMPI libraries when checked with ldd (gcc 6.3 module > still loaded) reference the /usr/lib64/libstdc++.so.6 and not > /cluster/comp/gcc/6.3.0/lib64/libstdc++.so.6 which l

[OMPI users] mpicc and libstdc++, general building question

2017-04-07 Thread Christof Koehler
Hello everybody, we are trying to build an appilcation with specific C++ requirements and for some reason we get the "wrong" libstdc++ library in the end. At the moment the working hypothesis is that this might be related to our OpenMPI built. I will try to explain below. The application, which i