Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] ampi: MPI_Info_dup fails

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] ampi: MPI_Info_dup fails


Chronological Thread 
  • From: Eduardo <erocha.ssa AT gmail.com>
  • To: Jim Edwards <jedwards AT ucar.edu>
  • Cc: charm AT cs.uiuc.edu, Gengbin Zheng <zhenggb AT gmail.com>
  • Subject: Re: [charm] [ppl] ampi: MPI_Info_dup fails
  • Date: Wed, 13 Jul 2011 10:49:43 -0300
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Jim,

Try to link with this option:

-Wl,--allow-multiple-definition

Eduardo

On Wed, Jul 13, 2011 at 10:37 AM, Jim Edwards
<jedwards AT ucar.edu>
wrote:
>
>
>>
>> On Tue, Jul 12, 2011 at 3:34 PM, Gengbin Zheng
>> <zhenggb AT gmail.com>
>> wrote:
>>>
>>> AMPI includes a mpiio (romio) library. To compile it, cd
>>> charm/mpi-crayxt/tmp/lib/ck-libs/ampi
>>>
>>> and run command:
>>>
>>> make AMPI-ROMIO
>>>
>>> If you are using an old version of charm, you need to update
>>> romio/config.sh to be like this:
>>>
>>> #!/bin/sh
>>> CHARMDIR=`util/charmdir`
>>> ./configure -mpiincdir=$CHARMDIR/include
>>> -mpilib=$CHARMDIR/lib/libmoduleampi.a -mpibindir=$CHARMDIR/bin
>>> -cc=$CHARMDIR/bin/ampicc -fc=$CHARMDIR/bin/ampif77
>>> -f90=$CHARMDIR/bin/ampif90
>>>
>>> (using ampicc instead of mpicc for example)
>>>
>
> I am getting a ton of errors of this nature
> /opt/cray/mpt/4.0.3/xt/seastar/mpich2-gnu/include/mpi.h:532:5: error:
> conflicting types for 'AMPI_Recv'
> /contrib/charm/6.2/gnu/mpi-crayxt/bin/../include/mpi.h:270:5: note: previous
> declaration of 'AMPI_Recv' was here
>
>
> _______________________________________________
> 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