diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 42a4574bc9a54c1870419f825d19cfbf0f54ac71..c2dc6965baf80ac68935269cf08c6cd7d409fb5f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ image: ubuntu:latest
 
 before_script:
   - export DEBIAN_FRONTEND=noninteractive
-  - apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran csh git libtool-bin autoconf openmpi-bin openmpi-common libopenmpi-dev python3 python3-setuptools python3-numpy python3-scipy python3-matplotlib python3-dev python3-h5py
+  - apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran csh git libtool-bin autoconf openmpi-bin openmpi-common libopenmpi-dev python3 python3-setuptools python3-numpy python3-scipy python3-matplotlib python3-dev python3-h5py 
   - export LHOME=`pwd`
 # Compile grackle
   - mkdir grackle
@@ -28,6 +28,9 @@ before_script:
   - cd ..
 
 # compile pyswiftsim
+  - echo $LD_LIBRARY_PATH
+  - cat swiftsim/config.h
+  - locate hdf5
   - python3 setup.py install --with-swift $LHOME/swiftsim --user
 
 # compile the docs