LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2008-07-04 17:34:58


It looks like the configure in that version of ROMIO doesn't properly
detect features of LAM/MPI. To be honest, building external ROMIO has
always been a bit tricky with LAM/MPI. Your best bet is really to
either 1) deal without pvfs2 support or 2) switch to an MPI with a
more recent version of ROMIO, like Open MPI. It's unlikely that LAM/
MPI's ROMIO will be updated, as the project is in a maintenance mode.

Brian

On Jul 3, 2008, at 2:12 AM, lammpi_at_[hidden] wrote:

> Thank you for this reply.
>
> lam mpi was installed with the following configure command:
>
> ./configure --prefix=/usr --without-fc --without-romio
>
>
> I'm trying to compile romio with this configuration command:
>
> ./configure --with-file-system=nfs+pvfs2 --with-mpi=lam
>
>
> and this is the output running make
>
> make mpiolib
> make[1]: Entering directory `/romio-1.3.0pre1'
>
> compiling ROMIO in directory mpi-io
> make[2]: Entering directory `/romio-1.3.0pre1/mpi-io'
> gcc -O -I/usr/include -O -I/usr/include
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -DHAVE_ROMIOCONF_H -I. -I. -I../include -I./../adio/include
> -I../adio/include -I./../../../include -I../../../include
> -c close.c
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:48: error: conflicting types for
> 'MPI_Info'
> /usr/include/mpi.h:46: error: previous declaration of
> 'MPI_Info' was here
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:49:1: warning: "MPI_INFO_NULL" redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:266:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:50:1: warning: "MPI_MAX_INFO_KEY"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:163:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:51:1: warning: "MPI_MAX_INFO_VAL"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:164:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:79:1: warning: "MPI_ORDER_C" redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:170:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:80:1: warning: "MPI_ORDER_FORTRAN"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:171:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:81:1: warning: "MPI_DISTRIBUTE_BLOCK"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:172:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:82:1: warning: "MPI_DISTRIBUTE_CYCLIC"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:173:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:83:1: warning: "MPI_DISTRIBUTE_NONE"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:174:1: warning: this is the location of
> the previous definition
> In file included from ./../adio/include/adio.h:73,
> from mpioimpl.h:15,
> from close.c:8:
> ../include/mpio.h:84:1: warning: "MPI_DISTRIBUTE_DFLT_DARG"
> redefined
> In file included from ./../adio/include/adio.h:72,
> from mpioimpl.h:15,
> from close.c:8:
> /usr/include/mpi.h:175:1: warning: this is the location of
> the previous definition
> ../include/mpio.h:250: error: conflicting types for
> 'MPI_Info_create'
> /usr/include/mpi.h:578: error: previous declaration of
> 'MPI_Info_create' was here
> ../include/mpio.h:251: error: conflicting types for
> 'MPI_Info_set'
> /usr/include/mpi.h:587: error: previous declaration of
> 'MPI_Info_set' was here
> ../include/mpio.h:252: error: conflicting types for
> 'MPI_Info_delete'
> /usr/include/mpi.h:579: error: previous declaration of
> 'MPI_Info_delete' was here
> ../include/mpio.h:254: error: conflicting types for
> 'MPI_Info_get'
> /usr/include/mpi.h:583: error: previous declaration of
> 'MPI_Info_get' was here
> ../include/mpio.h:256: error: conflicting types for
> 'MPI_Info_get_valuelen'
> /usr/include/mpi.h:586: error: previous declaration of
> 'MPI_Info_get_valuelen' was here
> ../include/mpio.h:257: error: conflicting types for
> 'MPI_Info_get_nkeys'
> /usr/include/mpi.h:584: error: previous declaration of
> 'MPI_Info_get_nkeys' was here
> ../include/mpio.h:258: error: conflicting types for
> 'MPI_Info_get_nthkey'
> /usr/include/mpi.h:585: error: previous declaration of
> 'MPI_Info_get_nthkey' was here
> ../include/mpio.h:259: error: conflicting types for
> 'MPI_Info_dup'
> /usr/include/mpi.h:580: error: previous declaration of
> 'MPI_Info_dup' was here
> ../include/mpio.h:260: error: conflicting types for
> 'MPI_Info_free'
> /usr/include/mpi.h:582: error: previous declaration of
> 'MPI_Info_free' was here
> ../include/mpio.h:274: error: conflicting types for
> 'MPI_Info_c2f'
> /usr/include/mpi.h:577: error: previous declaration of
> 'MPI_Info_c2f' was here
> ../include/mpio.h:275: error: conflicting types for
> 'MPI_Info_f2c'
> /usr/include/mpi.h:581: error: previous declaration of
> 'MPI_Info_f2c' was here
> ../include/mpio.h:424: error: conflicting types for
> 'PMPI_Info_create'
> /usr/include/mpi.h:886: error: previous declaration of
> 'PMPI_Info_create' was here
> ../include/mpio.h:425: error: conflicting types for
> 'PMPI_Info_set'
> /usr/include/mpi.h:895: error: previous declaration of
> 'PMPI_Info_set' was here
> ../include/mpio.h:426: error: conflicting types for
> 'PMPI_Info_delete'
> /usr/include/mpi.h:887: error: previous declaration of
> 'PMPI_Info_delete' was here
> ../include/mpio.h:428: error: conflicting types for
> 'PMPI_Info_get'
> /usr/include/mpi.h:891: error: previous declaration of
> 'PMPI_Info_get' was here
> ../include/mpio.h:430: error: conflicting types for
> 'PMPI_Info_get_valuelen'
> /usr/include/mpi.h:894: error: previous declaration of
> 'PMPI_Info_get_valuelen' was here
> ../include/mpio.h:431: error: conflicting types for
> 'PMPI_Info_get_nkeys'
> /usr/include/mpi.h:892: error: previous declaration of
> 'PMPI_Info_get_nkeys' was here
> ../include/mpio.h:432: error: conflicting types for
> 'PMPI_Info_get_nthkey'
> /usr/include/mpi.h:893: error: previous declaration of
> 'PMPI_Info_get_nthkey' was here
> ../include/mpio.h:433: error: conflicting types for
> 'PMPI_Info_dup'
> /usr/include/mpi.h:888: error: previous declaration of
> 'PMPI_Info_dup' was here
> ../include/mpio.h:434: error: conflicting types for
> 'PMPI_Info_free'
> /usr/include/mpi.h:890: error: previous declaration of
> 'PMPI_Info_free' was here
> ../include/mpio.h:436: error: conflicting types for
> 'PMPI_Info_c2f'
> /usr/include/mpi.h:885: error: previous declaration of
> 'PMPI_Info_c2f' was here
> ../include/mpio.h:437: error: conflicting types for
> 'PMPI_Info_f2c'
> /usr/include/mpi.h:889: error: previous declaration of
> 'PMPI_Info_f2c' was here
> In file included from ./../adio/include/adio.h:427,
> from mpioimpl.h:15,
> from close.c:8:
> ./../adio/include/adioi.h:97: error: expected
> specifier-qualifier-list before
> 'MPI_Datarep_extent_function'
> make[2]: *** [close.o] Error 1
> make[2]: Leaving directory `/romio-1.3.0pre1/mpi-io'
> Make failed in directory mpi-io
> make[1]: *** [mpiolib] Error 1
> make[1]: Leaving directory `/romio-1.3.0pre1'
> make: *** [mpio] Error 2
>
> -----
>
> On Jul 2, 2008, at 10:23 AM, lammpi_at_[hidden] wrote:
>
>> I'm using the latest version of Lam MPI on my Linux box
> (LFS > 6.3) and I want to compile romio with PVFS2 support.
>>
>> I know that the Lam version of romio do not support PVFS2
>> and I also know that PVFS do not support kernel 2.6.22.5
>>
>> So I'm trying to compile Lam MPI without romio support and
>> then compile romio-1.3.0-pre1 stand alone but I have
>> compilation error due to "conflict types" in lam mpi
> "mpi.h" > include file.
>>
>> Can you help me to have an up and working romio with PVFS2
>> support for lam mpi?
>
> It would be helpful if you gave the full error you're
> seeing. There are a number of things that could cause the
> problem you've described, so we need some more
> information.
>
> Brian
>
> --
> Brian Barrett
> LAM/MPI Developer
> Make today a LAM/MPI day!
>
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
   Brian Barrett
   LAM/MPI Developer
   Make today a LAM/MPI day!