[Llvm-bgq-discuss] mpic++11 Runtime Error on Cetus

Michael Collins mikeliamcollins at gmail.com
Mon Jul 18 13:11:50 CDT 2016


OK, I'll dig around a bit and see if I can find the libstdc++.so I need.

On Mon, Jul 18, 2016 at 1:02 PM, Patrick E Gartung <gartung at fnal.gov> wrote:

> My solution only worked because I compiled with gcc4.8.4 in the mpich_cpp
> wrapper. I think bgclang is compiled against a different libstdc++.so. This
> may be the cause of the segfault. You will have to determine the correct
> LD_LIBRARY_PATH to use with bgclang.
>
> From: Michael Collins <mikeliamcollins at gmail.com>
> Date: Monday, July 18, 2016 at 12:57 PM
> To: Patrick Gartung <gartung at fnal.gov>
> Cc: "llvm-bgq-discuss at lists.alcf.anl.gov" <
> llvm-bgq-discuss at lists.alcf.anl.gov>
> Subject: Re: [Llvm-bgq-discuss] mpic++11 Runtime Error on Cetus
>
> That seems to have done the trick. My program's segfault-ing, but at least
> that means the library was loaded.
>
> On Mon, Jul 18, 2016 at 12:22 PM, Michael Collins <
> mikeliamcollins at gmail.com> wrote:
>
>> Thanks, Patrick. I'll give it a try and report back.
>>
>> On Mon, Jul 18, 2016 at 12:20 PM, Patrick E Gartung <gartung at fnal.gov>
>> wrote:
>>
>>> Hi Michael
>>>
>>> I had the same problem on vesta. I had to add  the envs option with
>>> LD_LIBRARY_PATH to the qsub command
>>>
>>> qsub -n 2 --mode c1 -t 120 --env
>>> LD_LIBRARY_PATH=/soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/:/soft/compilers/gcc/4.8.4/lib/gcc/:/soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/:$LD_LIBRARY_PATH
>>>
>>> From: <llvm-bgq-discuss-bounces at lists.alcf.anl.gov> on behalf of
>>> Michael Collins <mikeliamcollins at gmail.com>
>>> Date: Monday, July 18, 2016 at 12:14 PM
>>> To: "llvm-bgq-discuss at lists.alcf.anl.gov" <
>>> llvm-bgq-discuss at lists.alcf.anl.gov>
>>> Subject: [Llvm-bgq-discuss] mpic++11 Runtime Error on Cetus
>>>
>>> Hello, all.
>>>
>>> I'm having some trouble running my Swift/T project on Cetus. I'm
>>> compiling a shared library with mpic++11 under the mpiwrapper-bclang-mpi3
>>> wrapper, and my program is dynamically linked to it. At runtime, I'm
>>> getting the following error when my program tries to load the shared
>>> library:
>>>
>>> stderr[1]: couldn't load file
>>> "/home/mlcoll/src/eq-c/tests/genmax/EQC/libeqc.so":
>>> /lib64/bgq/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by
>>> /soft/compilers/bgclang/r266865-stable/libc++/lib/libc++.so.1)
>>>
>>> Any ideas on how to remedy this?
>>>
>>> Thanks,
>>> Mike Collins
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alcf.anl.gov/pipermail/llvm-bgq-discuss/attachments/20160718/403ee89c/attachment-0001.html>


More information about the llvm-bgq-discuss mailing list