Classification: UNCLASSIFIED
Caveats: NONE

Make sure that you are also using icc and icpc in addition to ifort. GCC built 
code is not necessarily compatible with Intel build
code as GCC uses some custom symbols here and there.

Andrew Burns
Lockheed Martin
Software Engineer
410-306-0409
ARL DSRC
andrew.j.bur...@us.army.mil
andrew.j.burns35....@mail.mil

-----Original Message-----
From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Elio Physics
Sent: Tuesday, February 03, 2015 12:14 PM
To: us...@open-mpi.org
Subject: [OMPI users] configuring a code with MPI/OPENMPI

Dear all,

II am trying to configure a code  with mpi (for parallel processing)  to do 
some calculations so basically I type:

./configure 

and I get:

configure: error: Fortran compiler does not provide iso_c_binding module. Use a 
more recent version or a different compiler


which means that my GCC 4.1 compiler is too old to build the code (something i 
do not have control over..It is a cluster of the Uni
where I work). so I tried another compiler ifort:

./configure  --enable-mpi=yes  FC=ifort
 but now I get another error:

 ==============================================================================
 === Multicore architecture support                                         ===
 ==============================================================================

checking whether to enable OpenMP support... no checking whether to build MPI 
code... yes checking whether the C compiler supports
MPI... no checking whether the C++ compiler supports MPI... no checking whether 
the Fortran Compiler supports MPI... no checking
whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters 
and/or MPI installation

Agaiin, I tried ti give a path for the mpi compiler:

 ./configure  --enable-mpi  --with-mpi-prefix=/usr FC=ifort

WHICH APPARENTLY SOLVED THE PREVIOUS ERROR:
 ==============================================================================
 === Multicore architecture startup                                         ===
 ==============================================================================

configure: Initializing MPI support
configure: looking for MPI in /usr
checking for a MPI C compiler... /usr/bin/mpicc checking for a MPI C++ 
compiler... /usr/bin/mpicxx checking for a MPI Fortran
compiler... /usr/bin/mpif90
configure: creating wrapper for MPI Fortran compiler
configure: GPU support disabled from command-line

But stranegly enough got me back to the furst error although I am using ifort!!

checking whether the Fortran compiler provides the iso_c_binding module... 
configure: error: Fortran compiler does not provide
iso_c_binding module. Use a more recent version or a different compiler

so what is going on?? please can anyone help me on this..Thank youu

Elio
University of Rondonia
Brazil



Classification: UNCLASSIFIED
Caveats: NONE


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to