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

Pascal Deveze Pascal.Deveze at bull.net
Tue Feb 22 02:00:27 CST 2011


OK. You have already an MPI implementation.

mpicc and mpif90 are wrappers that make "a bit more" than just calling 
gcc and gfortran. That could explain your error.
Do you run "configure" with gfortran and gcc ?

Pascal

shraddha a écrit :
>
> Dear Pascal,
>
>               As ROMIO configure is having --mpi (can be lam, mpich2) 
> and --mpilibdir, -mpibindir, -mpilib options that means I am already 
> having MPI implementation installed on my cluster, I am installing 
> ROMIO (MPI-IO package) with the the use of mpi.
>
>  
>
> Can you please correct me if I am wrong.
>
>  
>
> -Shraddha Desai
>
>  
>
> *From:* mpich-discuss-bounces at mcs.anl.gov 
> [mailto:mpich-discuss-bounces at mcs.anl.gov] *On Behalf Of *Pascal Deveze
> *Sent:* Monday, February 21, 2011 8:35 PM
> *To:* mpich-discuss at mcs.anl.gov
> *Subject:* Re: [mpich-discuss] Regarding ROMIO package installation 
> with MPICH2 and LAM-MPI
>
>  
>
> Why do you specify -cc=mpicc -fc=mpif90 ?
> I mean you have to specify compilers, not MPI compilers.
>
> Pascal
>
> shraddha a écrit :
>
> 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* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>  
> ------------------------------------------------------------------------
>
>
>   
>  
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov <mailto:mpich-discuss at mcs.anl.gov>
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>   
>
>  
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>   

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


More information about the mpich-discuss mailing list