Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] charm 6.3.2 on aix

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] charm 6.3.2 on aix


Chronological Thread 
  • From: Gengbin Zheng <gzheng AT illinois.edu>
  • To: Andrew Emerson <a.emerson AT cineca.it>
  • Cc: charm AT cs.illinois.edu
  • Subject: Re: [charm] [ppl] charm 6.3.2 on aix
  • Date: Mon, 9 Jan 2012 14:31:05 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

You may be compiling a 32-bit charm using 64-bit XLC compiler environment.
It is better to be consistent, either using OBJECT_MODE to tel xlc
generate 32 bit binary,

or
tell charm to build for 64 bit. Something like this:

./build charm++ mpi-xp mpcc64


Gengbin

On Tue, Dec 20, 2011 at 3:30 AM, Andrew Emerson
<a.emerson AT cineca.it>
wrote:
> Dear developers
>
> I am trying to compile charm 6.3.2 on AIX 6.1 with C/C++ compilers
> 11.01. (Power6)
>
> I am getting this compilation error:
>
> ../bin/charmc  -O -DCMK_OPTIMIZE=1  -c -I. ck.C
> "ck.C", line 499.66: 1540-0216 (S) An expression of type "void * const"
> cannot be converted to type "CmiIntPtr".
> "ck.C", line 510.62: 1540-0216 (S) An expression of type "void * const"
> cannot be converted to type "CmiIntPtr".
> "ck.C", line 916.61: 1540-0216 (S) An expression of type "void *" cannot
> be converted to type "CmiIntPtr".
> "ck.C", line 936.76: 1540-0216 (S) An expression of type "void *" cannot
> be converted to type "CmiIntPtr".
> "ck.C", line 950.76: 1540-0216 (S) An expression of type "void *" cannot
> be converted to type "CmiIntPtr".
> "ck.C", line 962.76: 1540-0216 (S) An expression of type "void *" cannot
> be converted to type "CmiIntPtr".
> "ck.C", line 964.50: 1540-0216 (S) An expression of type "void *" cannot
> be converted to type "CmiIntPtr".
> "ck.C", line 1482.61: 1540-0216 (S) An expression of type "void * const"
> cannot be converted to type "CmiIntPtr".
> Fatal Error by charmc in directory
> /gpfs/scratch/userinternal/aem0/charm-6.3.2/mpi-sp/tmp
>    Command mpCC_r -qhalt=e -I../bin/../include -D__CHARMC__=1
> -DCMK_OPTIMIZE=1 -I. -O -c ck.C -o ck.o returned error code 1
> charmc exiting...
> gmake: *** [ck.o] Error 1
>
> Any suggestions?
>
> many thanks
> Andrew Emerson
>
> --
> Dr. Andrew Emerson
> Supercomputing Solutions and Applications
> CINECA
> a.emerson AT cineca.it
> skype: aem01966
>
> _______________________________________________
> 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




  • Re: [charm] [ppl] charm 6.3.2 on aix, Gengbin Zheng, 01/09/2012

Archive powered by MHonArc 2.6.16.

Top of Page