Page 1 of 1

error in compilling the code

Posted: Wed Feb 07, 2018 4:20 am
by yhkan
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

Re: error in compilling the code

Posted: Wed Feb 07, 2018 9:40 am
by Daniele Varsano
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

Re: error in compilling the code

Posted: Wed Feb 07, 2018 3:21 pm
by yhkan
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

Re: error in compilling the code

Posted: Wed Feb 07, 2018 5:48 pm
by Daniele Varsano
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