cp2k on POWER4 running Linux
akoh... at gmail.com
Wed Jun 25 17:31:09 CEST 2008
> However now the undefined references are for files such as:
> blacstest.o(.text+0xac): In function `main':
> : undefined reference to `blacs_get'
so either you are not linking to BLACS or your
BLACS is using different underscoring conventions.
you can easily find out by running 'nm' on your
> running 'make tester' from netlib's BLACS results in those undefined
> references, so something is up with the linking stage. I've placed the
> BLACS lib into my LD_LIBRARY_PATH.
for the BLACS/SCALAPACK testers you have to keep the compiled
just where they are. apart from that LD_LIBRARY_PATH is consulted when
for _shared_ libraries (dynamics shared objects to be more accurate,
it also applies to plugins that are dlopen()ed at runtime) at
you have a linker error, so at best you can point LIBRARY_PATH to
linker should look, but it would be even better to just use -L flags
you use the default setup for BLAS/SCALAPACK do nothing at all.
More information about the CP2K-user