<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Or you can install everything yourself.
      <br>
      <br>
      On vanilla Debian based AMIs (e.g., Ubuntu 14.04 LTS) just make
      sure to add "127.0.1.1 ip-x-x-x-x" to your /etc/hosts followed by<br>
      <br>
      $ cd<br>
      $ ssh-keygen -t rsa<br>
      $ cat .ssh/id_rsa.pub  >> .ssh/authorized_keys<br>
      <br>
      After that the usual stuff, e.g.,<br>
      <br>
      $ sudo apt-get update<br>
      $ sudo apt-get upgrade<br>
      $ sudo apt-get install gcc gfortran g++ cmake wget<br>
      $ wget
      <a class="moz-txt-link-freetext" href="http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.6.3.tar.gz">http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.6.3.tar.gz</a><br>
      $ ./configure --with-cc=gcc --with-fc=gfortran --download-mpich
      --download-fblaslapack --with-metis=1 --download-metis=1
      --with-debugging=0<br>
      $ export PETSC_DIR=/home/ubuntu/petsc-3.6.3<br>
      $ export PETSC_ARCH=arch-linux2-c-opt<br>
      $ make all<br>
      $ export PATH=$PATH:$PETSC_DIR/$PETSC_ARCH/bin<br>
      <br>
      Tabrez<br>
      <br>
      <br>
      On 01/03/2016 07:07 AM, Matthew Knepley wrote:<br>
    </div>
    <blockquote
cite="mid:CAMYG4GmC-Q40SUfOnYU125qO7r1wL4Z-6yUAy00vx0cC90dvSQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Sun, Jan 3, 2016 at 5:59 AM, Marco
            Zocca <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:zocca.marco@gmail.com" target="_blank">zocca.marco@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear
              all,<br>
              <br>
                has anyone here tried/managed to install PETSc on e.g.
              Amazon AWS or<br>
              the Google Compute Engine?<br>
              <br>
              I believe some extra components are needed for
              coordination, e.g.<br>
              Kubernetes or Mesos (in turn requiring that the library be
              compiled<br>
              within some sort of container, e.g. Docker), but I'm a bit
              lost amid<br>
              all the options.<br>
            </blockquote>
            <div><br>
            </div>
            <div>I have no idea what those even do.</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Are the MPI functions (e.g. broadcast, scatter, gather
              ..?) used by<br>
              PETSc compatible with those platforms?<br>
            </blockquote>
            <div><br>
            </div>
            <div>There are a bunch of papers documenting MPI performance
              on AWS. We just use vanilla MPI,</div>
            <div>so you request a configuration that has it installed.</div>
            <div><br>
            </div>
            <div>   Matt</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Thank you in advance,<br>
              <br>
              Marco<br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">What most experimenters take for
            granted before they begin their experiments is infinitely
            more interesting than any results to which their experiments
            lead.<br>
            -- Norbert Wiener</div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>