Add Fujitsu compiler (fcc)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 25 Jul 2022 17:39:17 +0000 (19:39 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 17:39:17 +0000 (19:39 +0200)
c_check

diff --git a/c_check b/c_check
index d825017..01d4f4a 100755 (executable)
--- a/c_check
+++ b/c_check
@@ -51,6 +51,7 @@ case "$data" in
     *COMPILER_SUN*) compiler=SUN ;;
     *COMPILER_IBM*) compiler=IBM ;;
     *COMPILER_DEC*) compiler=DEC ;;
+    *COMPILER_FUJITSU*) compiler=FUJITSU ;;
 esac
 if [ -z "$compiler" ]; then
     compiler=GCC
@@ -143,6 +144,7 @@ case "$compiler" in
     INTEL) openmp='-openmp' ;;
     PATHSCALE|OPEN64) openmp='-mp' ;;
     CLANG|GCC|LSB) openmp='-fopenmp' ;;
+    FUJITSU) openmp='-Kopenmp' ;;
 esac
 
 if [ "$defined" -eq 0 ]; then