error compiling charm-6.2.2 for bluegenep-xlc

From: hannes.loeffler_at_stfc.ac.uk
Date: Tue Oct 26 2010 - 14:22:50 CDT

Hi,

I get the following error message when compiling charm-6.2.2 for bluegenep-xlc.

./bin/charmc -o machine.o -DFOR_CPLUS=1 machine.c
"manytomany.c", line 219.28: 1506-280 (W) Function argument assignment between types "unsigned int*" and "unsigned int" is not allowed.
"manytomany.c", line 220.24: 1506-280 (W) Function argument assignment between types "unsigned int*" and "char*" is not allowed.
"manytomany.c", line 224.23: 1506-280 (W) Function argument assignment between types "unsigned int" and "unsigned int*" is not allowed.
"manytomany.c", line 225.29: 1506-099 (S) Unexpected argument.
Fatal Error by charmc in directory /gpfs1/stfc-home/hhl/usr/src/NAMD_2.7_Source/charm-6.2.2/bluegenep-xlc/tmp
   Command /opt/ibmcmp/vac/bg/9.0/bin/bgxlc -qcpluscmt -qhalt=e -I../bin/../include -I/bgsys/drivers/ppcfloor/comm/include -I/bgsys/drivers/ppcfloor/arch/include -I/soft/apps/zlib-1.2.3/include -I../bin/../include -D__CHARMC__=1 -DFOR_CPLUS=1 -c machine.c -o machine.o returned error code 1
charmc exiting...
make: *** [../lib/libconv-cplus-n.a] Error 1

Obviously manytomany.c tries to call DCMF_Manytomany with 15 arguments while the prototype in dcmf_multisend.h has only 13 here:

  int DCMF_Manytomany (DCMF_Protocol_t * registration,
                               DCMF_Request_t * request,
                               DCMF_Callback_t cb_done,
                               DCMF_Consistency consistency,
                               unsigned connection_id,
                               unsigned rindex,
                               const char * sndbuf,
                               unsigned * sndlens,
                               unsigned * sdispls,
                               unsigned * sndcounters,
                               unsigned * ranks,
                               unsigned * permutation,
                               unsigned nranks);

Cheers,
Hannes.

-- 
Scanned by iCritical.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:56:16 CST