AMBER Archive (2004)Subject: Re: AMBER: AMBER8 compiling error under Itanium 2.
From: Jack Lei (jacklei2002_at_gmail.com)
Date: Tue Nov 16 2004 - 11:32:23 CST
To my experience, one error message in your post (sys.a error
message) is in that you did not make clean in $AMBERHOME/src. In
addition, did you do the following before you compile?
source /opt/intel_cc_80/bin/iccvars.sh
source /opt/intel_fc_80/bin/ifortvars.sh
My suggestion:
1. source iccvars.sh and source ifortvars.sh
2. cd $AMBERHOME/src; make clean
3. if you want to compile one module(like sander), cd sander; make install
Then let's see.
Jack
On Tue, 16 Nov 2004 09:46:52 +0800, Ye Mei <ymei_at_itcc.nju.edu.cn> wrote:
> 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_at_scripps.edu
> >To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>
> = = = = = = = = = = = = = = = = = = = =
>
> Best regards,
>
> Ye Mei
> ymei_at_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_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|