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

shraddha shraddhav at cdac.in
Tue Feb 22 22:16:51 CST 2011


Dear Pascal,

             I have already tried with your suggested option, but during
MAKE I am getting below mentioned error for LAM-MPI-7.1.4 and 7.1.3.

 

g++ -O3 -pthread -o impid client.o comm.o dance.o endian.o flow_control.o
host.o host_ack.o host_long.o host_queue.o impid.o lamnodes.o local.o
local_ack.o local_long.o local_queue.o local_req.o procs.o packet_mgmt.o
router.o sequence.o yes  ../../../share/libmpi/.libs/libmpi.a
../../../share/liblam/.libs/liblam.a -ldl /usr/local/lib/libtorque.so -lnsl
-lutil

g++: yes: No such file or directory

make[3]: *** [impid] Error 1

make[3]: Leaving directory
`/home/shraddha/LAM-MPI/gnu/romio-lam/lam-7.1.4/otb/sys/impid'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory
`/home/shraddha/LAM-MPI/gnu/romio-lam/lam-7.1.4/otb/sys'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/home/shraddha/LAM-MPI/gnu/romio-lam/lam-7.1.4/otb'

make: *** [all-recursive] Error 1

 

               with OpenMPI-1.5 

 

./configure --prefix=/share/apps/OpenMPI/romio-openmpi/gnu/gnu-412 CC=gcc
CXX=g++ F77=gfortran FC=gfortran --with-threads
--with-io-romio-flags=-with-file-system=ufs+nfs

Make and make install successful.

 

But not getting libmpio.a or mpio.h file.

 

openmpi-1.5]$ ls /share/apps/OpenMPI/romio-openmpi/gnu/gnu-412/lib

libmca_common_sm.la        libmpi.so              libotf.so
libvt-mpi.so.0

libmca_common_sm.so        libmpi.so.1            libotf.so.0
libvt-mpi.so.0.0.0

libmca_common_sm.so.2      libmpi.so.1.0.0        libotf.so.0.0.1
libvt-mt.a

libmca_common_sm.so.2.0.0  libompitrace.la        libvt.a
libvt-mt.la

libmpi_cxx.la              libompitrace.so        libvt-hyb.a
libvt-mt.so

libmpi_cxx.so              libompitrace.so.0      libvt-hyb.la
libvt-mt.so.0

libmpi_cxx.so.1            libompitrace.so.0.0.0  libvt-hyb.so
libvt-mt.so.0.0.0

libmpi_cxx.so.1.0.0        libopen-pal.la         libvt-hyb.so.0
libvt-pomp.a

libmpi_f77.la              libopen-pal.so         libvt-hyb.so.0.0.0
libvt-pomp.la

libmpi_f77.so              libopen-pal.so.1       libvt-java.la
libvt.so

libmpi_f77.so.1            libopen-pal.so.1.0.0   libvt-java.so
libvt.so.0

libmpi_f77.so.1.0.0        libopen-rte.la         libvt-java.so.0
libvt.so.0.0.0

libmpi_f90.la              libopen-rte.so         libvt-java.so.0.0.0
mpi.mod

libmpi_f90.so              libopen-rte.so.1       libvt.la
openmpi

libmpi_f90.so.1            libopen-rte.so.1.0.0   libvt-mpi.a
pkgconfig

libmpi_f90.so.1.0.0        libotf.a               libvt-mpi.la

libmpi.la                  libotf.la              libvt-mpi.so

 

Is this OpenMPI installed successfully with MPI-IO libraries or not, I am
not able to conclude.

 

-Shraddha Desai

 

 

 

 

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pascal Deveze
Sent: Tuesday, February 22, 2011 6:32 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Regarding ROMIO package installation with
MPICH2 and LAM-MPI

 

Use the configure command at the root level with the right flag:
with_io_romio_flags="--with-filesystem=ufs+nfs".
This flag will generate MPI with ROMIO, with the support of UFS and NFS.

If you want to transmit some other flags to the ROMIO configure, just add
them : with_io_romio_flags="--with-filesystem=ufs+nfs --flag1=xx flag2=yyy"

Pascal


shraddha a écrit : 

Dear Pascal,

              My simple question is how can I create libmpio.a when MPICH2
or OpenMPI is installed with ROMIO support.

              OR

             How can I install ROMIO on top-of MPICH2 , LAM-MPI or OpenMPI??

 

-Shraddha Desai

 

 

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pascal Deveze
Sent: Tuesday, February 22, 2011 1:30 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Regarding ROMIO package installation with
MPICH2 and LAM-MPI

 

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  <http://www.mailscanner.info/> MailScanner, 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
  

 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, 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
  

 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, 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
  

 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
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/20110223/72340541/attachment-0001.htm>


More information about the mpich-discuss mailing list