amun-code/.gitlab-ci.yml

24 lines
469 B
YAML
Raw Normal View History

2019-10-04 20:05:13 +00:00
image: debian
stages:
- build
build:
stage: build
2019-10-04 20:12:31 +00:00
before_script:
2019-10-04 21:03:18 +00:00
- apt-get -q update
- apt-get -q -y install gawk make gfortran libhdf5-dev libopenmpi-dev
2019-10-04 20:12:31 +00:00
2019-10-04 20:23:39 +00:00
script:
- cd ./build/
- cp -al make.default make.config
- cp -al ./hosts/default ./hosts/$HOSTNAME
2019-10-04 20:56:49 +00:00
- export HDF5DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial
- make MPI=N NDIMS=2
2019-10-04 21:03:18 +00:00
- make clean
- make MPI=N NDIMS=3
- make clean
- make MPI=Y NDIMS=2
- make clean
- make MPI=Y NDIMS=3