Preprocessor

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

Re: Preprocessor

Post by Daniele Varsano » Tue Jan 17, 2017 6:37 pm

Dear Fabio,

can you try to configure yambo giving explicitly the compilers .e.g:

Code: Select all

./configure FC=ifort CC=icc  CPP='icc -E'
and report again?
It looks you are mixing fortran intel and gnu c compiler.

About renaming .txt, the forum accept only some specified suffix and often people has trouble to upload file, anyway the .log is one of the allowed format.

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/

Fabiof
Posts: 68
Joined: Wed Feb 11, 2015 10:52 am

Re: Preprocessor

Post by Fabiof » Wed Jan 18, 2017 1:00 pm

Dear Daniele,

I still got the same error. The new config.log is attached
I have tried

Code: Select all

 ./configure CC=icc MPICC=mpicc F77=ifort PFC=mpifort CPP='icc -E' FC=ifort
but i still get same error.


Thanks,

Fabio
You do not have the required permissions to view the files attached to this post.
Fábio Ferreira, Graduate Student
University of Minho, Portugal

User avatar
Davide Sangalli
Posts: 614
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Preprocessor

Post by Davide Sangalli » Thu Jan 19, 2017 10:04 am

Dear Fabio,
what if you try to set CPP="icc -E" FPP="ifort -E -free" ?

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

Fabiof
Posts: 68
Joined: Wed Feb 11, 2015 10:52 am

Re: Preprocessor

Post by Fabiof » Sat Jan 21, 2017 10:00 pm

Dear Daniele,

It is working now!

Thank you.

Fabio
Fábio Ferreira, Graduate Student
University of Minho, Portugal

Post Reply