Skip to Content.
Sympa Menu

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

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

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


Chronological Thread 
  • From: Jim Phillips <jim AT ks.uiuc.edu>
  • To: Agostino BRUNO <agostino.bruno AT unipr.it>
  • Cc: charm AT cs.illinois.edu
  • Subject: Re: [charm] [ppl] error in compiling charm-3.6.2
  • Date: Mon, 2 Feb 2015 10:02:09 -0600 (CST)
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>


The compiler seems to be suggesting that at line 236 of cklists.h you change elementCopy(...) to this->elementCopy(...). You may also be able to just add "-fpermissive" to the compiler options.

Jim


On Mon, 2 Feb 2015, Agostino BRUNO 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

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



Archive powered by MHonArc 2.6.16.

Top of Page