Difference between revisions of "Supported compilers for GEOS-Chem"

From Geos-chem
Jump to: navigation, search
(Overview)
(The GNU Fortran compiler)
Line 1: Line 1:
 
== The GNU Fortran compiler ==
 
== The GNU Fortran compiler ==
 
=== Overview ===
 
  
 
'''''GNU Fortran is our recommended open-source compiler for GEOS-Chem.'''''
 
'''''GNU Fortran is our recommended open-source compiler for GEOS-Chem.'''''
  
[[GEOS-Chem v11-01]] and newer versions are compatible with the [[GNU Fortran compiler]], aka <tt>gfortran</tt>.  This is a free and open-source compiler that comes pre-installed on many modern computer systems.  As such, GNU Fortran allows GEOS-Chem to be highly portable across a wide variety of platforms.  For more information see:
+
[[GEOS-Chem v11-01]] and newer versions are compatible with the [[GNU Fortran compiler]], aka <tt>gfortran</tt>.  This is a free and open-source compiler that comes pre-installed on many modern computer systems.  As such, GNU Fortran allows GEOS-Chem to be highly portable across a wide variety of platforms, including cloud-computing platforms.  For more information see:
  
 
*[[GNU Fortran compiler|''GNU Fortran compiler'' page on the GEOS-Chem wiki]]
 
*[[GNU Fortran compiler|''GNU Fortran compiler'' page on the GEOS-Chem wiki]]
*[https://gcc.gnu.org/wiki/GFortran ''Gfortran home'' at GNU.org]
+
*[[GNU_Fortran_compiler#GNU_Fortran_versions_tested_with_GEOS-Chem|GNU Fortran versions that have been verified to build GEOS-Chem properly]]
 
+
*[[GNU_Fortran_compiler#Environment_settings_for_GNU_Fortran|Environment settings for GNU Fortran]]
If you will be running GEOS-Chem on the Amazon Web Services cloud computing environment, then you will need to use the GNU Fortran compiler.  Please see our cloud computing tutorial [http://cloud.geos-chem.org '''cloud.geos-chem.org'''] for more information.
+
*[[GNU_Fortran_compiler#Performance|GEOS-Chem performance when compiled with GNU Fortran]]
 
+
*[[GNU_Fortran_compiler#Compilation_options|Compilation options for GNU Fortran]]
'''A note on performance:''' When GEOS-Chem is compiled with the GNU Fortran compiler, it runs slower than when compiled with the proprietary Intel Fortran compiler, especially when running on Intel CPUs.  This is because GNU Fortran, as an open-source software product, lacks the ability to take advantage of some proprietary Intel CPU optimizations.  If performance matters to you, and your institution has an Intel Fortran site license, then you might want to consider using [[#The Intel Fortran compiler|the Intel Fortran Compiler]] instead. 
+
*[[GNU_Fortran_compiler#Known_issues|Known issues when compiling GEOS-Chem with GNU Fortran]]
 
+
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 19:10, 10 January 2019 (UTC)
+
 
+
=== GNU Fortran versions that have been tested with GEOS-Chem ===
+
 
+
The following platforms and [[GEOS-Chem_basics#Fortran_resources|compilers]] are currently supported.
+
 
+
{| border=1 cellspacing=0 cellpadding=5
+
|- bgcolor="#CCCCCC"
+
!width="100px"|Platform
+
!width="200px"|Compiler
+
!width="450px"|Status
+
!width="100px"|Tested by
+
 
+
|-valign="top" bgcolor="#CCFFFF"
+
!colspan="4"|GNU Fortran compiler<br>This is our recommended open-source compiler for GEOS-Chem
+
 
+
|-valign="top"
+
|Linux
+
|gfortran 8.x.x
+
|Supported (GEOS-Chem v11-01 and later versions)
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|gfortran 7.x.x
+
|Supported (GEOS-Chem v11-01 and later versions)
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|gfortran 6.x.x
+
|Supported (GEOS-Chem v11-01 and later versions)
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|gfortran 5.x.x
+
|Supported (GEOS-Chem v11-01 and later versions)
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|gfortran 4.8.2
+
|Supported (GEOS-Chem v11-01 and later versions)
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|gfortran 4.4.7
+
|Supported (GEOS-Chem v11-01 and later versions)
+
|[[GCST]]
+
 
+
|-valign="top" bgcolor="#CCFFFF"
+
!colspan="4"|Intel Fortran compiler<br>This is our recommended proprietary compiler for GEOS-Chem
+
 
+
|-valign="top"
+
|Linux
+
|ifort 17.0.4 and later versions
+
|Supported
+
*NOTE: GEOS-Chem v10-01 and prior versions will not compile with ifort 17 and higher.
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|ifort 15.0.0 and similar builds
+
|Supported
+
*NOTE: [[HEMCO#IFORT_15_error_when_using_array-out-of-bounds_error_checking|IFORT 15 has a compiler bug]] that causes errors when turning on array-out-of-bounds checking and optimization.
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|ifort 13.0.079 and similar builds
+
|Supported
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|ifort 12
+
|Supported
+
*NOTE: [[HEMCO#IFORT_13.2FIFORT_14_segmentation_fault_error|compiler bug in ifort 12 and higher versions]] has forced us to add a workaround to HEMCO.  In v11-01 we will test if this is resolved by the recent code updates.
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|ifort 11.1.069 and similar builds
+
|Supported
+
|[[GCST]]
+
 
+
|-valign="top"
+
|Linux
+
|ifort 10.1
+
|Supported (but this is an old version by now)
+
|[[GCST]]
+
  
|}
+
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 14:32, 14 June 2019 (UTC)
  
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 19:48, 10 January 2019 (UTC)
+
== The Intel Fortran compiler ==

Revision as of 14:32, 14 June 2019

The GNU Fortran compiler

GNU Fortran is our recommended open-source compiler for GEOS-Chem.

GEOS-Chem v11-01 and newer versions are compatible with the GNU Fortran compiler, aka gfortran. This is a free and open-source compiler that comes pre-installed on many modern computer systems. As such, GNU Fortran allows GEOS-Chem to be highly portable across a wide variety of platforms, including cloud-computing platforms. For more information see:

--Bob Yantosca (talk) 14:32, 14 June 2019 (UTC)

The Intel Fortran compiler