From 3f19e3f572823b9b6e3b61c8fb5c57daf8264460 Mon Sep 17 00:00:00 2001
From: "Takumi.Matsunobu" <Takumi.Matsunobu@physik.uni-muenchen.de>
Date: Mon, 10 Jul 2023 11:37:45 +0200
Subject: [PATCH] Petsc compilation is temporarily removed

---
 spack_repo/packages/icon-nwp/package.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/spack_repo/packages/icon-nwp/package.py b/spack_repo/packages/icon-nwp/package.py
index 84f6605..49510b3 100644
--- a/spack_repo/packages/icon-nwp/package.py
+++ b/spack_repo/packages/icon-nwp/package.py
@@ -60,7 +60,9 @@ class IconNwp(Package):
     depends_on("eccodes+fortran")
     depends_on("libxml2")
 
-    depends_on("petsc", when="@psp")
+    # If you using inwp_psp=2 (with non-divergent 3D flow), petsc is necessary
+    # Temporarily we comment here out due to the issue in petsc with intel compiler
+    #depends_on("petsc", when="@psp")
     depends_on("petsc", when="+petsc")
     depends_on("tenstream", when="@plexrt")
     depends_on("tenstream", when="+plexrt")
-- 
GitLab