- name: Install gfortran package required by Magpar
  apt:
    pkg={{ item }}
    state=latest
    update_cache=yes
    cache_valid_time=86400
  with_items:
    - patch
    - gfortran
    - g++
    - liblapack-dev
  sudo: yes

- name: Install gfortran package required by Magpar
  apt:
    pkg={{ item }}
    state=latest
    update_cache=yes
    cache_valid_time=86400
  with_items:
    - patch
    - gfortran
    - g++
    - liblapack-dev
    - mpich2
  sudo: yes

Add mpich2 to list of required magpar packages, since the examples use mpirun.
Add mpich2 to list of required magpar packages, since the examples use mpirun.
