Re: build smp version of namd with intel 10.1

From: Axel Kohlmeyer (
Date: Thu Aug 07 2008 - 12:08:34 CDT

On Thu, 7 Aug 2008, Vlad Cojocaru wrote:

VC> Dear NAMD users,


VC> I managed to build the net-linux-amd64-smp version of charm++ with gcc 4.1.2
VC> correctly but when I tried with intel 10.1 I get the error below (the error
VC> is the same for the mpi or net versions so don't get disturbed by the mpicc
VC> line in the error message - happens the same if it was icc).

internal compiler errors are by definition a bug of the compiler...

VC> The problem with the gcc compilation is that the namd executable is about 30
VC> % slower than any of the intel compilations !

try gcc 3.4 (or perhaps 4.3?).


VC> Best wishes
VC> vlad
VC> -----error with intel 10.1 when building charm++---------------------------
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. msgmgr.c
VC> msgmgr.c(91): (col. 18) remark: LOOP WAS VECTORIZED.
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. cpm.c
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. cpthreads.c
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. futures.c
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. cldb.c
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. topology.C
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. random.c
VC> ./bin/charmc -DCMK_OPTIMIZE=1 -O3 -fPIC -c -I. debug-conv.c
VC> (0): internal error: 0_1561
VC> compilation aborted for debug-conv.c (code 4)
VC> Fatal Error by charmc in directory
VC> /home/cojocaru/apps/intel/charm/charm-cvs-mpi-smp-pthreads/mpi-linux-amd64-pthreads-smp-mpicxx/tmp
VC> Command mpicc -D_REENTRANT -I../bin/../include -D__CHARMC__=1
VC> -I/apps/mpi/mvapich/1.0.1-2533-intel-10.1/include -c debug-conv.c -o
VC> debug-conv.o returned error code 4
VC> charmc exiting...
VC> gmake[2]: *** [debug-conv.o] Error 1
VC> gmake[2]: Leaving directory
VC> `/home/cojocaru/apps/intel/charm/charm-cvs-mpi-smp-pthreads/mpi-linux-amd64-pthreads-smp-mpicxx/tmp'
VC> gmake[1]: *** [converse] Error 2
VC> gmake[1]: Leaving directory
VC> `/home/cojocaru/apps/intel/charm/charm-cvs-mpi-smp-pthreads/mpi-linux-amd64-pthreads-smp-mpicxx/tmp'
VC> gmake: *** [charm++] Error 2
VC> -------------------------------------------------
VC> Charm++ NOT BUILT. Either cd into mpi-linux-amd64-pthreads-smp-mpicxx/tmp
VC> and try
VC> to resolve the problems yourself, visit
VC> for more information. Otherwise, email the developers at

Axel Kohlmeyer
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:21:14 CST