[Pw_forum] installation error: linking to Fortran libraries from C fails
Amel Alhassan
alhassan.amel at gmail.com
Fri Jan 20 08:54:15 CET 2017
Thank you for writing.
Yes the OS is very old that is why I am trying an old version of QE. Also
because it is the version I started my project with in another computer,
then I had to continue in this one.
Kind regards,
Amel
On 20 Jan 2017 07:42, "Phanikumar Pentyala" <phani12.chem at gmail.com> wrote:
> First of all, why you want to install QE-4.2? I think it's already version
> 6 available in online.
>
>
> Also, OS (ubuntu) very old version. Now many updates and software also not
> available in 12 version
>
>
> On Thu, Jan 19, 2017 at 7:37 PM, Amel Alhassan <alhassan.amel at gmail.com>
> wrote:
>
>> Dear All,
>>
>> I am trying to install quantum espresso 4.2.1 in my Ubuntu 12.04 64 bits
>> devise.
>>
>> when trying $./configure I get the following error
>>
>> configure: error: in `/home/amel/espresso-4.2.1':
>>> configure: error: linking to Fortran libraries from C fails
>>> See `config.log' for more details.
>>
>>
>> I have tried changing the include/c_defs.h and clib/memstaat.c
>> replacing F77 by gfortran.
>>
>> Tried to install BLAS, LAPACK, FFT, MPI libraries but they are
>> not recognized by the system.
>>
>> Also tried
>> $sudo apt-get install build-essential fftw3-dev gfortran
>>
>>> 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
>>
>>
>> $sudo apt-get install liblapack-dev fftw-dev
>>
>>> 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
>>
>>
>>
>> I also tried
>>
>> $gcc --version
>>
>>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>>
>>
>> $gfortran --version
>>
>>> GNU Fortran (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>>
>>
>>
>> $/opt/mpich2GNU/bin/mpif90 -show
>>
>> bash: $/opt/mpich2GNU/bin/mpif90: No such file or directory
>>
>>
>>
>> Your help is kindly appreciated.
>>
>> Thank you,
>>
>> Kind regards,
>> Amel Alhassan
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://pwscf.org/mailman/listinfo/pw_forum
>>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20170120/66242373/attachment.html>
More information about the users
mailing list