Page 1 of 1

dlaran undefned

Posted: Fri Nov 16, 2012 8:59 am
by c00jsh00
Dear Yambo users,

I tried to compile YAMBO 3.2.5 with intel compiler, I got the following error:
...

>>>[Linking yambo]<<<
make[1]: Entering directory `/pkg/chem/espresso501/yambo-3.2.5/driver'

/pkg/chem/espresso501/YAMBO/lib/libcoulomb.a(rim.o): In function `rim':
/pkg/chem/espresso501/yambo-3.2.5/src/coulomb/rim.f90:108: undefined reference to `dlaran_'
/pkg/chem/espresso501/YAMBO/lib/libmodules.a(mod_logo.o): In function `logo_mp_pickup_a_random_':
mod_logo.f90:(.text+0x1d2): undefined reference to `dlaran_'
make[1]: *** [yambo] Error 1
make[1]: Leaving directory `/pkg/chem/espresso501/yambo-3.2.5/driver'
make: *** [yambo] Error 2

dlaran seems a random number generator routine, but I have no idea where I can find one, please help.

Regards

Jyh-Shyong Ho
National Center for High Performance Computing
Hsinchu, Taiwan, ROC

Re: dlaran undefned

Posted: Fri Nov 16, 2012 10:04 am
by Daniele Varsano
Dear Jyh-Shyong Ho,
yes, dlaran is a random generator subroutine.
You can fin it in ./lib/lapack directory provided in the yambo package.
May be you are not finding it during compilation because you are using system lapack subroutine.
You can either compile the lapack provided in yambo or include this subrouine in you system library.

Cheers,

Daniele

Re: dlaran undefned

Posted: Fri Nov 16, 2012 10:10 am
by myrta gruning
Dear Jyh-Shyong Ho

dlaran is distributed together with yambo, you can find it in lib/local

The fact that the program did not compile it and link it means that something was not OK during the configuration.
My advise is to clean everything and redo the configure.

In the configuration output you should get the a cross for the built-in local , e.g.

# [ X] Built-in BLAS/LAPACK/LOCAL
that means that the dlaran was not found in system libraries so yambo will use its own version.

If you still have the same problem please attach in your next post the config.log

Best
m