[mvapich-discuss] --with-limic2=/usr/local/limic2-0.5.6 seems to be ignored

Long, James W jlong1s at illinois.edu
Fri Apr 3 21:34:26 EDT 2020


After building limic2 with -

./configure --enable-module --sysconfdir=/etc —prefix=/usr/local/limic2-0.5.6
make
make install

Building mvapich2-2.3.3. results in this error,

./configure --with-limic2=/usr/local/limic2-0.5.6  LDFLAGS='-Wl,-rpath=/usr/local/limic2-0.5.6/lib' --with-hwloc --prefix=/usr/local/mpi/mvapich2/mvapich2-2.3.3-gcc-8.3.0

.
.
.

###
### Configuring hwloc distribution tarball
### Startup tests
###
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '8788' is supported by ustar format... yes
checking whether GID '440' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/local/mpi/mvapich2/mvapich2-2.3.3-gcc-8.3.0/build/mvapich2-2.3.3/contrib/hwloc':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure: error: ./configure failed for contrib/hwloc



But after copying the limic2 libraries to /usr/local/lib

#cp /usr/local/limic2-0.5.6/lib/*limic*   /usr/local/lib


The build is successful -


./configure --with-limic2=/usr/local/limic2-0.5.6  LDFLAGS='-Wl,-rpath=/usr/local/limic2-0.5.6/lib' --with-hwloc --prefix=/usr/local/mpi/mvapich2/mvapich2-2.3.3-gcc-8.3.0

.
.
.

-----------------------------------------------------------------------------
Hwloc optional build support status (more details can be found above):

Probe / display I/O devices: PCI(linux)
Graphical output (Cairo):
XML input / output:          full
libnuma memory support:      yes
Plugin support:              no
-----------------------------------------------------------------------------

Configuration completed.



This was performed on a RedHat 7.7 system.  Having /usr/local/limic2-0.5.6 in /etc/ld.so.conf.d/limic.conf makes not difference -

[root at iforgehn1 ld.so.conf.d]# cat /etc/ld.so.conf.d/limic.conf
/usr/local/limic2-0.5.6/lib

[root at iforgehn1 ld.so.conf.d]# ldconfig -p | grep limic
        liblimic2.so.0 (libc6,x86-64) => /usr/local/limic2-0.5.6/lib/liblimic2.so.0
        liblimic2.so (libc6,x86-64) => /usr/local/limic2-0.5.6/lib/liblimic2.so




Jim Long
NCSA







More information about the mvapich-discuss mailing list