<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Use the configure command at the root level with the right flag:
with_io_romio_flags="--with-filesystem=ufs+nfs".<br>
This flag will generate MPI with ROMIO, with the support of UFS and NFS.<br>
<br>
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"<br>
<br>
Pascal<br>
<br>
<br>
shraddha a écrit :
<blockquote cite="mid:000001cbd274$35bb0780$a1311680$@in" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Dear
Pascal,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
My simple question
is how can I create libmpio.a when MPICH2 or OpenMPI is installed with
ROMIO
support.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
How can I install
ROMIO on top-of MPICH2 , LAM-MPI or OpenMPI??<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">-Shraddha
Desai<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a>
[<a class="moz-txt-link-freetext" href="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</a>] <b>On Behalf Of </b>Pascal
Deveze<br>
<b>Sent:</b> Tuesday, February 22, 2011 1:30 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [mpich-discuss] Regarding ROMIO package
installation with
MPICH2 and LAM-MPI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OK. You have already an MPI implementation.<br>
<br>
mpicc and mpif90 are wrappers that make "a bit more" than just
calling gcc and gfortran. That could explain your error.<br>
Do you run "configure" with gfortran and gcc ?<br>
<br>
Pascal<br>
<br>
shraddha a écrit : <o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Dear
Pascal,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
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.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Can you
please correct me if I
am wrong.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">-Shraddha
Desai</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
<div>
<div
style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a moz-do-not-send="true"
href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a>
[<a moz-do-not-send="true"
href="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</a>]
<b>On Behalf Of </b>Pascal Deveze<br>
<b>Sent:</b> Monday, February 21, 2011 8:35 PM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [mpich-discuss] Regarding ROMIO package
installation with
MPICH2 and LAM-MPI</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Why do you specify -cc=mpicc -fc=mpif90 ?<br>
I mean you have to specify compilers, not MPI compilers.<br>
<br>
Pascal<br>
<br>
shraddha a écrit : <o:p></o:p></p>
<p class="MsoNormal">Dear Sir,<o:p></o:p></p>
<p class="MsoNormal">
I have tried to install ROMIO with MPICH2 with following configure
command.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><b>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</b><o:p></o:p></p>
<p class="MsoNormal"><b> </b><o:p></o:p></p>
<p class="MsoNormal"><b>Successful configuration, but make giving
error</b><o:p></o:p></p>
<p class="MsoNormal"><b> </b><o:p></o:p></p>
<p class="MsoNormal"><b>Make Error:</b><o:p></o:p></p>
<p class="MsoNormal"><b> </b><o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">iread.c: In function 'PMPI_File_iread':<o:p></o:p></p>
<p class="MsoNormal">iread.c:132: warning: passing argument 7 of
'fh->fns->ADIOI_xxx_IreadContig' from incompatible pointer type<o:p></o:p></p>
<p class="MsoNormal">iread.c:138: warning: assignment makes integer
from pointer
without a cast<o:p></o:p></p>
<p class="MsoNormal">iread.c:139: error: invalid type argument of
'->'<o:p></o:p></p>
<p class="MsoNormal">iread.c:140: error: invalid type argument of
'->'<o:p></o:p></p>
<p class="MsoNormal">iread.c:141: error: invalid type argument of
'->'<o:p></o:p></p>
<p class="MsoNormal">iread.c:142: error: invalid type argument of
'->'<o:p></o:p></p>
<p class="MsoNormal">iread.c:143: error: invalid type argument of
'->'<o:p></o:p></p>
<p class="MsoNormal">iread.c:162: warning: passing argument 7 of
'fh->fns->ADIOI_xxx_IreadStrided' from incompatible pointer type<o:p></o:p></p>
<p class="MsoNormal">make[2]: *** [iread.o] Error 1<o:p></o:p></p>
<p class="MsoNormal">make[2]: Leaving directory
`/home/kmathur/MPICH2/gnu/romio-1.2.5.1/mpi-io'<o:p></o:p></p>
<p class="MsoNormal">Make failed in directory mpi-io<o:p></o:p></p>
<p class="MsoNormal">make[1]: *** [mpiolib] Error 1<o:p></o:p></p>
<p class="MsoNormal">make[1]: Leaving directory
`/home/kmathur/MPICH2/gnu/romio-1.2.5.1'<o:p></o:p></p>
<p class="MsoNormal">make: *** [mpio] Error 2<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I am trying to configure ROMIO with lam-mpi but
getting
error at configure stage:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><b>romio-1.2.5.1]$ ./configure</b>
--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<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">checking if a simple MPI program compiles and
links...<o:p></o:p></p>
<p class="MsoNormal">*# Unable to compile a simple MPI program<o:p></o:p></p>
<p class="MsoNormal">*# Use the -mpi, -mpiincdir, and -mpilib options
to
configure to specify the<o:p></o:p></p>
<p class="MsoNormal">*# MPI implementation, the include path for
mpi.h, and the
MPI library to link<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Can you please tell me the proper way to install
ROMIO with
both MPICH2 and LAM-MPI??<o:p></o:p></p>
<p class="MsoNormal">How can I create libmpio.a ?? which will be
useful to
compile MPI-IO programs.<o:p></o:p></p>
<p class="MsoNormal">Your help would be greatly appreciable for me.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Shraddha Desai<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is <br>
believed to be clean. </span><o:p></o:p></p>
<pre> <o:p></o:p></pre>
<pre style="text-align: center;"><o:p> </o:p></pre>
<pre style="text-align: center;">
<hr align="center" size="4" width="90%">
</pre>
<pre style="text-align: center;"><o:p> </o:p></pre>
<pre style="text-align: center;"><o:p> </o:p></pre>
<pre style="text-align: center;"> <o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mpich-discuss mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif"; color: windowtext;"><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is <br>
believed to be clean. </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is <br>
believed to be clean. <o:p></o:p></span></p>
<pre><o:p> </o:p></pre>
<pre style="text-align: center;">
<hr align="center" size="4" width="90%">
</pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mpich-discuss mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif"; color: windowtext;"><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is <br>
believed to be clean. <o:p></o:p></span></p>
</div>
<br>
-- <br>
This message has been scanned for viruses and
<br>
dangerous content by
<a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is
<br>
believed to be clean.
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mpich-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>