error in compilling the code

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

Moderators: Daniele Varsano, andrea.ferretti, andrea marini, Conor Hogan, myrta gruning

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

error in compilling the code

Postby yhkan » Wed Feb 07, 2018 4:20 am

Dear Daniele Varsano,

The QE-6.2.1 have been compiled and run correctly. I copy the Yambo code to QE directory and unpack. According to installing guide, the configure script was run in yambo-4.2.1 directory. No errors were found. Then continued do "make yambo interfaces", errors were found in making target 'ftw3.f'. The configure.log and make.log files unploaded as attachment.

best regards,

YuHe
You do not have the required permissions to view the files attached to this post.
YuHe Kan
School of Chemistry and Chemical Engineering
Jiangsu Province Key Laboratory for Chemistry of Low-Dimensional Materials
Huaiyin Normal University, Jiangsu, CHINA
https://www.researchgate.net/profile/Yu-He_Kan
yhkan
 
Posts: 2
Joined: Tue Feb 06, 2018 2:43 pm

Re: error in compilling the code

Postby Daniele Varsano » Wed Feb 07, 2018 9:40 am

Dear Yuhe,
please sign your posts with your complete name and affiliation, this is a rule of the forum. You can do once for all by filling the signature field in your profile.

It looks you are mixing intel and gfortran compilers, and you can try the following:
make clean_all
./configure CC='icc', CPP='icc -E', FC='ifort',MPIFC='mpiifort'
make yambo interfaces

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/
User avatar
Daniele Varsano
 
Posts: 2022
Joined: Tue Mar 17, 2009 2:23 pm

Re: error in compilling the code

Postby yhkan » Wed Feb 07, 2018 3:21 pm

Dear Daniele,

Thanks for your timely response. I try to make configure as you advised:
./configure CC='icc', CPP='icc -E', FC='ifort',MPIFC='mpiifort'.
It has an error during checking C compiler. The configure.log file attatched. thanks!

Best,

Yuhe
You do not have the required permissions to view the files attached to this post.
YuHe Kan
School of Chemistry and Chemical Engineering
Jiangsu Province Key Laboratory for Chemistry of Low-Dimensional Materials
Huaiyin Normal University, Jiangsu, CHINA
https://www.researchgate.net/profile/Yu-He_Kan
yhkan
 
Posts: 2
Joined: Tue Feb 06, 2018 2:43 pm

Re: error in compilling the code

Postby Daniele Varsano » Wed Feb 07, 2018 5:48 pm

Dear Yuhe,
the correct syntax is wihout commas,
just remove them from the configure command:
./configure CC=cc FC=ifort ...

sorry, my mistake in the previous post.

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/
User avatar
Daniele Varsano
 
Posts: 2022
Joined: Tue Mar 17, 2009 2:23 pm


Return to Compilation

Who is online

Users browsing this forum: No registered users and 2 guests