Serial Yambo Build Problem

Various technical topics such as parallelism and efficiency, netCDF problems, the Yambo code structure itself, are posted here.

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

Post Reply
firatyilmaz
Posts: 4
Joined: Fri Feb 10, 2017 2:30 pm

Serial Yambo Build Problem

Post by firatyilmaz » Thu Feb 23, 2017 12:03 pm

Hi all


I have a build problem on Yambo 4.1.1. rev 112.
First of all i tried to build parallell Yambo with --prefix=/home/user/yambo but it was unsaccesfull so i tried to install serial yambo and i got the following error:


mod_pars.f90(28): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
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
----------------------------------^


Do you have any suggestions?
Firat Yilmaz

Physics Engineer
Hacettepe University

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Serial Yambo Build Problem

Post by Daniele Varsano » Fri Feb 24, 2017 9:41 am

Dear firatyilmaz,

let me just remind you to rule of the forum. Please sign your post with you signature with your name and affiliation.
You can do once for all filling your signature in you profile.
Next try to post in the right subforum, there is a subforum named "compilation" that is the right place to post this kind of questions.

You have a problem with the netcdf library. Yambo can download and compile this library.
I suggest you to start from scratch (make clean_all).
Try to do a simple configure without specifying any other option and "make yambo".
If it does not work please post your the error and the config.log file.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

firatyilmaz
Posts: 4
Joined: Fri Feb 10, 2017 2:30 pm

Re: Serial Yambo Build Problem

Post by firatyilmaz » Fri Feb 24, 2017 9:59 am

Dear Danielle,

Sorry for inconvenience.
I will try to move or delete this post and one another.

Thank You.
Firat Yilmaz

Physics Engineer
Hacettepe University

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Serial Yambo Build Problem

Post by Daniele Varsano » Fri Feb 24, 2017 10:13 am

Dear Firat,

You can leave the post where they are, my advise was for the following posts.
For the next discussion, instead of replying start a new topic in the compilation subforum.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

andrea.ferretti
Posts: 206
Joined: Fri Jan 31, 2014 11:13 am

Re: Serial Yambo Build Problem

Post by andrea.ferretti » Fri Feb 24, 2017 10:19 am

Dear Firat,

the error you find (modules not generated by any version of this compiler) is 99.9% related to some *.mod files (produced by some fortran compiler), left there.
* My two cents are that passing from parallel to serial, your fortran compiler has changed (e.g. mpif90 built on top of gfortran, ifort as serial compiler).
try mpif90 -v or -V to check the details
* as a golden rule, do a complete clean before attempting a different compilation procedure (make clean_all or make distclean)

hope it helps
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it

firatyilmaz
Posts: 4
Joined: Fri Feb 10, 2017 2:30 pm

Re: Serial Yambo Build Problem

Post by firatyilmaz » Fri Feb 24, 2017 1:53 pm

Dear Andrea,

I figured out that i can use mpif90 is not enabled on netcdf and its enabled on Yambo. So i guess the problem is using different compilers on netcdf and yambo as you said.
Thanks For the info.

Best Regards
Firat Yilmaz

Physics Engineer
Hacettepe University

Post Reply