diff --git a/spack.yaml b/spack.yaml
index 9c32e0e08c60eb25d622fb46546bc9557048f3f3..8e6ca3631529bafde5628462feb9077023fc44da 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -8,11 +8,10 @@ spack:
 
   definitions:
   - compiler-pkgs:
-    - 'gcc@4.8.5 os=centos7'
-#    - 'gcc@9.3.1 os=centos7'
+#    - 'gcc@4.8.5 os=centos7'
+    - 'gcc@9.3.1 os=centos7'
 #    - 'gcc@10.3.0 os=centos7'
   - pkgs:
-    - gcc@9.3.1
     - python@3.8.10 %gcc@9.3.1
     - py-numpy ^python@3.8.10 %gcc@9.3.1
     - py-scipy ^python@3.8.10 %gcc@9.3.1