Re: AMBER: AMBER8 compiling error under Itanium 2.

From: Ye Mei <ymei.itcc.nju.edu.cn>
Date: Tue, 16 Nov 2004 09:46:52 +0800

what about make clean then make?

======= 2004-11-16 08:39:36 =======

>
>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.scripps.edu
>To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu

= = = = = = = = = = = = = = = = = = = =
                        

       
 
Best regards,
                                 
Ye Mei
ymei.itcc.nju.edu.cn
Institute of Theoretical and Computational Chemistry
Key Laboratory of Mesoscopic Chemistry
School of Chemistry and Chemical Engineering
Nanjing University
Nanjing 210093
P.R.China
2004-11-16

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Tue Nov 16 2004 - 01:53:01 PST
Custom Search