dlaran undefned

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
Post Reply
c00jsh00
Posts: 1
Joined: Fri Nov 16, 2012 4:08 am

dlaran undefned

Post by c00jsh00 » Fri Nov 16, 2012 8:59 am

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

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

Re: dlaran undefned

Post by Daniele Varsano » Fri Nov 16, 2012 10:04 am

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
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
myrta gruning
Posts: 240
Joined: Tue Mar 17, 2009 11:38 am
Contact:

Re: dlaran undefned

Post by myrta gruning » Fri Nov 16, 2012 10:10 am

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
Dr Myrta Grüning
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland

http://www.researcherid.com/rid/B-1515-2009

Post Reply