[Pw_forum] installation error: linking to Fortran libraries from C fails

Amel Alhassan alhassan.amel at gmail.com
Sat Feb 4 12:43:25 CET 2017


Thank you a lot Paolo.


The  include/fft_defs.h file content is this line only

#define C_POINTER integer*0


I change it to

>
> #define C_POINTER integer*8


as the read me file suggests for the 64 bits, and now I get a different
error after running

> $ make all


I get



> test -d bin || mkdir bin

cd install ; make -f extlibs_makefile libiotk

make[1]: Entering directory `/home/amel/espresso-5.1.1/install'

if test ! -d ../S3DE; then \

(gzip -dc ../archive/iotk-1.2.beta.tar.gz | (cd ../; tar -xvf -)) ; \

if test -e Makefile_iotk; then \

        (cp Makefile_iotk ../S3DE/iotk/src/Makefile); fi; \

if test -e iotk_config.h; then \

(cp iotk_config.h ../S3DE/iotk/include/iotk_config.h); fi; fi

cd ../S3DE/iotk/src; make lib+util;

make[2]: Entering directory `/home/amel/espresso-5.1.1/S3DE/iotk/src'

make[2]: Nothing to be done for `lib+util'.

make[2]: Leaving directory `/home/amel/espresso-5.1.1/S3DE/iotk/src'

cd ../bin; ln -fs ../S3DE/iotk/tools/iotk .; \

ln -fs ../S3DE/iotk/src/iotk.x .; \

ln -fs ../S3DE/iotk/src/iotk_print_kinds.x .; \

cd ../; ln -fs S3DE/iotk iotk

make[1]: Leaving directory `/home/amel/espresso-5.1.1/install'

cd install ; make -f extlibs_makefile libelpa

make[1]: Entering directory `/home/amel/espresso-5.1.1/install'

touch fake_libelpa.a

rm fake_libelpa.a

make[1]: Leaving directory `/home/amel/espresso-5.1.1/install'

( cd Modules ; make TLDEPS= all || exit 1 )

make[1]: Entering directory `/home/amel/espresso-5.1.1/Modules'

( if test -x ../install/update_version ; then \

../install/update_version; \

else if test ! -f version.f90 ; then \

cat version.f90.in > version.f90 ; fi ; fi )

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"

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_custom.f90

Warning: Nonexistent include directory "../ELPA/src"

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_parallel.f90

Warning: Nonexistent include directory "../ELPA/src"

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_interfaces.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c wrappers.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c kernel_table.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c mp_pots.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c mp_global.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c xc_rVV10.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c xc_vdW_DF.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c funct.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c generate_function.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c griddim.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c libxc_funcs.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c libxc.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c mm_dispersion.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c mp_base.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c mp_wave.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c open_close_input_file.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c paw_variables.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c plugin_flags.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c plugin_arguments.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c plugin_variables.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c pseudo_types.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c zhpev_drv.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c ptoolkit.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c qexml.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c qmmm.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c wypos.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_cards.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_namelists.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_xml_fields.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_xml_cards.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_xml.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c xml_io_base.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c xml_input.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_input.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_ncpp.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c uspp.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_uspp.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_upf_v1.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_upf_v2.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c upf.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c upf_to_internal.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c read_pseudo.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c recvec_subs.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c run_info.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c space_group.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c splinelib.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c stick_base.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c stick_set.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c timestep.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c tsvdw.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c wannier_gw.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c wave_base.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c wavefunctions.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c write_upf_v2.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c ws_base.f90

Warning: Nonexistent include directory "../ELPA/src"

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW3
> -I../include -I../iotk/src -I../ELPA/src -I. -c zdotc_wrapper.f90

Warning: Nonexistent include directory "../ELPA/src"

ar ruv libqemod.a atom.o autopilot.o basic_algebra_routines.o becmod.o
> bfgs_module.o bspline.o bz_form.o cell_base.o check_stop.o clocks.o
> command_line_options.o compute_dipole.o constants.o constraints_module.o
> control_flags.o coulomb_vcut.o descriptors.o dspev_drv.o electrons_base.o
> environment.o error_handler.o fd_gradient.o fft_base.o fft_custom.o
> fft_interfaces.o fft_parallel.o fft_scalar.o fft_types.o funct.o
> generate_function.o griddim.o input_parameters.o io_files.o io_global.o
> ions_base.o kernel_table.o kind.o libxc.o libxc_funcs.o mm_dispersion.o
> mp.o mp_bands.o mp_base.o mp_diag.o mp_global.o mp_images.o mp_pots.o
> mp_pools.o mp_wave.o mp_world.o noncol.o open_close_input_file.o
> parallel_include.o parameters.o parser.o paw_variables.o plugin_flags.o
> plugin_arguments.o plugin_variables.o pseudo_types.o ptoolkit.o qexml.o
> qmmm.o radial_grids.o random_numbers.o read_cards.o read_input.o
> read_namelists.o read_ncpp.o read_pseudo.o read_upf_v1.o read_upf_v2.o
> read_uspp.o read_xml.o read_xml_cards.o read_xml_fields.o recvec.o
> recvec_subs.o run_info.o space_group.o set_signal.o splinelib.o
> stick_base.o stick_set.o timestep.o tsvdw.o upf.o upf_to_internal.o uspp.o
> version.o wannier_gw.o wannier_new.o wave_base.o wavefunctions.o wrappers.o
> write_upf_v2.o ws_base.o xc_vdW_DF.o xc_rVV10.o xml_input.o xml_io_base.o
> wypos.o zdotc_wrapper.o zhpev_drv.o

