Error in compile yambo-4.0.2-rev.90

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
Zhishuo Huang
Posts: 10
Joined: Tue Nov 17, 2015 9:28 am

Error in compile yambo-4.0.2-rev.90

Post by Zhishuo Huang » Tue Nov 17, 2015 9:48 am

Dear all,
I was compiling the yambo-4.0.2-rev.90, the information of my server is list below:
  • # [VER] 4.0.2 r.90
    #
    # - GENERAL CONFIGURATIONS -
    #
    # [SYS] linux@x86_64
    # [SRC] /home/stu/soft/yambo-4.0.2-rev.90
    # [BIN] /home/stu/soft/yambo-4.0.2-rev.90/bin
    # [-] Double precision
    # [X] Redundant compilation
    # [-] Run-Time timing profile
    #
    # - PARALLEL SUPPORT -
    #
    # [X] MPI
    # [-] OpenMP
    # [-] Blue-Gene specific procedures
    #
    # - LIBRARIES (E=external library; I=internal library; -=not used;) -
    #
    # I/O
    # [ I ] IOTK : -liotk (QE 5.0)
    # [ - ] ETSF_IO:
    # [ I ] NETCDF : -lnetcdff -lnetcdf (No large files support)
    # [ - ] HDF5 :
    #
    # MATH
    # [ I ] FFT : Internal Goedecker FFT with 0 cache
    # [ I ] BLAS : -lblas
    # [ I ] LAPACK : -llapack
    # [ - ] SCALAPACK:
    #
    # OTHER
    # [ I ] LibXC : -lxc
    # [ - ] MPI library:
    #
    # - COMPILERS, MAKE and EDITOR -
    #
    # [ CPP ] gcc -E -P -D_MPI -D_FFTSG
    # [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
    # [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
    # [ F90 ] gfortran -g -O3 -mtune=native
    # [MPIF ] mpif90 -g -O3 -mtune=native
    # [ F77 ] gfortran -g -O3 -mtune=native
    # [Cmain]
    # [NoOpt] -g -O0 -mtune=native
But I got the error information:
  • >>>[Making modules]<<<
    make[1]: Entering directory `/home/stu/soft/yambo-4.0.2-rev.90/src/modules'
    mod_pars.f90(28): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
    use netcdf
    -----^
    mod_pars.f90(50): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_REAL]
    integer, parameter :: nf90_SP = nf90_real
    ----------------------------------^
    mod_pars.f90(50): error #6404: This name does not have a type, and must have an explicit type. [NF90_REAL]
    integer, parameter :: nf90_SP = nf90_real
    ----------------------------------^
    compilation aborted for mod_pars.f90 (code 1)
    make[1]: *** [mod_pars.o] Error 1
    make[1]: Leaving directory `/home/stu/soft/yambo-4.0.2-rev.90/src/modules'
    make: *** [yambo] Error 2
I have no idea how to solve it.

User avatar
myrta gruning
Posts: 240
Joined: Tue Mar 17, 2009 11:38 am
Contact:

Re: Error in compile yambo-4.0.2-rev.90

Post by myrta gruning » Tue Nov 17, 2015 9:55 am

Dear Zhishuo Huang

the problem seems related with linking NETCDF. Can you please upload your config.log?
It can help us understanding the problem.

Best,
Myrta
Dr Myrta Grüning
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland

http://www.researcherid.com/rid/B-1515-2009

Zhishuo Huang
Posts: 10
Joined: Tue Nov 17, 2015 9:28 am

Re: Error in compile yambo-4.0.2-rev.90

Post by Zhishuo Huang » Tue Nov 17, 2015 10:08 am

Dear Myrta,

Thank you very much for such a quick reply.
I re-compile the code by ifort just now with no error.

I am quite sorry to trouble you.

Best Wishes
Zhishuo Huang

Post Reply