[CP2K:116] Re: CP2K compilation errors
eric.... at gmail.com
Sun Jun 3 00:49:01 CEST 2007
The scalapack default 'make' includes all the lib targets, so they were
built with my last compilation. Also, I ran all the test that come with the
build in the TESTING directory and they passed just fine. I believe the
problem is that when linking in the arch-file I'm not including a necessary
library. Right now my arch file has
LIBS = -lscalapack
LINUX-0.a $(BLACSLIB)/blacsF77init_MPI-LINUX-0.a $(BLACSLIB)/blacs_MPI-
LINUX-0.a -llapack -lcblas -lf77blas - latlas -lblas -lg2c -lguide -lmpi
I thought that adding -lg2c would clear up the problem, but scalapack is
making reference to things like:
I can't seem to find the library that defines those, but including whichever
library it is will probably clear up the problem. So it's either linking to
one more library, or a more fundamental problem with the build of one of the
components (blacs, atlas, scalapack?) that I can't diagnose on my own.
On 6/2/07, Matthias Krack <kr... at phys.chem.ethz.ch> wrote:
> does your ScaLAPACK build include the toolslib?
> I always use the lib target
> lib: toolslib pblaslib redistlib scalapacklib
> in the ScaLAPACK makefile for the library build.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CP2K-user