I also concur with Jeff about asking software specific questions at the
software-site, abinit already has a pretty active forum:
http://forum.abinit.org/
So any questions can also be directed there.

2015-02-03 19:20 GMT+00:00 Nick Papior Andersen <nickpap...@gmail.com>:

>
>
> 2015-02-03 19:12 GMT+00:00 Elio Physics <elio-phys...@live.com>:
>
>> Hello,
>>
>> thanks for your help. I have tried:
>>
>> ./configure  --with-mpi-prefix=/usr FC=ifort CC=icc
>>
>> But i still get the same error.  Mind you if I compile it serially, that
>> is ./configure   FC=ifort CC=icc
>>
>> It works perfectly fine.
>>
>> We do have MPI installed.. I am using Quantum Espresso code with mpirun.
>>
> Sorry I thought you where also compiling your own MPI.
>
>>
>> I am attaching the config.log file. I appreciate your help.
>>
> I see you are trying to install abinit, I would highly recommend you to
> utilize their build.ac module method.
> Instead of then passing arguments to the command line you create a
> build.ac file and configure like this:
> ./configure --with-config-file
> (I would recommend you to build abinit in a sub-folder)
>
> However, your problem is that your used MPI version is compiled against
> gcc (the 4.1) so that will never work, even if you specify FC/CC
> Either:
> A) Use an MPI version installed using the intel compiler (if not provided
> by your cluster administrator you need to install it)
> B) Get a new gcc compiler
>
>>
>> Regards
>>
>> Elio
>>
>>
>> ------------------------------
>> From: nickpap...@gmail.com
>> Date: Tue, 3 Feb 2015 17:21:51 +0000
>> To: us...@open-mpi.org
>> Subject: Re: [OMPI users] configuring a code with MPI/OPENMPI
>>
>>
>> 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
>>
>> _______________________________________________ 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/26270.php
>>
>> _______________________________________________
>> 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/26273.php
>>
>
>
>
> --
> Kind regards Nick
>



-- 
Kind regards Nick

Reply via email to