Skip to Content.
Sympa Menu

charm - Re: [charm] error in compiling charm-3.6.2

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] error in compiling charm-3.6.2


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Agostino BRUNO <agostino.bruno AT unipr.it>
  • Cc: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: Re: [charm] error in compiling charm-3.6.2
  • Date: Mon, 2 Feb 2015 10:33:58 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

6.3.2 is a very old version of Charm++ (current is 6.6.1), and NAMD 2.8 is a relatively old version of NAMD (current is 2.10).

Both pieces of software have undergone major improvements since the releases that you're trying to build, in both performance and correctness.

The particular error you're encountering was fixed in the Charm++ code quite some time ago. I strongly recommend using a more recent version.

On Mon, Feb 2, 2015 at 4:16 AM, Agostino BRUNO <agostino.bruno AT unipr.it> wrote:
Dear developers,

I am trying to compile charm-6.3.2 in NAMD2.8. To do this I used the following
command

./build charm++ net-linux-x86_64 --no-build-shared --with-production

but at some point the following error message appears:

(I think is a library issues, but I do not understand which library is required)

../bin/charmc -intrinsic -optimize -production   pathHistory.ci && touch
pathHistory.ci.stamp
Soft-linking headers...
touch headerlinks
gmake[1]: Leaving directory
`/home/abruno/progs/NAMD_2.8_Source/charm-6.3.2/net-linux-x86_64/tmp'
touch basics
Performing '/usr/bin/gmake charm++ OPTS=-optimize -production QUIET=' in
net-linux-x86_64/tmp
../bin/charmc -seq  -o sockRoutines-seq.o sockRoutines.c
../bin/charmc  -optimize -production   -c -I. trace-common.C
In file included from trace-common.C:16:0:
cklists.h: In instantiation of ‘int CkVec<T>::reserve(size_t) [with T =
Trace*; size_t = long unsigned int]’:
cklists.h:256:40:   required from ‘void CkVec<T>::growAtLeast(size_t) [with T
= Trace*; size_t = long unsigned int]’
cklists.h:260:24:   required from ‘void CkVec<T>::insert(size_t, const T&)
[with T = Trace*; size_t = long unsigned int]’
cklists.h:287:54:   required from ‘void CkVec<T>::push_back(const T&) [with T
= Trace*]’
trace.h:189:58:   required from here
cklists.h:236:37: error: ‘elementCopy’ was not declared in this scope, and no
declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
       elementCopy(block,oldBlock,len);
                                     ^
cklists.h:236:37: note: declarations in dependent base ‘CkSTLHelper<Trace*>’
are not found by unqualified lookup
cklists.h:236:37: note: use ‘this->elementCopy’ instead
Fatal Error by charmc in directory
/home/abruno/progs/NAMD_2.8_Source/charm-6.3.2/net-linux-x86_64/tmp
   Command g++ -m64 -DCMK_GFORTRAN -I../bin/../include -D__CHARMC__=1 -I. -O
-fno-stack-protector -c trace-common.C -o trace-common.o returned error code 1
charmc exiting...
gmake: *** [trace-common.o] Errore 1
-------------------------------------------------
Charm++ NOT BUILT. Either cd into net-linux-x86_64/tmp and try
to resolve the problems yourself, visit
http://charm.cs.illinois.edu/
for more information. Otherwise, email the developers at charm AT cs.illinois.edu


All the best,

Agostino
--
Agostino Bruno, PhD
Dipartimento di Farmacia
Universita' degli Studi di Napoli "Federico II"
Via D. Montesano 49
80131 Napoli
Tel.  081678619

Molecular Modeling Laboratory
Department of Pharmcy
University of Naples "Federico II"
Via D. Montesano 49
80131 Naples, Italy
Phone  081678619


_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm




Archive powered by MHonArc 2.6.16.

Top of Page