Hello<br><br>No, I have not modified anything at all, this is directly downloaded from the website.<br>I have earlier installed mpich2 in other systems, but never faced this problem, I am not able to understand whats going wrong? What should I do?<br>
<br><br><br>Thanks<br>Preeti<br><br><br><div class="gmail_quote">On Thu, Mar 11, 2010 at 11:00 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For some reason the build system is attempting to re-run many of the autotools (aclocal, autoheader, autoconf, etc) in some of the subdirectories of your build. These fail for various reasons, including that your autotools versions aren't compatible with MPICH2. The real problem is that the autotools are being re-run, you shouldn't need to have them installed on your system at all.<br>
<br>
When the various autotools fail to run correctly the build still continues for some reason, but with many incorrect values set. This leads to the "cannot create regular file" errors that you are seeing.<br>
<br>
Did you modify something in the source directory? Perhaps a file ending in ".in" or ".am" or ".sm"? A fresh un-tar and build of mpich2-1.2.1p1 shouldn't generally have this problem...<br>
<br>
-Dave<div><div></div><div class="h5"><br>
<br>
On Mar 11, 2010, at 10:00 AM, Preeti wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hello<br>
<br>
I have rebuilt everything without setting the flags also<br>
<br>
/home/vss/preeti/bin/mpich2-1.2.1p1/configure --prefix=/home/vss/preeti/bin/2-1.2.1build --enable-f90 2>&1 | tee c.log<br>
<br>
make 2>&1 | tee m.log<br>
make install 2>&1 | tee mi.log<br>
<br>
<br>
and this time I get the following error<br>
<br>
/usr/bin/install -c -m 644 index.htm /index.htm<br>
/usr/bin/install: cannot create regular file `/index.htm': Permission denied<br>
mkdir: cannot create directory `/www1': Permission denied<br>
<br>
<br>
The log files are attached.<br>
What am I missing?<br>
<br>
Appreciate your help.<br>
<br>
<br>
Thanks<br>
Preeti<br>
<br>
<br>
<br>
<br>
On Thu, Mar 11, 2010 at 4:37 PM, Preeti <<a href="mailto:preeti@csa.iisc.ernet.in" target="_blank">preeti@csa.iisc.ernet.in</a>> wrote:<br>
Hello<br>
<br>
I have rebuilt everything from scratch and did vpath build.<br>
I set the following<br>
<br>
<br>
export F90=gfortran<br>
export F77=gfortran<br>
export LD_LIBRARY_PATH=/usr/lib64:/lib:/usr/lib<br>
export LD_RUN_PATH=/usr/lib64:/lib:/usr/lib<br>
<br>
/home/vss/preeti/bin/mpich2-1.2.1p1/configure --prefix=/home/vss/preeti/bin/2-1.2.1p1 --enable-f90 2>&1 | tee c.log<br>
<br>
make 2>&1 | tee m.log<br>
<br>
<br>
Then I get the error<br>
<br>
Making all in mpl<br>
/bin/sh: line 17: cd: mpl: No such file or directory<br>
<br>
make[3]: *** [all-recursive] Error 1<br>
<br>
The files are attached.<br>
Please help.<br>
<br>
<br>
Thanks<br>
Preeti<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Thu, Mar 11, 2010 at 1:53 AM, <<a href="mailto:chan@mcs.anl.gov" target="_blank">chan@mcs.anl.gov</a>> wrote:<br>
<br>
I don't think setting F77 and F90 causes the problem that<br>
you are seeing. The directories or subpackges that have<br>
problems use a different build system than the majority of<br>
mpich2 base, so it could be that there is bugs in the build system<br>
in those subpackage.<br>
<br>
Since you didn't do "make distclean" before you reconfigure, so<br>
the m.log(.old) do not tell me much. Can you rebuild everything<br>
from scratch ? i.e. untar the mpich2 tarball in a different location.<br>
Instead of doing an inpath build (i.e. cd mpich2-1.2.1p1/ ; ./configure....),<br>
could you do a VPATH build as documented in the README (search for the<br>
word VPATH)? Send us the configure and make outputs again<br>
(be sure to add 2>&1 in creating the output files).<br>
<br>
A.Chan<br>
<br>
<br>
----- "Preeti" <<a href="mailto:preeti@csa.iisc.ernet.in" target="_blank">preeti@csa.iisc.ernet.in</a>> wrote:<br>
<br>
> Hello<br>
><br>
> Thank you for the quick response.<br>
><br>
> I forgot to mention that I had set two flags earlier.<br>
> export F90=gfortran<br>
> export F77=gfortran<br>
><br>
> The earlier problem is gone when I compiled without setting these. I<br>
> am<br>
> attaching all log files, the earlier ones and the new ones.<br>
><br>
> Now I am facing another error which is from "make install 2>& | tee<br>
> mi.log"<br>
><br>
> /usr/bin/install: cannot create regular file `/index.htm': Permission<br>
> denied<br>
><br>
> Probably some variable is not set. I tried setting docdir too.<br>
> mi.log is also attached.<br>
><br>
> Please help.<br>
><br>
><br>
> Thanks<br>
> Preeti<br>
><br>
><br>
><br>
> On Wed, Mar 10, 2010 at 9:33 PM, <<a href="mailto:chan@mcs.anl.gov" target="_blank">chan@mcs.anl.gov</a>> wrote:<br>
><br>
> ><br>
> > It is unclear what went wrong based on what you've provided so far.<br>
> > Can you send us the configure and make outputs as stated in the<br>
> > README (be sure to include the stderr in the output file) ?<br>
> ><br>
> > ----- "Preeti" <<a href="mailto:preeti@csa.iisc.ernet.in" target="_blank">preeti@csa.iisc.ernet.in</a>> wrote:<br>
> ><br>
> > > Hello<br>
> > ><br>
> > > I am trying to install mpich2-1.2.1p1 on a 64-bit Linux system.<br>
> > ><br>
> > > Configuration was successful.<br>
> > > ./configure --prefix=$HOME/local/mpich2-1.2.1 --enable-f90 | tee<br>
> > > c.log<br>
> ><br>
> > BTW, you didn't include stderr in c.log. Depends on the shell you<br>
> > use, you need to either add "&" or "2>&1". See README for<br>
> details..<br>
> ><br>
> > A.Chan<br>
> ><br>
> > _______________________________________________<br>
> > mpich-discuss mailing list<br>
> > <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
> > <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
> ><br>
> > --<br>
> > This message has been scanned for viruses and<br>
> > dangerous content by MailScanner, and is<br>
> > believed to be clean.<br>
> ><br>
> ><br>
><br>
> _______________________________________________<br>
> mpich-discuss mailing list<br>
> <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
<br>
<br></div></div>
<c.log><config.log><m.log><mi.log>_______________________________________________<div class="im"><br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></blockquote><div><div></div><div class="h5">
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
</div></div></blockquote></div><br>