namd cvs compilation

From: BIN ZHANG (zhngbn_at_gmail.com)
Date: Wed Nov 26 2008 - 18:55:07 CST

Hi, all:
     I was trying to build NAMD CVS version(downloaded yesterday) on a
linux cluster, with the arch file:

==========================================
NAMD_ARCH = Linux-amd64
CHARMARCH = mpi-linux-amd64-icc-mpich
CHARMOPTS = -thread context -memory os

FLOATOPTS = -O3 -fno-rtti -ipo0 -xW -mtune=pentium4

CXX = /opt/mpich/infiniband/intel/bin/mpiCC
CC = /opt/mpich/infiniband/intel/bin/mpicc
CXXOPTS = -static-intel $(FLOATOPTS)
CXXNOALIASOPTS = -fno-alias $(FLOATOPTS)
COPTS = -static-intel $(FLOATOPTS)
==========================================

     But it failed with the error:

/usr/include/tcl.h(256): catastrophic error: #error directive: define
at most one of USE_NON_CONST and USE_COMPAT_CONST
   # error define at most one of USE_NON_CONST and USE_COMPAT_CONST
          ^

compilation aborted for src/mainfunc.C (code 4)
make: *** [obj/mainfunc.o] Error 4

      Does anyone know what is this error about? How to solve the
problem then?

      Thanks a lot and Happy Thanksgiving.
Bin

PS: the same configuration works for NAMD-2.6

-------------------------------------------------------------
The tree of liberty must be refreshed from time to time with the blood
of patriots and tyrants.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:50:10 CST