Gilles,
Thanks again for your help. Here are the basic steps for getting OpenMPI
to build successfully using Oracle Studio 12.5 on Ubuntu 16.04.
Edit the file ‘opal/mca/timer/linux/timer_linux_component.c’ and add
‘'#include <time.h>' to
the beginning of the declarations. This fixes an ‘undefined symbol:
CLOCK_MONOTONIC’
error.
Replace the broken Oracle Solstudio 12.5 linker with the system linker:
>> cd solstudio/12.5/lib/compilers/amd64
>> mv ld ld_orig
>> ln –s /usr/bin/ld
Run configure and build the compiler. The CXX flag avoids a C and C++
compatibility error.
>> mkdir BUILD_SUN
>> cd BUILD_SUN
>> ../configure --enable-shared CC=suncc CXX=sunCC FC=sunf95
CXXFLAGS=-L/usr/lib/x86_64-linux-gnu
--prefix=/h/group/SOFTWARE/openmpi/1.10.6/sun/12.5
>> make -j 6
>> make install
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users