diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bbbcece52bacf6c56bcb96315e9a0ea6908f7eea..1fc81c8e44ee27151db3777f0c9b975f8761a92d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,8 +18,7 @@ build-intel:
     - make
     - make install
     - cd ../
-    - module load intel impi mkl cmake anaconda/3/2019.03
-    - pytest tests/
+    - LD_PRELOAD=libmpicxx.so.12 pytest tests/
   tags: 
     - docker
 
@@ -37,7 +36,6 @@ build-gnu:
     - make
     - make install
     - cd ../
-    - module load gcc impi mkl cmake anaconda/3/2019.03
-    - pytest tests/
+    - LD_PRELOAD=libmpig++-9.3.0.so.12 pytest tests/
   tags: 
     - docker