<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="serif">BE VERY CAREFUL with your file name extensions
        for C, C++, and Fortran.  mpicc can ONLY be use to compile .c
        files.   Here are the rules - and my characterization of the
        languages.</font></p>
    <p><font face="serif">BTW -- C++ in MPI is "kinda new".   I wrote my
        first ever MPI C++ programs in 2012.  I'll show it to you all at
        some point.<br>
      </font></p>
    <p><font face="serif"><br>
      </font></p>
    <p><font face="serif">*.c    &lt;--  straight C (a hot rod with no
        doors,  seatbelts, or a roll bar)</font></p>
    <p><font face="serif">compile with mpicc<br>
      </font></p>
    <p><font face="serif"><br>
      </font></p>
    <p><font face="serif">*.cc   &lt;--  C++ ( a sportscar with a
        trailer hitch -- towing a of bunch of libraries)</font></p>
    <p><font face="serif">(other c++ exentsions are .CC, .cxx, etc.)</font></p>
    <p><font face="serif">compile these with mpiCC, mpic++, mpicxx<br>
      </font></p>
    <p><br>
    </p>
    <p>*.f &lt;-- Fortran ( a monster truck -- extremely powerful, but
      you might get dirty using it)</p>
    <p>(other fortran extensions are also accepted)</p>
    <p>compile ALL fortran with mpifort<br>
    </p>
    <pre class="moz-signature" cols="72">
-- 
Andrew J. Pounds, Ph.D.  (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University,  Macon, GA 31207   (478) 301-5627
</pre>
  </body>
</html>