Hello.
I am trying to install yambo-3.4.1 in a Cray XE6 machine, and I got the following error
>>>[Making bse]<<<
make[1]: Entering directory `/global/u1/j/jnmorbec/yambo-3.4.1/src/bse'
PGF90-S-0038-Symbol, isnan, has not been explicitly declared (K_Haydock.f90)
0 inform, 0 warnings, 1 severes, 0 fatal for k_haydock
make[1]: *** [K_Haydock.o] Error 2
make[1]: Leaving directory `/global/u1/j/jnmorbec/yambo-3.4.1/src/bse'
make: *** [yambo] Error 2
in "make yambo".
Could you help me with this, please? How can I avoid this error?
Thank you!
Error in "make yambo"
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
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
-
- Posts: 39
- Joined: Tue Feb 11, 2014 5:33 am
Error in "make yambo"
Juliana M. Morbec, Ph.D.
Postdoctoral Researcher
Institute for Molecular Engineering, The University of Chicago
Postdoctoral Researcher
Institute for Molecular Engineering, The University of Chicago
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Error in "make yambo"
Dear Juliana,
isnan is an intrinsic fortran function, which is supported by the gnu, or intel compiler.
It looks that it is not supported by pgi. You can look here:
http://www.pgroup.com/userforum/viewtop ... 26666dcc16
If you have them available, you can switch to intel or gfortran compiler (suggested).
Otherwise:
try replace the following lines:
and
substituting the isnan function with ieee_is_nan, in this case I presume you have to add also:
use ieee_arithmetic
If not working, just comment the two lines above and hope you will not ends up with negative eigenvalues.
Best,
Daniele
isnan is an intrinsic fortran function, which is supported by the gnu, or intel compiler.
It looks that it is not supported by pgi. You can look here:
http://www.pgroup.com/userforum/viewtop ... 26666dcc16
If you have them available, you can switch to intel or gfortran compiler (suggested).
Otherwise:
try replace the following lines:
Code: Select all
193 if( isnan(Bf(it+1)) ) call error('Bf=NaN likely because some eigenvalue of BSE is negative.')
Code: Select all
232 if( isnan(Bf(it+1)) ) call error(' Bf=NaN likely because some eigenvalue of BSE is negative.')
use ieee_arithmetic
If not working, just comment the two lines above and hope you will not ends up with negative eigenvalues.
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/
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/
-
- Posts: 39
- Joined: Tue Feb 11, 2014 5:33 am
Re: Error in "make yambo"
Dear Daniele.
Thank you very much for your help.
It seems to replace isnan with ieee_is_nan worked. At least no error in "make yambo interfaces".
Best wishes,
Juliana
Thank you very much for your help.
It seems to replace isnan with ieee_is_nan worked. At least no error in "make yambo interfaces".
Best wishes,
Juliana
Juliana M. Morbec, Ph.D.
Postdoctoral Researcher
Institute for Molecular Engineering, The University of Chicago
Postdoctoral Researcher
Institute for Molecular Engineering, The University of Chicago