ar: creating libqemod.a

a - atom.o

a - autopilot.o

a - basic_algebra_routines.o

a - becmod.o

a - bfgs_module.o

a - bspline.o

a - bz_form.o

a - cell_base.o

a - check_stop.o

a - clocks.o

a - command_line_options.o

a - compute_dipole.o

a - constants.o

a - constraints_module.o

a - control_flags.o

a - coulomb_vcut.o

a - descriptors.o

a - dspev_drv.o

a - electrons_base.o

a - environment.o

a - error_handler.o

a - fd_gradient.o

a - fft_base.o

a - fft_custom.o

a - fft_interfaces.o

a - fft_parallel.o

a - fft_scalar.o

a - fft_types.o

a - funct.o

a - generate_function.o

a - griddim.o

a - input_parameters.o

a - io_files.o

a - io_global.o

a - ions_base.o

a - kernel_table.o

a - kind.o

a - libxc.o

a - libxc_funcs.o

a - mm_dispersion.o

a - mp.o

a - mp_bands.o

a - mp_base.o

a - mp_diag.o

a - mp_global.o

a - mp_images.o

a - mp_pots.o

a - mp_pools.o

a - mp_wave.o

a - mp_world.o

a - noncol.o

a - open_close_input_file.o

a - parallel_include.o

a - parameters.o

a - parser.o

a - paw_variables.o

a - plugin_flags.o

a - plugin_arguments.o

a - plugin_variables.o

a - pseudo_types.o

a - ptoolkit.o

a - qexml.o

a - qmmm.o

a - radial_grids.o

a - random_numbers.o

a - read_cards.o

a - read_input.o

a - read_namelists.o

a - read_ncpp.o

a - read_pseudo.o

a - read_upf_v1.o

a - read_upf_v2.o

a - read_uspp.o

a - read_xml.o

a - read_xml_cards.o

a - read_xml_fields.o

a - recvec.o

a - recvec_subs.o

a - run_info.o

a - space_group.o

a - set_signal.o

a - splinelib.o

a - stick_base.o

a - stick_set.o

a - timestep.o

a - tsvdw.o

a - upf.o

a - upf_to_internal.o

a - uspp.o

a - version.o

a - wannier_gw.o

a - wannier_new.o

a - wave_base.o

a - wavefunctions.o

a - wrappers.o

a - write_upf_v2.o

a - ws_base.o

a - xc_vdW_DF.o

a - xc_rVV10.o

a - xml_input.o

a - xml_io_base.o

a - wypos.o

a - zdotc_wrapper.o

a - zhpev_drv.o

ranlib libqemod.a

make[1]: Leaving directory `/home/amel/espresso-5.1.1/Modules'

cd install ; make -f extlibs_makefile liblapack

make[1]: Entering directory `/home/amel/espresso-5.1.1/install'

touch fake_liblapack.a

rm fake_liblapack.a

make[1]: Leaving directory `/home/amel/espresso-5.1.1/install'

cd install ; make -f extlibs_makefile libblas

make[1]: Entering directory `/home/amel/espresso-5.1.1/install'

touch fake_libblas.a

rm fake_libblas.a

make[1]: Leaving directory `/home/amel/espresso-5.1.1/install'

( cd clib ; make TLDEPS= all || exit 1 )

make[1]: Entering directory `/home/amel/espresso-5.1.1/clib'

/usr/bin/colorgcc -O3 -D__GFORTRAN -D__STD_F95 -D__FFTW3  -I../include  -c
> customize_signals.c

make[1]: /usr/bin/colorgcc: Command not found

make[1]: *** [customize_signals.o] Error 127

make[1]: Leaving directory `/home/amel/espresso-5.1.1/clib'

make: *** [libs] Error 1




Kind regards,
Amel

On Sat, Feb 4, 2017 at 12:38 PM, Paolo Giannozzi <p.giannozzi at gmail.com>
wrote:

> You need to edit include/fft_defs.h and to define C_POINTER
> Paolo
>
> Il 03/feb/2017 10:42 PM, "Amel Alhassan" <alhassan.amel at gmail.com> ha
> scritto:
>
>> 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 <+249%2091%20538%202411>
>>
>> _______________________________________________
>> 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/72adb6dc/attachment.html>


More information about the users mailing list