Page 1 of 2

Preprocessor

Posted: Wed Nov 23, 2016 4:51 pm
by bob
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

Re: Preprocessor

Posted: Wed Nov 23, 2016 5:28 pm
by Daniele Varsano
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

Re: Preprocessor

Posted: Wed Nov 23, 2016 7:56 pm
by bob
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

Re: Preprocessor

Posted: Wed Nov 23, 2016 10:07 pm
by Daniele Varsano
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

Re: Preprocessor

Posted: Thu Nov 24, 2016 2:19 pm
by Daniele Varsano
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

Re: Preprocessor

Posted: Tue Nov 29, 2016 9:03 am
by Davide Sangalli
Dear Bjoern,
in case you do not have access to the svn repository,
please find attached a patch for revision 112.

Best,
D.

Re: Preprocessor

Posted: Fri Dec 02, 2016 11:19 am
by bob
Thanks! Works like a charm now!

Re: Preprocessor

Posted: Sun Jan 15, 2017 4:43 pm
by Fabiof
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

Re: Preprocessor

Posted: Mon Jan 16, 2017 9:18 am
by Daniele Varsano
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

Re: Preprocessor

Posted: Tue Jan 17, 2017 4:18 pm
by Fabiof
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