[CPMD-list] problems in compilation of cpmd on operon amd 64-bit machine

Bin Pan binpan at MIT.EDU
Sat Feb 3 17:37:09 CET 2007


Hi,

We have Dual Core AMD Opteron(tm) Processor 870 
and PGI fortran compiler installed.
I used libatlas_x86_64.a downloaded from 
http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/cpmd-linux.html
But I got the following errors:
/usr/lib64/libc.a(iofclose.o)(.eh_frame+0x11): 
undefined reference to `__gcc_personality_v0'
/usr/lib64/libc.a(iofflush.o)(.text+0xf0): In function `fflush':
: undefined reference to `_Unwind_Resume'


/usr/lib64/libc.a(iogetdelim.o)(.eh_frame+0x11) 
: undefined reference to `__gcc_personality_v0'
/usr/lib64/libc.a(putchar.o)(.eh_frame+0x11): 
undefined reference to `__gcc_personality_v0'
/usr/lib64/libc.a(getchar.o)(.eh_frame+0x11): 
undefined reference to `__gcc_personality_v0'
/usr/lib64/libc.a(putc.o)(.eh_frame+0x11): 
undefined reference to `__gcc_personality_v0'
make: *** [cpmd.x] Error 2

The flags for fortran compiler are:

FFLAGS = -r8 -pc=64 -Msignextend
LFLAGS = -L. -Bstatic 
-L/home/binpan/software/cpmd/CPMD-3.9.2/SOURCE/ -latlas_x86_64 $(QMMM_LIBS)
CFLAGS =
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DFFT_DEFAULT -DPOINTER8 -D__pgf90
NOOPT_FLAG =
CC = gcc -O2 -Wall -m64
FC = pgf90 -c -fastsse -tp k8-64
LD = pgf90 -fastsse -tp k8-64
AR = ar

Does anyone have idea about how to solve this problem?
Thanks a lot in advance!




More information about the CPMD-list mailing list