[CPMD-list] A missing library?
Carl Krauthauser
carl at UDel.Edu
Sat May 28 16:32:08 CEST 2005
Greetings!
I am attempting to compile CPMD 3.9-1 using IFC 8.1 and gcc 3.2.3 on a
RHEL 3.5, dual Athlon machine. My Makefile settings go as:
#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic calculation)
# Configuration: PC-IFC
# Creation of Makefile: May 28 2005
# on Linux arrakis.dunecluster 2.4.21-32.0.1.ELsmp #1 SMP Wed May 25
14:47:46 EDT 2005 i686 athlon i386 GNU/Linux
# Author: carl
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-IFC ---------------
SRC = .
DEST = .
BIN = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS = -L. -lmm
FFLAGS = -c -r8 -w90 -w95 -O3 -pc64 -tpp6
LFLAGS = -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3 -lg2c
-L/usr3/library/atlas/3.6.0/05272005/gcc-3.2.3-49-ifort-8.1.28/library
-llapack -lf77blas -latlas -lsvml -Vaxlib -static $(QMMM_LIBS)
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT -DLINUX_IFC
NOOPT_FLAG =
CC = cc
FC = ifort
LD = ifort
AR =
At the final linking, I get two types of errors that go as:
/opt/intel_fc_81/lib/libifcore.a(for_open_proc.o)(.text+0x3826): In
function `for__compute_filename':
: Using 'getpwnam' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
and
/usr3/library/atlas/3.6.0/05272005/gcc-3.2.3-49-ifort-8.1.28/library/liblapack.a(dgesv.o)(.text+0x9c):
In function `dgesv_':
: undefined reference to `atl_f77wrap_dgesv_'
The first looks like a warning, however, a disturbing one in that I
thought a statically linked compiler option meant that all necessary
libraries are linked at compile time. The second error looks like a
missing library needed for the ATLAS libraries I created. Anyone have
any thoughts as to what the missing library (or libraries) it might be?
Thanks for all your help, and have a great day!
Best Regards,
Carl Krauthauser
More information about the CPMD-list
mailing list