[mpich-discuss] Regarding ROMIO package installation with MPICH2 and LAM-MPI

shraddha shraddhav at cdac.in
Mon Feb 21 06:35:11 CST 2011


Dear Sir,

            I have tried to install ROMIO with MPICH2 with following
configure command.

 

romio-1.2.5.1]$ ./configure --prefix=/home/shraddha/MPICH2/gnu/romio-1.2.5.1
-mpi=mpich -file_system=ufs+nfs -mpiincdir=/share/apps/mpich2/gnu/include
-mpibindir=/share/apps/mpich2/gnu/bin -cc=mpicc -fc=mpif90 2>&1 | tee
LOG-config-3

 

Successful configuration, but make giving error

 

Make Error:

 

mpicc -O -DFORTRANUNDERSCORE -DHAVE_ROMIOCONF_H
-I/share/apps/mpich2/gnu/include
-I/home/kmathur/MPICH2/gnu/romio-1.2.5.1/mpi-io -I../include
-I/home/kmathur/MPICH2/gnu/romio-1.2.5.1/mpi-io/../adio/include
-I../adio/include -c iread.c

iread.c: In function 'PMPI_File_iread':

iread.c:132: warning: passing argument 7 of 'fh->fns->ADIOI_xxx_IreadContig'
from incompatible pointer type

iread.c:138: warning: assignment makes integer from pointer without a cast

iread.c:139: error: invalid type argument of '->'

iread.c:140: error: invalid type argument of '->'

iread.c:141: error: invalid type argument of '->'

iread.c:142: error: invalid type argument of '->'

iread.c:143: error: invalid type argument of '->'

iread.c:162: warning: passing argument 7 of
'fh->fns->ADIOI_xxx_IreadStrided' from incompatible pointer type

make[2]: *** [iread.o] Error 1

make[2]: Leaving directory `/home/kmathur/MPICH2/gnu/romio-1.2.5.1/mpi-io'

Make failed in directory mpi-io

make[1]: *** [mpiolib] Error 1

make[1]: Leaving directory `/home/kmathur/MPICH2/gnu/romio-1.2.5.1'

make: *** [mpio] Error 2

 

I am trying to configure ROMIO with lam-mpi but getting error at configure
stage:

 

romio-1.2.5.1]$ ./configure --prefix=/share/apps/ROMIO/LAMMPI/gnu/gnu-412
-mpi=lam_mpi -file_system=ufs+nfs
-mpiincdir=/share/apps/LAM-MPI/gnu/gnu-412/include
-mpilib=/share/apps/LAM-MPI/gnu/gnu-412/lib/libmpi.a -cc=mpicc -fc=mpif90

 

checking if a simple MPI program compiles and links...

*# Unable to compile a simple MPI program

*# Use the -mpi, -mpiincdir, and -mpilib options to configure to specify the

*# MPI implementation, the include path for mpi.h, and the MPI library to
link

 

Can you please tell me the proper way to install ROMIO with both MPICH2 and
LAM-MPI??

How can I create libmpio.a ?? which will be useful to compile MPI-IO
programs.

Your help would be greatly appreciable for me.

 

Regards,

Shraddha Desai

 

 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110221/2cf141b1/attachment.htm>


More information about the mpich-discuss mailing list