First try and correct your compilation by using the intel c-compiler AND
the fortran compiler. You should not mix compilers.
CC=icc FC=ifort
Else the config.log is going to be necessary to debug it further.

PS: You could also try and convince your cluster administrator to provide a
more recent compiler
PPS: Do your cluster not have an MPI installation already present?


2015-02-03 17:13 GMT+00:00 Elio Physics <elio-phys...@live.com>:

> 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
>
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/02/26268.php
>



-- 
Kind regards Nick

Reply via email to