[Pw_forum] installation error: linking to Fortran libraries from C fails
Amel Alhassan
alhassan.amel at gmail.com
Fri Feb 3 22:41:44 CET 2017
Hello
Used
$.\configure --disable-wrappers
that worked. But then make all works for a while befor hitting some errors
and stop
here is the errors i got
gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
>> -I../include -I../iotk/src -I../ELPA/src -I. -c fft_scalar.f90
>
> Warning: Nonexistent include directory "../ELPA/src"
>
> fft_scalar.f90:142.14:
>
>
>> integer*0, SAVE :: fw_planz( ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:143.14:
>
>
>> integer*0, SAVE :: bw_planz( ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:453.14:
>
>
>> integer*0, SAVE :: fw_plan( 2, ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:454.14:
>
>
>> integer*0, SAVE :: bw_plan( 2, ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1068.14:
>
>
>> integer*0, save :: fw_plan(ndims) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1069.14:
>
>
>> integer*0, save :: bw_plan(ndims) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1356.11:
>
>
>> integer*0, SAVE :: fw_plan ( 3, ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1357.11:
>
>
>> integer*0, SAVE :: bw_plan ( 3, ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1659.15:
>
>
>> integer*0, save :: bw_planz( ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1660.15:
>
>
>> integer*0, save :: bw_planx( ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1661.15:
>
>
>> integer*0, save :: bw_plany( ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1662.15:
>
>
>> integer*0, save :: bw_planxy( ndims ) = 0
>
> 1
>
> Error: Old-style type declaration INTEGER*0 not supported at (1)
>
> fft_scalar.f90:1738.13:
>
>
>> if ( bw_planz(icurrent) /= 0 ) &
>
> 1
>
> Error: Function 'bw_planz' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1739.37:
>
>
>> call dfftw_destroy_plan(bw_planz(icurrent))
>
> 1
>
> Error: Function 'bw_planz' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1740.34:
>
>
>> call dfftw_plan_many_dft( bw_planz(icurrent), 1, nz, ldx*ldy, &
>
> 1
>
> Error: Function 'bw_planz' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1744.13:
>
>
>> if ( bw_planxy(icurrent) /= 0 ) &
>
> 1
>
> Error: Function 'bw_planxy' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1745.37:
>
>
>> call dfftw_destroy_plan(bw_planxy(icurrent))
>
> 1
>
> Error: Function 'bw_planxy' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1746.34:
>
>
>> call dfftw_plan_many_dft( bw_planxy(icurrent), 2, (/nx, ny/),
>> nplanes,&
>
> 1
>
> Error: Function 'bw_planxy' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1803.29:
>
>
>> call dfftw_execute_dft(bw_planz(ip), f(1:), f(1:))
>
> 1
>
> Error: Function 'bw_planz' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1804.29:
>
>
>> call dfftw_execute_dft(bw_planxy(ip), f(nstart:), f(nstart:))
>
> 1
>
> Error: Function 'bw_planxy' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1417.11:
>
>
>> IF( fw_plan( 1, icurrent) /= 0 ) &
>
> 1
>
> Error: Function 'fw_plan' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1418.37:
>
>
>> CALL dfftw_destroy_plan( fw_plan( 1, icurrent) )
>
> 1
>
> Error: Function 'fw_plan' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1419.11:
>
>
>> IF( bw_plan( 1, icurrent) /= 0 ) &
>
> 1
>
> Error: Function 'bw_plan' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1420.37:
>
>
>> CALL dfftw_destroy_plan( bw_plan( 1, icurrent) )
>
> 1
>
> Error: Function 'bw_plan' at (1) has no IMPLICIT type
>
> fft_scalar.f90:1421.11:
>
>
>> IF( fw_plan( 2, icurrent) /= 0 ) &
>
> 1
>
> Error: Function 'fw_plan' at (1) has no IMPLICIT type
>
> Fatal Error: Error count reached limit of 25.
>
> make[1]: *** [fft_scalar.o] Error 1
>
> make[1]: Leaving directory `/home/amel/espresso-5.1.1/Modules'
>
> make: *** [mods] Error 1
>
>
>>
obviously there is a problem related to the fft.
I downloaded fftw-3.3.6-pl1.tar.gz and put it into the archive folder. I
think I should specify it somewhere but I am not know where and how. I hope
someone can help me here
Kind regards,
Amel
On Fri, Jan 20, 2017 at 10:54 AM, Amel Alhassan <alhassan.amel at gmail.com>
wrote:
> 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
>>
>
--
Amel Shamseldeen Ali Alhassan
Lecturer
Nile College
Khartoum, Sudan
+249 915382411
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20170204/bbd0fc74/attachment.html>
More information about the users
mailing list