Re: "make" Linux-amd64-g++ error

From: Xiaoqing Wang (namdwxq_at_126.com)
Date: Mon May 16 2005 - 09:08:03 CDT

Hi,
  I created namd2 successfully.

But when I test namd2 with files from
http://www.ks.uiuc.edu/Research/namd/tutorial/NCSA2002/hands-on/sample/
, the error message appears as I mentioned in another email "namd-l:
What's wrong with my namd2"

Any tips would be greatly appreciated!

Sincerely,
Xiaoqing

在2005年05月16日的20:45,Xiaoqing Wang写道:
> Hi,
> I changed "-march=athlon" to "-march=opteron" and it works.
>
> I have other errors when make "Linux-amd64-MPI"
> -----------------------------------------------------------
> g++ -DSOCKLEN_T=socklen_t -DNO_STRSTREAM_H
> -I/home/xqwang/NAMD_2.5_Source/charm/mpi-linux-opteron/include
> -DCMK_OPTIMIZE=1 -Isrc -Iinc -I/home/xqwang/plugins/LINUXAMD64
> -I/home/xqwang/plugins/LINUXAMD64/molfile -I/home/xqwang/plugins/include
> -I/home/xqwang/plugins/LINUXAMD64
> -I/home/xqwang/plugins/LINUXAMD64/molfile -I/home/xqwang/plugins/include
> -DNAMD_PLUGINS -I/home/xqwang/tcl/tcl8.4/include
> -I/home/xqwang/tcl-linux/include -DNAMD_TCL -DUSE_NON_CONST
> -I/home/xqwang/fftw/include -I/home/xqwang/fftw-linux/include
> -DNAMD_FFTW -DNAMD_VERSION=\"2.5\" -DNAMD_PLATFORM=\"Linux-amd64-MPI\"
> -O3 -march=opteron -m64 -fexpensive-optimizations -ffast-math -o
> obj/ComputePme.o -c src/ComputePme.C
> In file included from /usr/include/c++/3.3.3/backward/new.h:33,
> from src/ResizeArrayRaw.h:19,
> from src/ResizeArray.h:19,
> from src/NamdTypes.h:12,
> from src/PatchMap.h:10,
> from src/ComputePme.C:13:
> /usr/include/c++/3.3.3/backward/backward_warning.h:32:2: warning:
> #warning This file includes at least one deprecated or antiquated
> header. Please consider using one of the 32 headers found in section
> 17.4.1.2 of the C++ standard. Examples include substituting the <X>
> header for the <X.h> header for C++ includes, or <sstream> instead of
> the deprecated header <strstream.h>. To disable this warning use
> -Wno-deprecated.
> In file included from src/ComputePme.C:20:
> src/ComputeNonbondedUtil.h: In member function `plint*
> Pairlists::newlist(int)
> ':
> src/ComputeNonbondedUtil.h:34: warning: converting to `int' from
> `double'
> src/ComputePme.C:36:41: EachToManyMulticastStrategy.h: No such file or
> directorysrc/ComputePme.C: In constructor
> `ComputePmeMgr::ComputePmeMgr()':
> src/ComputePme.C:270: error: `ComlibDelegateProxy' undeclared (first use
> this
> function)
> src/ComputePme.C:270: error: (Each undeclared identifier is reported
> only once
> for each function it appears in.)
> src/ComputePme.C: In member function `void
> ComputePmeMgr::initialize(CkQdMsg*)
> ':
> src/ComputePme.C:372: error: `ComlibInstanceHandle' undeclared (first
> use this
> function)
> src/ComputePme.C:372: error: syntax error before `=' token
> src/ComputePme.C:373: error: `EachToManyMulticastStrategy' undeclared
> (first
> use this function)
> src/ComputePme.C:373: error: `strat' undeclared (first use this
> function)
> src/ComputePme.C:374: error: syntax error before `(' token
> src/ComputePme.C:376: error: `cinst1' undeclared (first use this
> function)
> src/ComputePme.C:378: error: syntax error before `=' token
> src/ComputePme.C:379: error: syntax error before `(' token
> src/ComputePme.C:381: error: `cinst2' undeclared (first use this
> function)
> src/ComputePme.C:382: error: `ComlibDoneCreating' undeclared (first use
> this
> function)
> src/ComputePme.C: In member function `void ComputePmeMgr::sendTrans()':
> src/ComputePme.C:697: error: syntax error before `=' token
> src/ComputePme.C: In member function `void
> ComputePmeMgr::sendUntrans()':
> src/ComputePme.C:802: error: syntax error before `=' token
> make: *** [obj/ComputePme.o] Error 1
> -----------------------------------------------------------------------
>
> What's wrong this time?
>
> Any tips would be greatly appreciated!
>
> Sincerely,
> Xiaoqing
>
>
>
> 在2005年05月16日的11:31,Xiaoqing Wang写道:
> > Dear all,
> >
> > I compiled charm-5.8/NAMD-2.5 with
> > ./build charm++ net-linux opteron
> > ./config tcl fftw plugins Linux-amd64-g++
> >
> > cd Linux-amd64-g++
> > make
> > --------------------------------------------------------------
> > [xqwang_at_master Linux-amd64-g++]$ make
> > mkdir inc
> > mkdir obj
> > g++ -DSOCKLEN_T=socklen_t -DNO_STRSTREAM_H
> > -I/home/xqwang/NAMD_2.5_Source/charm- 5.8/net-linux-opteron/include
> > -DCMK_OPTIMIZE=1 -Isrc -Iinc -I/home/xqwang/plug ins/LINUXAMD64
> > -I/home/xqwang/plugins/LINUXAMD64/molfile -I/home/xqwang/plugins/
> > include -I/home/xqwang/plugins/LINUXAMD64
> > -I/home/xqwang/plugins/LINUXAMD64/molf ile
> > -I/home/xqwang/plugins/include -DNAMD_PLUGINS -I/home/xqwang/tcl/include
> > -I/ home/xqwang/tcl-linux/include -DNAMD_TCL -DUSE_NON_CONST
> > -I/home/xqwang/fftw/inc lude -I/home/xqwang/fftw-linux/include
> > -DNAMD_FFTW -DNAMD_VERSION=\"2.5\" -DNAM D_PLATFORM=\"Linux-amd64\"
> > -O3 -march=athlon -m64 -fexpensive-optimizations -ff ast-math -o
> > obj/common.o -c src/common.C
> > cc1plus: error: CPU you selected does not support x86-64 instruction set
> > cc1plus: error: CPU you selected does not support x86-64 instruction set
> > make: *** [obj/common.o] Error 1
> > ------------------------------------------------------------------------
> >
> > Any tips would be greatly appreciated!
> >
> > Sincerely,
> > Xiaoqing
> >
> >
>
>
>
>

-- 
--Xiaoqing
Wuhan University
Wuhan 430072
China

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:18:46 CST