AMBER Archive (2004)Subject: AMBER: AMBER8 compiling error under Itanium 2.
From: qlu_at_notes.cc.sunysb.edu
Date: Mon Nov 15 2004 - 18:39:36 CST
When I compiled AMBER8 under Itanium 2, I got following error:
CPU information:
vendor : GenuineIntel
arch : IA-64
family : Itanium 2
Error information:
sander.o: In function `sander_':
sander.o(.text+0x3992): undefined reference to `nwallclock_'
../lib/sys.a(sys.o): In function `amdate_':
sys.o(.text+0x22): undefined reference to `fdate_'
../lib/sys.a(sys.o): In function `amflsh_':
sys.o(.text+0x112): undefined reference to `flush_'
The config.h file is like
AMBERBUILDFLAGS=-DHAS_10_12 -DLinuxIPF
#------------------------------------------------------------------------------
LOCALFLAGS=
#------------------------------------------------------------------------------
# Availability and method of delivery of math and optional libraries
#------------------------------------------------------------------------------
USE_BLASLIB=$(SOURCE_COMPILED)
USE_LAPACKLIB=$(SOURCE_COMPILED)
USE_LMODLIB=$(LMOD_UNAVAILABLE)
#------------------------------------------------------------------------------
# C compiler
#------------------------------------------------------------------------------
CC=ecc -g -c
LOADCC=ecc -g -c
CPLUSPLUS="/lib/cpp -traditional"
ALTCC=ecc
CFLAGS=-O2 -g -c $(AMBERBUILDFLAGS)
ALTCFLAGS= -g -c $(AMBERBUILDFLAGS)
CPPFLAGS= $(AMBERBUILDFLAGS)
#------------------------------------------------------------------------------
# Fortran preprocessing and compiler.
# FPPFLAGS holds the main Fortran options, such as whether MPI is used.
#------------------------------------------------------------------------------
FPPFLAGS= -P -I$(AMBER_SRC)/include $(AMBERBUILDFLAGS)
FPP= cpp -traditional $(FPPFLAGS)
FC= efc
FFLAGS= -w95 -ftz -O2 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
FOPTFLAGS= -w95 -ftz -O3 -IPF_fma -ip $(LOCALFLAGS) $(AMBERBUILDFLAGS)
FPP_PREFIX= _
FREEFORMAT_FLAG= -FR
#------------------------------------------------------------------------------
# Loader:
#------------------------------------------------------------------------------
LOAD= efc $(LOCALFLAGS) $(AMBERBUILDFLAGS)
LOADCC= ecc $(LOCALFLAGS) $(AMBERBUILDFLAGS)
#LOADLIB=/opt/intel/compiler70/ia64/lib/libPEPCF90.a
/opt/mlib/lib/linux/liblapack.a -lguide
#LOADLIB= /opt/intel/compiler70/ia64/lib/libPEPCF90.a
/opt/intel/mkl/lib/64/libmkl_lapack.a /opt/intel/mkl/lib/64/libmkl_itp.a
-lguide
LOADLIB= /opt/intel/compiler70/ia64/lib/libPEPCF90.a
/opt/mlib/lib/linux/liblapack.a -lguide
LOADPTRAJ= efc -nofor_main $(LOCALFLAGS) $(AMBERBUILDFLAGS)
XHOME= /usr/
#------------------------------------------------------------------------------
# Other stuff:
#------------------------------------------------------------------------------
.SUFFIXES: .f90
SYSDIR=lib
AR=ar rv
M4=m4
RANLIB=ranlib
SFX=
MAKEDEPEND=$(AMBER_SRC)/../bin/amber_makedepend
# default rules for Fortran and C compilation:
.f.o: $<
$(FPP) $< > $(FPP_PREFIX)$<
$(FC) -c $(FFLAGS) -o $@ $(FPP_PREFIX)$<
.f90.o: $<
$(FPP) $< > $(FPP_PREFIX)$<
$(FC) -c $(FFLAGS) -o $@ $(FPP_PREFIX)$<
.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|