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

OpenMPI 2.1.2 + Intel 2018 update1: ISO C99 unsupported

CC__DIPC
Beginner
527 Views

Dear Intel community,

I am trying to compile OpenMPI 2.1.2 with Intel parallel studio 2018 update1 as follows:

source /soft/intel_parallel_studio_xe_2018_update1/bin/compilervars.sh -arch intel64 -platform linux

CC=icc CXX=icpc FC=ifort LDFLAGS="-Wc,-static-intel" CFLAGS="-D_Float128=__float128" ./configure --prefix=/home/CC_DIPC/OPENMPI-intel

Configure fails with the following message:

============================================================================
== Compiler and preprocessor tests
============================================================================

*** C compiler and preprocessor
checking for gcc... (cached) icc
checking whether we are using the GNU C compiler... (cached) yes
checking whether icc accepts -g... (cached) yes
checking for icc option to accept ISO C89... (cached) none needed
checking whether icc understands -c and -o together... (cached) yes
checking for icc option to accept ISO C99... unsupported
configure: WARNING: Open MPI requires a C99 compiler
configure: error: Aborting.

I have also tried the -std=c99 option with no success.

According to the forum (https://software.intel.com/en-us/forums/intel-c-compiler/topic/791108) our version of binutils and OS could not be supported by Intel 2018 (OS:  Ubuntu 8.04.2 LTS, binutils: 2.30-21ubuntu1~18.04.2). In fact, having a look at the Release Notes, it is clear they are not.

Has somebody succeeded to install OpenMPI with Intel 2018 update 1?

Any help will be appreciated.

Regards,

Belén

0 Kudos
2 Replies
Viet_H_Intel
Moderator
527 Views

Can you use newer compiler versions?

0 Kudos
CC__DIPC
Beginner
527 Views

Yes, we will try with 2019 compilers once they are installed.

Thank you for the suggestion.

Regards,

Belén

0 Kudos
Reply