diff --git a/spack.yaml b/spack.yaml
index f87e73c8b452d0348a2cc2e0926c1b60c986fe73..48650471bd914385839b1e04dd921b5c48f9845f 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -44,3 +44,17 @@ spack:
     all:
       compiler: [gcc]
   view: /usr/local
+  compilers::
+  - compiler:
+      spec: gcc@11.2.0
+      paths:
+        cc: /usr/bin/gcc
+        cxx: /usr/bin/g++
+        f77: /usr/bin/gfortran
+        fc: /usr/bin/gfortran
+      flags: {}
+      operating_system: ubuntu18.04
+      target: x86_64
+      modules: []
+      environment: {}
+      extra_rpaths: []