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
bob
Posts: 42
Joined: Wed Aug 04, 2010 8:39 am
Location: Eindhoven, The Netherlands
Contact:

Preprocessor

Post by bob » Wed Nov 23, 2016 4:51 pm

Hi all,

I have some trouble configuring the devel version of yambo.

With

Code: Select all

./configure  --with-blas-libs="-lmkl_intel_lp64  -lmkl_sequential -lmkl_core"   --with-lapack-libs="-lmkl_intel_lp64  -lmkl_sequential -lmkl_core"
It runs until checking the precompiler on F90 sources:

Code: Select all

configure: testing preprocessor icc -E -ansi
checking if precompiler works on C source... yes
checking if precompiler works on F90 source... no
configure: error: Found precompiler problems in processing the F90/C source.
When I check this manually, icc -E – ansi has a problem with the line

Code: Select all

write (*,'('//a//')') 'hello'
because the // are interpreted as comments and the F90 file will then only contain

Code: Select all

write (*,'('
which fails. I could get it to work using “ifort -E -free" as preprocessor but it seems like there is no way telling configure to use this. I did set the FCCPP flag but I can’t see it being used anywhere in the configure script.

I should say that I'm running Intel Compiler 17. Any clue what I could try?

Cheers,
Bjoern
Dr. Bjoern Baumeier
Eindhoven University of Technology
Eindhoven, The Netherlands

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

Re: Preprocessor

Post by Daniele Varsano » Wed Nov 23, 2016 5:28 pm

Dear Bjoern,

We have already experienced your problem when using intel17, and we will update the configure to overcome this problem in the next few days.
In the meanwhile, if you have access, you can compile with an older release of the compiler as intel16 or intel15, as this is a specific problem of
the configure with intel17.

Thanks for reporting, as this problem can be encountered by other users in these days.

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/

bob
Posts: 42
Joined: Wed Aug 04, 2010 8:39 am
Location: Eindhoven, The Netherlands
Contact:

Re: Preprocessor

Post by bob » Wed Nov 23, 2016 7:56 pm

Hi Daniele,

Unfortunately I do not have an older version of the compiler on this specific system that I want to compile yambo for. Guess I'll have to wait a bit then.

Cheers,
Bjoern
Dr. Bjoern Baumeier
Eindhoven University of Technology
Eindhoven, The Netherlands

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

Re: Preprocessor

Post by Daniele Varsano » Wed Nov 23, 2016 10:07 pm

Dear Bjoern,
not too much, just the time to test a bit the configure and related file, we hope to release it in the very next few days.

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

Re: Preprocessor

Post by Daniele Varsano » Thu Nov 24, 2016 2:19 pm

Dear Bjoern,

The configure has been updated. If you downoaded the source by svn, you should just update it.
The tarball file instead will be released in the next future.

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
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 » Tue Nov 29, 2016 9:03 am

Dear Bjoern,
in case you do not have access to the svn repository,
please find attached a patch for revision 112.

Best,
D.
You do not have the required permissions to view the files attached to this post.
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/

bob
Posts: 42
Joined: Wed Aug 04, 2010 8:39 am
Location: Eindhoven, The Netherlands
Contact:

Re: Preprocessor

Post by bob » Fri Dec 02, 2016 11:19 am

Thanks! Works like a charm now!
Dr. Bjoern Baumeier
Eindhoven University of Technology
Eindhoven, The Netherlands

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

Re: Preprocessor

Post by Fabiof » Sun Jan 15, 2017 4:43 pm

Dear all,

I have the same problem when try to configure the yambo-4.1.2-rev120

when i execute ./configure
i have the following error

Code: Select all

checking if FC precompiler works on F90 source... no
configure: error: Found FC precompiler problems in processing F90 source.
I have download the file patch_intel_compilers_r112.txt, but i don't know what to do now.
Can you help me?


Thanks,

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

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

Re: Preprocessor

Post by Daniele Varsano » Mon Jan 16, 2017 9:18 am

Dear Fabio,
can you please post your config.log file?
In order to upload it you need to rename it as for instance config.log.txt
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 » Tue Jan 17, 2017 4:18 pm

Dear Daniele,

the config.log is now attached.

I didn't understand what you mean by rename it for config.log.txt.
Are you referring to the file patch_intel_compilers_r112.txt?

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

Post Reply