<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Reuti,<br>
    thanks for you suggestions... I did the ldd cpi (in the examples
    directory) on three computers, and I have attached three screenshot.
    I am using sargeant as the master, where I start these jobs from.<br>
    <br>
    Looking at these, I installed gcc-gfortran.x86_64 on the other two
    computers as well, and they now have identical outputs as the first
    one (sargeant). Thanks for pointng this out and giving me help in
    how to check this.<br>
    <br>
    I tried:<br>
    mpiexec -machinefile cluster.txt -np 6 ./cpi were the machine file
    has only two members, each with 4 cores. I received the same error
    message as before but that could be for many reasons, and I will now
    respond to Gus's email with a few clarifications.<br>
    <br>
    I appreciate your efforts!<br>
    R<br>
    <br>
    <img src="cid:part1.07080701.05070200@pgcgroup.com.au" alt=""><br>
    <br>
    <br>
    <img src="cid:part2.03010308.05050407@pgcgroup.com.au" alt=""><br>
    <br>
    <br>
    <img src="cid:part3.08030106.08050608@pgcgroup.com.au" alt=""><br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 3/03/2014 00:28, Reuti wrote:<br>
    </div>
    <blockquote
      cite="mid:BA45E1C0-0840-4E02-81DF-A11A0F659124@staff.uni-marburg.de"
      type="cite">
      <pre wrap="">Am 02.03.2014 um 14:01 schrieb Ron Palmer:

</pre>
      <blockquote type="cite">
        <pre wrap="">I am running centos on two of these, sargeant and constable, and RHEL on the third, gainsborough.

By runtime libraries, do you mean for the three compilers included, ie gcc, fortran77 and fortran90?
</pre>
      </blockquote>
      <pre wrap="">
Yes. But there should be a package with the runtime libraries, i.e. so that it's not necessary to install the complete compiler suite (I assume in your situation that they are installed, but with different versions). Maybe you can check for older/newer libs in the repository of the distributions.

Which libraries are necessary can be listed by issuing:

$ ldd cpi

on each of the machines and whether they are found.

-- Reuti

NB: With commercial compilers it's for this reason often allowed in the license to give away the runtime libraries (and only these) with your compiled application, as otherwise your customers couldn't run your applications.


</pre>
      <blockquote type="cite">
        <pre wrap="">Please use one syllable words, I am the edge of my understanding :-(.

Thanks
Ron


On 2/03/2014 22:55, Reuti wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,

Am 02.03.2014 um 13:20 schrieb Ron Palmer:

</pre>
          <blockquote type="cite">
            <pre wrap="">Gus, Reuti, Rajeev and others,
I do have mpif77 and mpif90 in mpi/bin, so I conclude that it has compiled ok.

I have checked reuti's suggestions, indicating that the environment is ok. I had added 'PATH=/my/mpi/bin:$PATH' to each of the .bashrc files (for the user I am running on all three)

I am using the same username on all three computers - is that ok?

I have installed MPI on to a NFS drive, all accessing the same; 'which' confirms. Are there any libraries that needs to be installed elsewhere? do  need to run make install as root?
</pre>
          </blockquote>
          <pre wrap="">No.


</pre>
          <blockquote type="cite">
            <pre wrap="">I have added the 'LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/my/mpi/lib', though made no difference. (should those "{" and "}" be included? I entered it exactly like I have typed)

I have mpicc the cpi program as suggested by Gus and tried it, as well as the originally provided cpi (part of the downloaded mpi) which I called cpi_orig, see the screen shot below. It looks like there is an issue with libgfortran.so.3...
</pre>
          </blockquote>
          <pre wrap="">Yep.

Unless you build static applications, the runtime libraries (of the compiler) need to be available on all machines.

There should be package with the runtime libraries in your Linux distribution.

-- Reuti


</pre>
          <blockquote type="cite">
            <pre wrap="">Perhaps I have not got the various compilers installed correctly? I would appreciate if someone could give me a suggestion on how to properly remove and re-install these (and select the correct ones).

By the way, in the runs of cpi below, I reduced the number of cores to be used on the first pc listed in the machinefile, from 8 to 4, in the case there was an issue with the 9th one. As can be seen, it is the first node (or core) on a remote computer where the problems start to be listed which is node 5 in this case...

If I run cpi on only one computer, it works. And yes, hostname works even if all computers are included in the machinefile.

Clear as mud, hey?
Thanks for your help.
</pre>
          </blockquote>
        </blockquote>
        <pre wrap="">
_______________________________________________
discuss mailing list     <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
discuss mailing list     <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=ISO-8859-1">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="AUTHOR" content="Ron Palmer">
      <meta name="CREATED" content="20120715;16240238">
      <meta name="CHANGEDBY" content="Ron Palmer">
      <meta name="CHANGED" content="20120715;16254174">
      <style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
                P.western { so-language: en-AU }
                A:link { so-language: zxx }
        -->
        </style>
      <p class="western" style="margin-bottom: 0cm; line-height: 100%"><font
          color="#0000a2"><font face="Times New Roman"><font size="3"><span
                lang="en"><b>Ron
                  Palmer</b></span></font></font></font><font
          color="#000000"> </font><font color="#000000"><font size="2"><span
              lang="en">MSc
              MBA</span></font></font><font color="#000000"><span
            lang="en">. </span></font>
      </p>
      <p class="western" style="margin-bottom: 0cm; line-height: 100%"
        lang="en">
        <font color="#000000"><font face="Times New Roman"><font
              size="3">Principal
              Geophysicist</font></font></font></p>
      <p class="western" style="margin-bottom: 0cm; line-height: 100%"><a
          href="mailto:ron.palmer@pgcgroup.com.au"><font color="#0000a2"><font
              face="Times New Roman"><font size="3"><span lang="en">ron.palmer@pgcgroup.com.au</span></font></font></font></a></p>
      <p class="western" style="margin-bottom: 0cm; line-height: 100%"
        lang="en">
        <font color="#000000"><font face="Times New Roman"><font
              size="3">0413
              579 099</font></font></font></p>
      <p class="western" style="line-height: 100%" lang="en"><font
          color="#000000"><font face="Times New Roman"><font size="3">07
              3103 4963</font></font></font></p>
      <p class="western" style="margin-bottom: 0cm"><br>
      </p>
    </div>
  </body>
</html>