Page 1 of 1

gotoblas is not linking properly during vasp compile

Posted: Fri Apr 13, 2007 12:58 am
by cpp6f
I am compiling vasp on an opteron running in 64 bit. When I get to the last part of the compilation where the line `mpif90 -o vasp ... etc' is executed, I get an error message for every BLAS command in the vasp code saying something like

mpi.o(.text+0xb25): In function `m_max_d_':
: undefined reference to `dcopy_'

I have gotoblas installed and linked in the vasp makefile using

BLAS=-L/usr/local/GotoBLAS/libgoto_opteron-r1.13.so

what could be causing this problem? thanks!

gotoblas is not linking properly during vasp compile

Posted: Fri Apr 13, 2007 12:02 pm
by cpp6f
okay, I got it to work. apparently you have to link libgoto using the following line

BLAS=-L/usr/local/GotoBLAS/ -lgoto_opteron-r1.13 -lpthread