[petsc-users] installation on cloud platform

Tabrez Ali stali at geology.wisc.edu
Mon Jan 4 15:08:59 CST 2016


Yes, of course. Although additional steps might be needed for enabling 
GPU support on GPU enabled instances (hard to find otherwise).

Regards,

Tabrez

On 01/04/2016 02:49 PM, Barry Smith wrote:
>     Tabrez,
>
>       This is great, thanks for sending it. Do you mind if Satish adds it to the http://www.mcs.anl.gov/petsc/documentation/installation.html  file as an example?
>
>    Barry
>
>> On Jan 4, 2016, at 9:48 AM, Tabrez Ali<stali at geology.wisc.edu>  wrote:
>>
>> 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>  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



More information about the petsc-users mailing list