Thankyou Anthony , Rajeev ..<br><br>i tried again and it has generated the mpif.h in mpich2-install/include/<br><br>however, my command testing comes out as follows:<br><br><div style="margin-left: 40px;">ahmad@barq:~> mpd &<br>
[1] 879<br>ahmad@barq:~> /export/home/ahmad/mpich2-install/bin/mpdlib.py:8: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.<br> import sys, os, signal, popen2, socket, select, inspect<br>
/export/home/ahmad/mpich2-install/bin/mpdlib.py:15: DeprecationWarning: the md5 module is deprecated; use hashlib instead<br> from md5 import new as md5new<br></div><br>okay so i know the warnings can be suppressed, so from now on im going to replace that output with *DeprecationWarning* instead<br>
<br><br><div style="margin-left: 40px;">ahmad@barq:~> mpdtrace<br>*DeprecationWarning*<br>barq<br></div><br>then i run <br>>mpdallexit<br><br>now i know the warnings are fine, and can be suppressed. but my mpdboot does not seem to be running<br>
<br>i have 5 nodes specified in the machines file, it gives a warning when i go over it ( -n 8 ).. but does not start deamons even when im<br>within limits ( -n 4 )<br><br><div style="margin-left: 40px;">ahmad@barq:~> mpdboot -n 8 -f ./mpd.hosts<br>
*DeprecationWarning*<br>totalnum=8 numhosts=5<br>there are not enough hosts on which to start all processes<br></div><br><br>I do not understand this error, and the number at the end of the output keeps changing every time i try this.<br>
<br><div style="margin-left: 40px;">ahmad@barq:~> mpdboot -n 4 -f ./mpd.hosts<br>/export/home/ahmad/mpich2-install/bin/mpdboot:56: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.<br> from popen2 import Popen4, Popen3, popen2<br>
/export/home/ahmad/mpich2-install/bin/mpdlib.py:15: DeprecationWarning: the md5 module is deprecated; use hashlib instead<br> from md5 import new as md5new<br><b>mpdboot_barq (handle_mpd_output 399): from mpd on barq, invalid port info:</b><br>
/export/home/ahmad/mpich2-install/bin/mpdlib.py:8: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.<br> import sys, os, signal, popen2, socket, select, inspect<br>/export/home/ahmad/mpich2-install/bin/mpdlib.py:15: DeprecationWarning: the md5 module is deprecated; use hashlib instead<br>
from md5 import new as md5new<br><b>42348</b><br></div><br>I then decided to buckle up and manually start mpd on some of my nodes by <br><div style="margin-left: 40px;">ahmad@barq:~>mpd &<br>(output not shown)<br>
</div><br>and then individually starting mpd on other nodes with > mpd -h barq -p <port_nu> &<br><br>finally ..my mpdtrace shows: <br><br><div style="margin-left: 40px;">
ahmad@barq:~> mpdtrace<br>
*DeprecationWarning*<br>
barq<br>
chenab7<br>
chenab6<br>
chenab4<br>
chenab2<br></div>
<br>which should mean that mpd is successfully running on 5 of my nodes<br><br>just to check:<br><div style="margin-left: 40px;">ahmad@chenab2:~/tau-2.18.2p4/examples/NPB3.2-MPI/bin> mpdringtest 10000<br>*DeprecationWarning*<br>
time for 10000 loops = 7.09382605553 seconds<br></div><br>however rank check returns: <br><div style="margin-left: 40px;">ahmad@chenab2:~/tau-2.18.2p4/examples/NPB3.2-MPI/bin> mpiexec -l -n 8 barq<br>*DeprecationWarning*<br>
problem with execution of barq on chenab7: [Errno 13] Permission denied<br>problem with execution of barq on barq: [Errno 13] Permission denied<br>problem with execution of barq on chenab2: [Errno 13] Permission denied<br>
problem with execution of barq on chenab4: [Errno 13] Permission denied<br>problem with execution of barq on chenab6: [Errno 13] Permission denied<br>problem with execution of barq on barq: [Errno 13] Permission denied<br>
problem with execution of barq on chenab7: [Errno 13] Permission denied<br>problem with execution of barq on chenab2: [Errno 13] Permission denied<br></div><br>im really confused with this output really .. <br>why doesnt mpdboot run in the first place (my .mpd.conf file is okay)<br>
and why do i have the permission denied error ? <br><br>im attatching the ./configure and make output that you guys asked for<br><br>thanks for bearing with me .. any help would be greatly appreciated.<br><br><br>Ahmad <br>
<br><div class="gmail_quote">On Sat, Aug 1, 2009 at 12:00 AM, Anthony Chan <span dir="ltr"><<a href="mailto:chan@mcs.anl.gov" target="_blank">chan@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;">
<br>
It sounds like your the fortran binding wasn't built in your mpich2<br>
installation. Send us your configure and make outputs as seen<br>
on your screen( the steps are stated in the README file).<br>
<br>
A.Chan<br>
<div><div></div><div>----- "Ahmad Ali" <<a href="mailto:ahmad.ali@utmail.net" target="_blank">ahmad.ali@utmail.net</a>> wrote:<br>
<br>
> I have installed mpich2 by following the steps mentioned in the user<br>
> guide document. I can run example programs as well. However, i am<br>
> trying to run NPB benchmarks and when i try to compile them, i get<br>
> an error that<br>
><br>
> "Cannot find mpif.h"<br>
><br>
> I have seen the include folder of mpich2 installation directory and<br>
> there is<br>
> no such file.... So where is this file located? Shouldnt this file<br>
> get<br>
> installed after mpich2 installation<br>
><br>
> I have also seen /usr/include but couldnt find mpif.h<br>
><br>
> *More Information:<br>
> *<br>
> My fortran compiler is gfortran. I have set all the environment<br>
> variables<br>
> for F77 and F90.<br>
> I have installed mpich2 with different options such as<br>
><br>
> ./configure --enable-f90 --enable-f77 --enable-mpe<br>
> -prefix=/export/home/ahmad/mpich2-install/<br>
><br>
> But its not working [there is no mpif.h file genereted in the include<br>
> folder]<br>
><br>
><br>
> Any help on this issue is appreciated<br>
</div></div></blockquote></div><br>