Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] building f90 code with charm

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] building f90 code with charm


Chronological Thread 
  • From: Jim Edwards <jedwards AT ucar.edu>
  • To: Gengbin Zheng <zhenggb AT gmail.com>
  • Cc: charm AT cs.uiuc.edu, cmendes AT illinois.edu
  • Subject: Re: [charm] [ppl] building f90 code with charm
  • Date: Thu, 14 Jul 2011 12:18:31 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>



On Fri, Jul 8, 2011 at 12:43 AM, Gengbin Zheng <zhenggb AT gmail.com> wrote:
Hi,

 AMPI implements MPI 1.0 standard. MPI_OFFSET_KIND appears to be
defined in mpi 2.
 you can define it in ampi's mpif.h, or in your code, adding something like:


 integer, parameter :: MPI_OFFSET_KIND = 8


 I checked in this change to latest version of Charm++. You can check
out charm from git repository to get this fix.

Gengbin


I've been using 6.2 but decided to update to the repository trunk this morning.     Now I'm getting: 

 charmc: Executing ftn -I/glade/home/jedwards/src/charm/mpi-crayxt/bin/../include -I/glade/home/jedwards/src/charm/mpi-crayxt/bin/../include -DAMPI -g -Wl,--allow-multiple-definition -c testmpiio2.F90 -o testmpiio2.o
PGF90-W-0119-Redundant specification for mpi_offset_kind (/glade/home/jedwards/src/charm/mpi-crayxt/bin/../include/mpiof.h: 34)
PGF90-S-0044-Multiple declaration for symbol mpi_offset_kind (/glade/home/jedwards/src/charm/mpi-crayxt/bin/../include/mpiof.h: 35)
PGF90-S-0038-Symbol, mpi_offset_kind, has not been explicitly declared (testmpiio2.F90)
  0 inform,   1 warnings,   2 severes, 0 fatal for mpi_main
Fatal Error by charmc in directory /glade/scratch/jedwards/pnettest
   Command ftn -I/glade/home/jedwards/src/charm/mpi-crayxt/bin/../include -I/glade/home/jedwards/src/charm/mpi-crayxt/bin/../include -DAMPI -g -Wl,--allow-multiple-definition -c testmpiio2.F90 -o testmpiio2.o returned error code 2

So I went and removed it from my local mpif.h



Archive powered by MHonArc 2.6.16.

Top of Page