<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="rtl"><div dir="ltr">but i do want to run a C source code all over the nodes?<br>and allso when i run only the cpi witout .c nothing is hapning.<br></div><div dir="ltr">i think you the only one who can help me.<br>thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2016-03-23 17:59 GMT+02:00 Kenneth Raffenetti <span dir="ltr"><<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The executable MPICH builds (and you want to run) is "cpi" in the examples. cpi.c is a C source code file and is not executable. I suggest you read more on how to build and execute C programs if you still have questions.<br>
<br>
Ken<span class=""><br>
<br>
On 03/23/2016 10:43 AM, יוסף אלון wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
what do you mean?<br>
<br>
<br>
2016-03-23 17:42 GMT+02:00 Kenneth Raffenetti <<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a><br></span>
<mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>>:<div><div class="h5"><br>
<br>
    cpi.c is a source file, not an executable.<br>
<br>
    On 03/23/2016 10:41 AM, יוסף אלון wrote:<br>
<br>
        when i do this i reciev:<br>
<br>
        cluster@elec-cluster-1 ~ $ *_mpiexec -n 5 -f machinefile<br>
        ./mpich2/mpich-3.1/examples/cpi.c_*<br>
        [proxy:0:0@elec-cluster-1] HYDU_create_process<br>
        (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):<br>
        execvp error on file ./mpich2/mpich-3.1/examples/cpi.c<br>
        (Permission denied)<br>
<br>
        ===================================================================================<br>
        =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>
        =   PID 2895 RUNNING AT 147.161.4.200<br>
        =   EXIT CODE: 255<br>
        =   CLEANING UP REMAINING PROCESSES<br>
        =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br>
        ===================================================================================<br>
        [proxy:0:1@elec-cluster-2] HYDU_create_process<br>
        (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):<br>
        execvp error on file ./mpich2/mpich-3.1/examples/cpi.c<br>
        (Permission denied)<br>
        [proxy:0:4@elec-cluster-5] HYDU_create_process<br>
        (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):<br>
        ===================================================================================<br>
        =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>
        =   PID 7382 RUNNING AT 147.161.4.201<br>
        =   EXIT CODE: 255<br>
        =   CLEANING UP REMAINING PROCESSES<br>
        =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br>
        ===================================================================================<br>
<br>
        2016-03-23 17:34 GMT+02:00 Kenneth Raffenetti<br>
        <<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>><br></div></div>
        <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>>>:<div><div class="h5"><br>
<br>
             The error in your first message was that mpiexec was unable<br>
        to find<br>
             the file "./examples/cpi".<br>
<br>
             The error in your second message is that mpiexec was unable<br>
        to find<br>
             your "machinefile".<br>
<br>
             Please make sure you are giving the correct paths to these<br>
        files in<br>
             your mpiexec command.<br>
<br>
             Ken<br>
<br>
             On 03/23/2016 10:20 AM, יוסף אלון wrote:<br>
<br>
                 i am not using a share network and i have it on the<br>
        place in all<br>
                 nodes.<br>
                 and thus file are located in same place on every node.<br>
                 i tried to run like this allso<br>
                 תמונה מוטבעת 1<br>
<br>
                 2016-03-23 17:06 GMT+02:00 Kenneth Raffenetti<br>
                 <<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>><br>
        <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>><br>
                 <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a><br>
        <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a><br>
        <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>>>>:<br>
<br>
<br>
<br>
                      Are you executing your commands from a shared network<br>
                 filesystem? If<br>
                      not, have you copied your MPI installation and cpi<br>
        binaries<br>
                 into the<br>
                      same location on all the machines in your cluster?<br>
<br>
                      Ken<br>
<br>
                      On 03/23/2016 09:47 AM, יוסף אלון wrote:<br>
<br>
<br>
                          hiii<br>
<br>
                          i am new here and i have a 18 node cluster<br>
        that works<br>
                 pretty<br>
                          good when i<br>
                          execute the command:<br>
