Hi John,
The mpicxx -show command was helpful. I ended up leaving the libmesh build
alone and getting the rest of our code to not link to libmpi_mt.so and that
removed the conflict.

Thanks,
Jim

On Mon, Dec 3, 2012 at 9:47 PM, John Peterson <[email protected]> wrote:

>
>
> On Monday, December 3, 2012, Jim Fonseca wrote:
>
>> Hi,
>> When I build my code I'm getting a linking problem because my code as well
>> as other libraries are using the thread safe libmpi_mt.so library, but
>> libmesh is building with libmpi.so
>> What's the best approach to fixing this?
>
>
>
> Hmm... Are you using mpicxx Et al to compile libmesh?  What does mpicxx
> -show say?  We are basically going to link against whatever it links to.
>
>
>
>>  MPI is installed on our cluster so
>> I don't have direct access to that. I see in the libmesh configuration
>> where it's looking for libmpi.so, but I'm not sure if trying to tell
>> libmesh to use libmpi_mt is a good idea. I was thinking of trying to try
>> configure's LIBS but I feel like that wouldn't work.
>>
>> ld: MPIR_Thread: TLS definition in /apps/rhel5/intel/impi/
>> 4.1.0.024/intel64/lib/libmpi_mt.so.4<
>> http://4.1.0.20/intel64/lib/libmpi_mt.so.4>
>>
>> section
>> .tbss mismatches non-TLS definition in /apps/rhel5/intel/impi/
>> 4.1.0.024/intel64/lib/libmpi.so <http://4.1.0.20/intel64/lib/libmpi.so>
>> section
>> .bss
>> /apps/rhel5/intel/impi/4.1.0.024/intel64/lib/libmpi_mt.so.4<
>> http://4.1.0.20/intel64/lib/libmpi_mt.so.4>:
>>
>> could not read symbols: Bad value
>>
>> Thanks,
>> Jim
>>
>> --
>> Jim Fonseca, PhD
>> Research Scientist
>> Network for Computational Nanotechnology
>> Purdue University
>> 765-496-6495
>> www.jimfonseca.com
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Libmesh-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>>
>
>
> --
> John
>



-- 
Jim Fonseca, PhD
Research Scientist
Network for Computational Nanotechnology
Purdue University
765-496-6495
www.jimfonseca.com
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to