[Pw_forum] Fw: Compiling error of Pw-1.3

Paolo Giannozzi giannozz at nest.sns.it
Tue Sep 16 15:06:32 CEST 2003


On Tuesday 16 September 2003 10:26, Sergei Lisenkov wrote:

>[...] But I found problems on linking phase:
> ../Modules/fft_scalar.o: In function `$fft_scalar$cft_1z':
> :179: undefined reference to `create_plan_1d__' [...]

funny, I was convinced that problems with underscores were
solved once and for all ... apparently your compiler is adding
two underscores to symbols. This is not supposed to happen
on Alpha machines with Compaq compiler.

BTW: in the makefile for HP PA-RISC (version 1.3), line:
LIBS = L/opt/mlib/lib/pa2.0 -lveclib -llapack $(FFTW_LIB) -lm
should be
LIBS = -L/opt/mlib/lib/pa2.0 -lveclib -llapack $(FFTW_LIB) -lm
and line:
LFLAGS = +U77 +DA2.0 +DS2.0 +O2 -lpthread $(LIBS)
should be:
LDFLAGS =  $(OSHOME)/flib/ptools.a $(OSHOME)/flib/flib.a $(OSHOME)/clib/clib.a 
+U77 +DA2.0 +DS2.0 +O2 -lpthread $(LIBS)

Paolo

-- 
Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
Scuola Normale Superiore    Phone:   +39/050509412
Piazza dei Cavalieri 7      Fax:     +39/050509417, 050563513     
I-56126 Pisa, Italy         Office:  Lab. NEST, Via della Faggiola 19




More information about the users mailing list