Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

error compiling OpenMPI 1.3.3 with ifort/icc/icpc 11.1.046

gregfi04
Beginner
362 Views
When compiling OpenMPI version 1.3.3, I receive the followign error:

Making all in tools/ompi_info
make[2]: Entering directory `/home/fischega/src/openmpi-1.3.3/ompi/tools/ompi_info'
depbase=`echo components.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
icpc11.1 -DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -DOMPI_CONFIGURE_USER=""fischega"" -DOMPI_CONFIGURE_HOST=""susedev1"" -DOMPI_CONFIGURE_DATE=""Thu Sep 3 11:57:18 EDT 2009"" -DOMPI_BUILD_USER=""$USER"" -DOMPI_BUILD_HOST=""`hostname`"" -DOMPI_BUILD_DATE=""`date`"" -DOMPI_BUILD_CFLAGS=""-O3 -DNDEBUG -finline-functions -fno-strict-aliasing -restrict -pthread -fvisibility=hidden"" -DOMPI_BUILD_CPPFLAGS=""-I../../.. "" -DOMPI_BUILD_CXXFLAGS=""-O3 -DNDEBUG -finline-functions -pthread"" -DOMPI_BUILD_CXXCPPFLAGS=""-I../../.. "" -DOMPI_BUILD_FFLAGS="""" -DOMPI_BUILD_FCFLAGS="""" -DOMPI_BUILD_LDFLAGS=""-export-dynamic "" -DOMPI_BUILD_LIBS=""-lnsl -lutil "" -DOMPI_CC_ABSOLUTE=""/usr/scripts/icc11.1"" -DOMPI_CXX_ABSOLUTE=""/usr/scripts/icpc11.1"" -DOMPI_F77_ABSOLUTE=""/usr/scripts/ifort11.1"" -DOMPI_F90_ABSOLUTE=""/usr/scripts/ifort11.1"" -DOMPI_F90_BUILD_SIZE=""small"" -I../../.. -O3 -DNDEBUG -finline-functions -pthread -MT components.o -MD -MP -MF $depbase.Tpo -c -o components.o components.cc &&\
mv -f $depbase.Tpo $depbase.Po
icpc: error #10236: File not found: 'Sep'
icpc: error #10236: File not found: '3'
icpc: error #10236: File not found: '11:57:18'
icpc: error #10236: File not found: 'EDT'
icpc: error #10236: File not found: '2009"'
icpc: error #10236: File not found: 'Sep'
icpc: error #10236: File not found: '3'
icpc: error #10236: File not found: '12:09:50'
icpc: error #10236: File not found: 'EDT'
icpc: error #10236: File not found: '2009"'
icpc: command line warning #10159: invalid argument for option '-fvisibility'
icpc: error #10236: File not found: '"'
icpc: command line warning #10156: ignoring option '-p'; no argument required
icpc: error #10236: File not found: '"'
icpc: error #10236: File not found: '"'
icpc: error #10236: File not found: '"'
make[2]: *** [components.o] Error 1
make[2]: Leaving directory `/home/fischega/src/openmpi-1.3.3/ompi/tools/ompi_info'

I found this explanation of the error code:

http://software.intel.com/en-us/articles/intel-compiler-error-10236-with-soname-corrupts-shared-library-on-linux/

However, the offending compiler command doesn't seem to have anything to do with the linker. Any ideas?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
362 Views

Moving this to the C++ forum, since Fortran is not involved here. It does sound as if you have an error in your makefile.
0 Kudos
Jeff_Squyres
Beginner
362 Views
Quoting - gregfi04
When compiling OpenMPI version 1.3.3, I receive the followign error:

Making all in tools/ompi_info
make[2]: Entering directory `/home/fischega/src/openmpi-1.3.3/ompi/tools/ompi_info'
depbase=`echo components.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
icpc11.1 -DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -DOMPI_CONFIGURE_USER=""fischega"" -DOMPI_CONFIGURE_HOST=""susedev1"" -DOMPI_CONFIGURE_DATE=""Thu Sep 3 11:57:18 EDT 2009"" -DOMPI_BUILD_USER=""$USER"" -DOMPI_BUILD_HOST=""`hostname`"" -DOMPI_BUILD_DATE=""`date`"" -DOMPI_BUILD_CFLAGS=""-O3 -DNDEBUG -finline-functions -fno-strict-aliasing -restrict -pthread -fvisibility=hidden"" -DOMPI_BUILD_CPPFLAGS=""-I../../.. "" -DOMPI_BUILD_CXXFLAGS=""-O3 -DNDEBUG -finline-functions -pthread"" -DOMPI_BUILD_CXXCPPFLAGS=""-I../../.. "" -DOMPI_BUILD_FFLAGS="""" -DOMPI_BUILD_FCFLAGS="""" -DOMPI_BUILD_LDFLAGS=""-export-dynamic "" -DOMPI_BUILD_LIBS=""-lnsl -lutil "" -DOMPI_CC_ABSOLUTE=""/usr/scripts/icc11.1"" -DOMPI_CXX_ABSOLUTE=""/usr/scripts/icpc11.1"" -DOMPI_F77_ABSOLUTE=""/usr/scripts/ifort11.1"" -DOMPI_F90_ABSOLUTE=""/usr/scripts/ifort11.1"" -DOMPI_F90_BUILD_SIZE=""small"" -I../../.. -O3 -DNDEBUG -finline-functions -pthread -MT components.o -MD -MP -MF $depbase.Tpo -c -o components.o components.cc &&
mv -f $depbase.Tpo $depbase.Po
icpc: error #10236: File not found: 'Sep'
icpc: error #10236: File not found: '3'
icpc: error #10236: File not found: '11:57:18'
icpc: error #10236: File not found: 'EDT'
icpc: error #10236: File not found: '2009"'
icpc: error #10236: File not found: 'Sep'
icpc: error #10236: File not found: '3'
icpc: error #10236: File not found: '12:09:50'
icpc: error #10236: File not found: 'EDT'
icpc: error #10236: File not found: '2009"'
icpc: command line warning #10159: invalid argument for option '-fvisibility'
icpc: error #10236: File not found: '"'
icpc: command line warning #10156: ignoring option '-p'; no argument required
icpc: error #10236: File not found: '"'
icpc: error #10236: File not found: '"'
icpc: error #10236: File not found: '"'
make[2]: *** [components.o] Error 1
make[2]: Leaving directory `/home/fischega/src/openmpi-1.3.3/ompi/tools/ompi_info'

I found this explanation of the error code:

http://software.intel.com/en-us/articles/intel-compiler-error-10236-with-soname-corrupts-shared-library-on-linux/

However, the offending compiler command doesn't seem to have anything to do with the linker. Any ideas?

This looks like it could be a shell or Makefile problem. You should probably visit http://www.open-mpi.org/community/help/ and post all the requested info to the Open MPI user's mailing list. It is likely not an intel compiler-specific problem (I build with the Intel 11.1 compiler all the time).
0 Kudos
Reply