[Pw_forum] error: Fortran 77 compiler cannot create executables
P.Canepa
pc229 at kent.ac.uk
Tue Feb 2 13:03:00 CET 2010
Dear Masoud,
we did have the same problems the first time we tried to compile quantum espresso, on our cluster, with ifort and openmpi! We tackled the problem reinstalling the library libstdc++5.0 which are requested from ifort compilers. You have to make sure that you have installed the version 5 neither the 6 nor older. However have a look at the config.log to understand where the ./configure is stuck it gives good info.
Best Regards, Piero
--
Pieremanuele Canepa
Room 104
School of Physical Sciences, Ingram Building,
University of Kent, Canterbury, Kent,
CT2 7NH
United Kingdom
-----------------------------------------------------------
________________________________________
From: pw_forum-bounces at pwscf.org [pw_forum-bounces at pwscf.org] On Behalf Of Gabriele Sclauzero [sclauzer at sissa.it]
Sent: Monday, February 01, 2010 5:08 PM
To: PWSCF Forum
Subject: Re: [Pw_forum] error: Fortran 77 compiler cannot create executables
Dear Masoud,
first of all I found quite difficult to follow your thread, since you continue reporting
your old emails and one has to go till the bottom of the page (which is getting
progressively more and more far...) before understanding if you made any progress. Can you
try to structure better your posts, removing non necessary parts?
Masoud Nahali wrote:
>
>
> Dear Quantum Espresso Users
>
> I had installed Quantum Espresso previously on my AMD (3 core)
> parallel. but Now I get an error !!
> I have installed Intel Compilers (version 11) included fort, icc,
> icpc, and Math Kernel; and parallelized them by lam successfully.
> my operating system is OpenSUSE 11.2 (64 bit). Also mpif77 and
> mpicc work well on my 3 core AMD.
>
> I have installed ACML also, that is not necessary when we have MKL.
>
> but error: Fortran 77 compiler cannot create executables !!
>
> linux-4koa:~/Install/QSPRESSO4.1.2/espresso-4.1.2 # ./configure
> MPIF90=mpif77 F77=mpif77 CC=mpicc --enable-parallel
> checking build system type... x86_64-unknown-linux-gnu
> checking architecture... x86_64
> checking for ifort... ifort
> checking for Fortran 77 compiler default output file name...
> configure: error: Fortran 77 compiler cannot create executables
> See `config.log' for more details.
>
>
> with and without --enable-parallel I saw the same error. anyhow it is
> amazing that I had installed parallel Quantum Espresso on this AMD and
> using
> CentOS5.4 (64 bit) as the Operating system.
It's amazing that after a couple of weeks we are still stuck at the same point... Is there
anyone in your room/floor/building/institution that can help you in installing properly a
parallel Fortran compiler and then setup the bash environment correctly (if you don't want
to read the instructions that usually come with the MPI package)?
That would be the starting point. If you don't have a working compiler and bash
environment there are few chances that configure script of QE could do its job.
>
>
> This is Ngoc Linh Nguyen's solution :
> The problem could come from Fortran 77 compiler.
> You say that the Intel Compilers (version 11) included ifort, icc ...
> has been installed, so let try compiling without specifying "F77=mpif77
> CC=mpicc".
>
> but this can not help me, and the error remained.
>
> Someone here suggested me below lines but the error remained:
No! If I remember well, someone suggested to try with MPIF90=mpif90. The option
MPIF90=mpif77 that you still continue to use is obviously wrong... can you see why?
>
> linux-76gb:~/LinSoft/QSPRESSO4.1.2/espresso-4.1.2 # ./configure MPIF90=mpif77 F77=ifort CC=icc –enable-parallel
> checking build system type... x86_64-unknown-linux-gnu
> checking architecture... x86_64
> checking for ifort... ifort
> checking for Fortran 77 compiler default output file name... configure: error: Fortran 77 compiler cannot create executables
> See `config.log' for more details.
>
>
> Is it really necessary to install a F77 compiler?
> I think that the ifort is sufficient !! No ?!!
From what I can see from the Makefile, there is one single routine which needs F77
(flib/dlamch.f). Anyway the question is why your compiler seems not to work. You have to
understand this before running configure again. For instance try to compile that f77
subroutine alone and see if it works.
Regards
GS
>
> I appreciate so much if you help me. Many thanks
>
>
> Masoud Nahali
> SUT
> Physical Chemistry
>
>
>
> ------------------------------------------------------------------------
> Hotmail: Trusted email with powerful SPAM protection. Sign up now.
> <https://signup.live.com/signup.aspx?id=60969>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
--
o ------------------------------------------------ o
| Gabriele Sclauzero, PhD Student |
| c/o: SISSA & CNR-INFM Democritos, |
| via Beirut 2-4, 34014 Trieste (Italy) |
| email: sclauzer at sissa.it |
| phone: +39 040 3787 511 |
| skype: gurlonotturno |
o ------------------------------------------------ o
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://www.democritos.it/mailman/listinfo/pw_forum
More information about the users
mailing list