error when compiling yambo-4.0.3-rev.104
Posted: Fri Jul 08, 2016 11:52 am
Dear Developers and Users,
I was compiling the yambo-4.0.3-rev.104, configuring was done well, however, when I run "make yambo interfaces", the information of my server is list below:
>>>[Making modules]<<<
<command-line>: warning: missing whitespace after the macro name
make[1]: Entering directory `/WORK/suda_wjyin_1/huangyang/test/Yam/Yambo/yambo-4.0.3-rev.104/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 `/WORK/suda_wjyin_1/huangyang/test/Yam/Yambo/yambo-4.0.3-rev.104/src/modules'
make: *** [yambo] Error 2
Could you please guide me to solve this problem?
Yang Huang
Soochow University
I was compiling the yambo-4.0.3-rev.104, configuring was done well, however, when I run "make yambo interfaces", the information of my server is list below:
>>>[Making modules]<<<
<command-line>: warning: missing whitespace after the macro name
make[1]: Entering directory `/WORK/suda_wjyin_1/huangyang/test/Yam/Yambo/yambo-4.0.3-rev.104/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 `/WORK/suda_wjyin_1/huangyang/test/Yam/Yambo/yambo-4.0.3-rev.104/src/modules'
make: *** [yambo] Error 2
Could you please guide me to solve this problem?
Yang Huang
Soochow University