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
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 39
- Joined: Sat Nov 12, 2005 2:04 am
gotoblas is not linking properly during vasp compile
Last edited by cpp6f on Fri Apr 13, 2007 12:58 am, edited 1 time in total.
-
- Newbie
- Posts: 39
- Joined: Sat Nov 12, 2005 2:04 am
gotoblas is not linking properly during vasp compile
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
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.