diff config_compilers.xml @ 0:7a7ba86e95a4 draft default tip

"planemo upload for repository https://github.com/ESCOMP/CESM commit 5c969e494841237de0b2301520d9321672cc9f5b"
author climate
date Tue, 15 Jun 2021 09:39:23 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config_compilers.xml	Tue Jun 15 09:39:23 2021 +0000
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<config_compilers version="2.0">
+
+  <compiler COMPILER="gnu" MACH="galaxy">
+    <LD>mpifort</LD>
+    <SFC>x86_64-conda_cos6-linux-gnu-gfortran</SFC>
+    <SCC>x86_64-conda_cos6-linux-gnu-cc</SCC>
+    <SCXX>x86_64-conda_cos6-linux-gnu-c++</SCXX>
+    <MPIFC>mpifort</MPIFC>
+    <MPICC>mpicc</MPICC>
+    <MPICXX>mpicxx</MPICXX>
+    <NETCDF_PATH>$ENV{CONDA_PREFIX}</NETCDF_PATH>
+    <FFLAGS>
+      <append DEBUG="FALSE"> -O2 </append>
+      <append MODEL="micom"> -fdefault-real-8 </append>
+      <append MODEL="cam"> -finit-local-zero </append>
+    </FFLAGS>
+    <SLIBS>
+      <append> -L$(NETCDF_PATH)/lib -lnetcdff -lnetcdf -ldl </append>
+      <append> -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -fopenmp </append>
+    </SLIBS>
+  </compiler>
+</config_compilers>