forked from magic-sph/magic
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (28 loc) · 806 Bytes
/
.travis.yml
File metadata and controls
31 lines (28 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: python
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran
- gcc
- g++
- cmake
- liblapack-dev
- liblapacke-dev
- libgomp1
before_install:
- sudo apt-get -qq update
- sudo apt-get -y install python-numpy python-matplotlib python-scipy
- sudo apt-get -y install mpich libmpich-dev # To make sure mpi is installed
# after gcc suite
script:
- ulimit -s unlimited
- source sourceme.sh
- export FC=mpif90
- export CC=mpicc
- export CXX=mpicxx
- cd samples
- export OMP_NUM_THREADS=1
- ./magic_wizard.py --use-mpi --nranks 2 --level 0 --mpicmd mpiexec.hydra