Page 1 of 1

yamboo-4.2.1

Posted: Mon Feb 19, 2018 12:41 pm
by sky-zhou
I am compling yamboo on a natinoal supercomputer, but always some errors. The error report is
"
configure: error: cannot find sources (include/netcdf.h) in . or ..
make[1]: *** [configure-stamp] Error 1
make[1]: Leaving directory `/ccc/work/cont003/gen0544/zhoujg/work-yamboo/yambo-4.2.1/lib/netcdf'
make: *** [ext-libs] Error 2
"
My configure commend is
"
./configure FC=ifort MPIF77=mpif90 F77=ifort CC=icc --with-fft-path="/ccc/products/fftw3-3.3.4/default" --with-fftw3="/usr/local/fftw3-3.3.4/" --with-lapack-libs="-L/ccc/products/intel-14.0.3.174/default/14.0.3.174/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core" --with-blas-libs="-L/ccc/products/intel-14.0.3.174/default/14.0.3.174/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
"

Could some one tell me how to solve this problem?

Many thanks!

Sky

Re: yamboo-4.2.1

Posted: Mon Feb 19, 2018 1:30 pm
by Daniele Varsano
Dear Sky,
can you please upload your config.log file?

Best,
Daniele

Re: yamboo-4.2.1

Posted: Mon Feb 19, 2018 1:42 pm
by sky-zhou
Daniele Varsano wrote:Dear Sky,
can you please upload your config.log file?

Best,
Daniele
Dear Daniele,

Here attached it is the config.log file.

Many thanks!

Sky

Re: yamboo-4.2.1

Posted: Mon Feb 19, 2018 2:16 pm
by Daniele Varsano
Dear Sky,
I can't find anything wrong with your configuration, besides the fact you are using a quite old version of the intel compilers.
Just a question, have you tried previous compilation with different options? In this case, have you done a make clean_all before recompiling?
In this case, you can do make clean_all configure again and try to recompile.

Best,
Daniele

Re: yamboo-4.2.1

Posted: Mon Feb 19, 2018 2:27 pm
by sky-zhou
Dear Daniele,

I am using the default inter compiler in this national computer "intel/14.0.3.174(default)". Every time I try a different compile process, I do "make clean" first, instead the "make clean_all" you have suggested... I will try again and tell you what happens.

Thank you very much for your fast reply!

Cheers,

Sky

Daniele Varsano wrote:Dear Sky,
I can't find anything wrong with your configuration, besides the fact you are using a quite old version of the intel compilers.
Just a question, have you tried previous compilation with different options? In this case, have you done a make clean_all before recompiling?
In this case, you can do make clean_all configure again and try to recompile.

Best,
Daniele

Re: yamboo-4.2.1

Posted: Mon Feb 19, 2018 3:27 pm
by sky-zhou
Dear Daniele,

After "make clean_all" the code is compiled successfully! Thank you very much for your help!

All the best,
Sky

Daniele Varsano wrote:Dear Sky,
I can't find anything wrong with your configuration, besides the fact you are using a quite old version of the intel compilers.
Just a question, have you tried previous compilation with different options? In this case, have you done a make clean_all before recompiling?
In this case, you can do make clean_all configure again and try to recompile.

Best,
Daniele

Re: yamboo-4.2.1

Posted: Mon Feb 19, 2018 3:48 pm
by Daniele Varsano
Great!
Have fun with Yambo!

Best,
Daniele