-
Notifications
You must be signed in to change notification settings - Fork 3
CEMRACS 2016
You will follow two practical sessions during the first week: one using PETSc and a second one using FreeFem++. You will need to have those software installed on your PC, you can use the following instructions to do so.
You can use the system packager to install the libraries.
# To install PETSc
sudo apt-get install petsc-dev
# To install FreeFem++
apt-get install freefem++ libfreefem++-dev
First check your system packager (yum, pacman or other), if petsc or Freefem++ are not available.
You can install FreeFem using the following instructions. Regarding PETSc, you can download the sources from here and compile them.
Alternatively, you can use a virtual machine that will be provided at CEMRACS, if needed, see the corresponding section for more information.
To install PETSc, you can use a package manager, e.g. Homebrew. In a terminal type the following commands as needed:
# If homebrew is not already installed, you can follow this link: http://brew.sh/
# The typical installation instruction will be the following:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Then you can install petsc with:
brew install homebrew/science/petsc
You can install FreeFem++ using the installer (precompiled version) located at this address.
For PETSc, you would have to compile it. Alternatively, you can use the Virtual Machine that will be provided, see the corresponding section for more information.
The easiest way to install all the required components for the practical sessions is to use the Virtual Machine, that will be provided to you at CEMRACS.
You will only be required to install VirtualBox to benefit from the Virtual Machine. Please refer to this page for more instructions.
The environment that will be provided will be an Ubuntu Linux.