[mvapich-discuss] configure with limic2

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Oct 21 20:45:56 EDT 2011


It sounds like you have limic2 installed in /usr/local and your
system's ld doesn't use /usr/local/lib default.  One solution is to
use LDFLAGS='-Wl,-rpath=/usr/local/lib' (or whatever path liblimic2 is
installed in).

./configure --with-limic2 LDFLAGS='-Wl,-rpath=/usr/local/lib'

Hope this helps.

On Fri, Oct 21, 2011 at 6:59 PM, teng ma <xiaok1981 at gmail.com> wrote:
> Hi Jonathan:
>
>     last configure error is gone in mvapich2-1.7 .( MPI_SIZEOF_AINT fail ).
> But there is another configure error:
> checking whether /bin/bash supports arrays... yes
> checking limic.h usability... yes
> checking limic.h presence... yes
> checking for limic.h... yes
> checking for limic_open in -llimic2... yes
> configure: error: Unable to run program linked with LiMIC2
>
> Teng
>
> On Fri, Oct 21, 2011 at 5:41 PM, Jonathan Perkins
> <perkinjo at cse.ohio-state.edu> wrote:
>>
>> Hello Teng, I think the problem is caused by not finding the limic2
>> library.  With older versions of MVAPICH2 configure did not check
>> whether it could link at runtime with limic2 and a later configure
>> test for MPI_SIZEOF_AINT would fail with this misleading message.
>>
>> This issue has been fixed in MVAPICH2-1.7.  Can you download this
>> version and let us know if it works for you?
>>
>> On Fri, Oct 21, 2011 at 4:57 PM, teng ma <xiaok1981 at gmail.com> wrote:
>> > I try to configure mvapich2-1.7rc with limic2(0.5.5) like
>> > ./configure --prefix /opt/mvapich-withlimic --with-limic2
>> >  It always complains follows:
>> > configure: error: Unable to convert MPI_SIZEOF_AINT to a hex string.
>> > This
>> > is either because we are building on a very strange platform or there is
>> > a
>> > bug somewhere in configure.
>> >
>> > the limic device is there
>> > ls -l /dev/limic
>> > crw-r--r-- 1 root root 249, 0 2011-10-21 22:39 /dev/limic
>> >
>> > If without --with-limic2,  configure is smooth.   Anything wrong here?
>> >
>> > Thanks for help.
>> > Teng
>> >
>> > _______________________________________________
>> > mvapich-discuss mailing list
>> > mvapich-discuss at cse.ohio-state.edu
>> > http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>> >
>> >
>>
>>
>>
>> --
>> Jonathan Perkins
>> http://www.cse.ohio-state.edu/~perkinjo
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list