Re: [OMPI users] mpicc link shouldn't add -ldl and -lhwloc

2012-05-23 Thread Orion Poplawski
On 05/22/2012 10:34 PM, Orion Poplawski wrote: On 05/21/2012 06:15 PM, Jeff Squyres wrote: On May 15, 2012, at 10:37 AM, Orion Poplawski wrote: $ mpicc -showme:link -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi -ldl -lhwloc -ldl and -lhwloc should not be listed. The user should only link again

Re: [OMPI users] mpicc link shouldn't add -ldl and -lhwloc

2012-05-23 Thread Orion Poplawski
On 05/21/2012 06:15 PM, Jeff Squyres wrote: On May 15, 2012, at 10:37 AM, Orion Poplawski wrote: $ mpicc -showme:link -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi -ldl -lhwloc -ldl and -lhwloc should not be listed. The user should only link against libraries that they are using directly, nam

Re: [OMPI users] mpicc link shouldn't add -ldl and -lhwloc

2012-05-21 Thread Jeff Squyres
On May 15, 2012, at 10:37 AM, Orion Poplawski wrote: > $ mpicc -showme:link > -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi -ldl -lhwloc > > -ldl and -lhwloc should not be listed. The user should only link against > libraries that they are using directly, namely -lmpi, and they should > explici

Re: [OMPI users] mpicc link shouldn't add -ldl and -lhwloc

2012-05-21 Thread Jeff Squyres
Thank you! This is on my list to investigate; I'm sorry I haven't had a chance to look at it in detail yet. I hope to look at this in detail later this week. On May 21, 2012, at 4:06 PM, Orion Poplawski wrote: > On 05/15/2012 10:37 AM, Orion Poplawski wrote: >> See https://bugzilla.redhat.c

Re: [OMPI users] mpicc link shouldn't add -ldl and -lhwloc

2012-05-21 Thread Orion Poplawski
On 05/15/2012 10:37 AM, Orion Poplawski wrote: See https://bugzilla.redhat.com/show_bug.cgi?id=814798 $ mpicc -showme:link -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi -ldl -lhwloc -ldl and -lhwloc should not be listed. The user should only link against libraries that they are using directly,

[OMPI users] mpicc link shouldn't add -ldl and -lhwloc

2012-05-15 Thread Orion Poplawski
See https://bugzilla.redhat.com/show_bug.cgi?id=814798 $ mpicc -showme:link -pthread -m64 -L/usr/lib64/openmpi/lib -lmpi -ldl -lhwloc -ldl and -lhwloc should not be listed. The user should only link against libraries that they are using directly, namely -lmpi, and they should explicitly add -