gotoblas is not linking properly during vasp compile

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
cpp6f
Newbie
Newbie
Posts: 39
Joined: Sat Nov 12, 2005 2:04 am

gotoblas is not linking properly during vasp compile

#1 Post by cpp6f » Fri Apr 13, 2007 12:58 am

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!
Last edited by cpp6f on Fri Apr 13, 2007 12:58 am, edited 1 time in total.

cpp6f
Newbie
Newbie
Posts: 39
Joined: Sat Nov 12, 2005 2:04 am

gotoblas is not linking properly during vasp compile

#2 Post by cpp6f » Fri Apr 13, 2007 12:02 pm

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
Last edited by cpp6f on Fri Apr 13, 2007 12:02 pm, edited 1 time in total.

Post Reply