<br>
                          *mpiexec -f machinefile -n 18 hostname<br>
                          * and the folowing output:<br>
                          elec-cluster-1<br>
                          elec-cluster-2<br>
                          elec-cluster-3<br>
                          elec-cluster-5<br>
                          elec-cluster-4<br>
                          elec-cluster-6<br>
                          elec-cluster-7<br>
                          elec-cluster-9<br>
                          elec-cluster-8<br>
                          elec-cluster-10<br>
                          elec-cluster-11<br>
                          elec-cluster-13<br>
                          elec-cluster-14<br>
                          elec-cluster-15<br>
                          elec-cluster-16<br>
                          elec-cluster-12<br>
                          elec-cluster-18<br>
                          elec-cluster-17<br>
<br>
                          when i execute the command:<br>
                          *mpiexec -n 5 -f machinefile ./examples/cpi*<br>
<br>
                             nothing is seems to work and i receive:<br>
<br>
                          [proxy:0:0@elec-cluster-1] HYDU_create_process<br>
<br>
<br>
        (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):<br>
                          execvp error on file ./examples/cpi (No such<br>
        file or<br>
                 directory)<br>
<br>
<br>
<br>
        ===================================================================================<br>
                          =   BAD TERMINATION OF ONE OF YOUR APPLICATION<br>
        PROCESSES<br>
                          =   PID 2806 RUNNING AT 147.161.4.200<br>
                          =   EXIT CODE: 255<br>
                          =   CLEANING UP REMAINING PROCESSES<br>
                          =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br>
<br>
<br>
        ===================================================================================<br>
                          [proxy:0:2@elec-cluster-3] HYDU_create_process<br>
<br>
<br>
        (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):<br>
                          execvp error on file ./examples/cpi (No such<br>
        file or<br>
                 directory)<br>
                          [proxy:0:3@elec-cluster-4] HYDU_create_process<br>
<br>
<br>
        (/home/cluster/mpich2/mpich-3.1/src/pm/hydra/utils/launch/launch.c:75):<br>
<br>
<br>
        ===================================================================================<br>
                          =   BAD TERMINATION OF ONE OF YOUR APPLICATION<br>
        PROCESSES<br>
                          =   PID 6718 RUNNING AT 147.161.4.202<br>
                          =   EXIT CODE: 255<br>
                          =   CLEANING UP REMAINING PROCESSES<br>
                          =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br>
<br>
<br>
        ===================================================================================<br>
<br>
                          i dont know what to do?<br>
                          another think is how to run and compile a c<br>
        program?<br>
<br>
                          --<br>
                          בברכה, יוסף אלון<br>
                          050-4916740<br>
<br>
<br>
                          _______________________________________________<br>
                          discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
                 <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br></div></div>
                 <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>>><span class=""><br>
                          To manage subscription options or unsubscribe:<br>
        <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
                      _______________________________________________<br>
                      discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
                 <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
<br></span>
                 <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>>><div><div class="h5"><br>
                      To manage subscription options or unsubscribe:<br>
        <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
<br>
<br>
<br>
                 --<br>
                 בברכה, יוסף אלון<br>
                 050-4916740<br>
<br>
<br>
                 _______________________________________________<br>
                 discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
                 To manage subscription options or unsubscribe:<br>
        <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
             _______________________________________________<br>
             discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
        <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
             To manage subscription options or unsubscribe:<br>
        <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
<br>
<br>
<br>
        --<br>
        בברכה, יוסף אלון<br>
        050-4916740<br>
<br>
<br>
        _______________________________________________<br>
        discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
        To manage subscription options or unsubscribe:<br>
        <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
    _______________________________________________<br>
    discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
    To manage subscription options or unsubscribe:<br>
    <a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
<br>
<br>
<br>
--<br>
בברכה, יוסף אלון<br>
050-4916740<br>
<br>
<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
<br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="rtl"><div style="TEXT-ALIGN:center">בברכה, יוסף אלון</div>
<div style="TEXT-ALIGN:center">050-4916740</div></div></div>
</div>