[petsc-users] installation on cloud platform

Tabrez Ali stali at geology.wisc.edu
Mon Jan 4 09:48:05 CST 2016


Or you can install everything yourself.

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

$ cd
$ ssh-keygen -t rsa
$ cat .ssh/id_rsa.pub  >> .ssh/authorized_keys

After that the usual stuff, e.g.,

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install gcc gfortran g++ cmake wget
$ wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.6.3.tar.gz
$ ./configure --with-cc=gcc --with-fc=gfortran --download-mpich 
--download-fblaslapack --with-metis=1 --download-metis=1 --with-debugging=0
$ export PETSC_DIR=/home/ubuntu/petsc-3.6.3
$ export PETSC_ARCH=arch-linux2-c-opt
$ make all
$ export PATH=$PATH:$PETSC_DIR/$PETSC_ARCH/bin

Tabrez


On 01/03/2016 07:07 AM, Matthew Knepley wrote:
> On Sun, Jan 3, 2016 at 5:59 AM, Marco Zocca <zocca.marco at gmail.com 
> <mailto:zocca.marco at gmail.com>> wrote:
>
>     Dear all,
>
>       has anyone here tried/managed to install PETSc on e.g. Amazon AWS or
>     the Google Compute Engine?
>
>     I believe some extra components are needed for coordination, e.g.
>     Kubernetes or Mesos (in turn requiring that the library be compiled
>     within some sort of container, e.g. Docker), but I'm a bit lost amid
>     all the options.
>
>
> I have no idea what those even do.
>
>     Are the MPI functions (e.g. broadcast, scatter, gather ..?) used by
>     PETSc compatible with those platforms?
>
>
> There are a bunch of papers documenting MPI performance on AWS. We 
> just use vanilla MPI,
> so you request a configuration that has it installed.
>
>    Matt
>
>     Thank you in advance,
>
>     Marco
>
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160104/1c4cc81f/attachment.html>


More information about the petsc-users mailing list