Travis W. Drayna
2017-04-08 13:00:45 UTC
Hello,
I am attempting to build OpenMPI 1.10.6 (and also 2.0.x) on several
different Ubuntu 16.04 workstations using the Oracle Developer 12.5
compilers. I have verified that the suncc, sunCC, and sunf95 compilers
work by compiling non-MPI codes.
The configure command is shown here:
../configure --enable-shared CC=suncc CXX=sunCC FC=sunf95
CXXFLAGS=-L/usr/lib/x86_64-linux-gnu
--prefix=/home/SOFTWARE/openmpi/1.10.6/sun/12.5
The build fails while trying to compile 'timer_linux_component.c':
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 136:
warning: parameter in inline asm statement unused: %3
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 182:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 203:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 224:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 245:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/timer.h", line 61:
warning: initializer does not fit or is out of range: 0x80000007
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
166: warning: implicit function declaration: clock_getres
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
166: undefined symbol: CLOCK_MONOTONIC
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
188: warning: implicit function declaration: clock_gettime
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
188: undefined symbol: CLOCK_MONOTONIC
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
197: undefined symbol: CLOCK_MONOTONIC
cc: acomp failed for
../../../../../opal/mca/timer/linux/timer_linux_component.c
Makefile:1691: recipe for target 'timer_linux_component.lo' failed
make[2]: *** [timer_linux_component.lo] Error 1
make[2]: Leaving directory
'/home/teb-admin/INSTALL/openmpi-1.10.6/BUILD_SUN/opal/mca/timer/linux'
Makefile:2234: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/teb-admin/INSTALL/openmpi-1.10.6/BUILD_SUN/opal'
Makefile:1777: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
The compiler seems unable to find 'librt.so' which can be found in the
following locations on the system:
/lib/i386-linux-gnu/librt.so.1
/lib/x86_64-linux-gnu/librt.so.1
/lib32/librt.so.1
/libx32/librt.so.1
/usr/lib/x86_64-linux-gnu/librt.so
/usr/lib32/librt.so
/usr/libx32/librt.so
I've tried various combinations of CFLAGS, LDFLAGS, and LIBS on the
configure command with no luck. Any help is greatly appreciated.
I am attempting to build OpenMPI 1.10.6 (and also 2.0.x) on several
different Ubuntu 16.04 workstations using the Oracle Developer 12.5
compilers. I have verified that the suncc, sunCC, and sunf95 compilers
work by compiling non-MPI codes.
The configure command is shown here:
../configure --enable-shared CC=suncc CXX=sunCC FC=sunf95
CXXFLAGS=-L/usr/lib/x86_64-linux-gnu
--prefix=/home/SOFTWARE/openmpi/1.10.6/sun/12.5
The build fails while trying to compile 'timer_linux_component.c':
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 136:
warning: parameter in inline asm statement unused: %3
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 182:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 203:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 224:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/atomic.h", line 245:
warning: parameter in inline asm statement unused: %2
"../../../../../opal/include/opal/sys/amd64/timer.h", line 61:
warning: initializer does not fit or is out of range: 0x80000007
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
166: warning: implicit function declaration: clock_getres
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
166: undefined symbol: CLOCK_MONOTONIC
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
188: warning: implicit function declaration: clock_gettime
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
188: undefined symbol: CLOCK_MONOTONIC
"../../../../../opal/mca/timer/linux/timer_linux_component.c", line
197: undefined symbol: CLOCK_MONOTONIC
cc: acomp failed for
../../../../../opal/mca/timer/linux/timer_linux_component.c
Makefile:1691: recipe for target 'timer_linux_component.lo' failed
make[2]: *** [timer_linux_component.lo] Error 1
make[2]: Leaving directory
'/home/teb-admin/INSTALL/openmpi-1.10.6/BUILD_SUN/opal/mca/timer/linux'
Makefile:2234: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/teb-admin/INSTALL/openmpi-1.10.6/BUILD_SUN/opal'
Makefile:1777: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
The compiler seems unable to find 'librt.so' which can be found in the
following locations on the system:
/lib/i386-linux-gnu/librt.so.1
/lib/x86_64-linux-gnu/librt.so.1
/lib32/librt.so.1
/libx32/librt.so.1
/usr/lib/x86_64-linux-gnu/librt.so
/usr/lib32/librt.so
/usr/libx32/librt.so
I've tried various combinations of CFLAGS, LDFLAGS, and LIBS on the
configure command with no luck. Any help is greatly appreciated.