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

From Geos-chem
Jump to: navigation, search
(Created page with "== The GNU Fortran compiler == == Overview == '''''GNU Fortran is our recommended open-source compiler for GEOS-Chem.''''' GEOS-Chem v11-01 and newer versions are compa...")
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
== The GNU Fortran compiler ==
+
__FORCETOC__
 +
'''''[[Guide to compilers for GEOS-Chem|Previous]] | [[GNU Fortran compiler|Next]] | [[Guide to compilers for GEOS-Chem]]'''''
  
== Overview ==
+
#<span style="color:blue">'''Supported compilers for GEOS-Chem'''</span>
 +
#[[GNU Fortran compiler|The GNU Fortran compiler (aka gfortran)]]
 +
#[[Intel Fortran Compiler|The Intel Fortran compiler (aka ifort)]]
 +
#[[Known issues caused by compiler bugs]]
 +
#[[Fortran language resources]]
  
'''''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:
+
On this page we provide information about the compilers that are supported in GEOS-Chem.
  
*[[GNU Fortran compiler|''GNU Fortran compiler'' page on the GEOS-Chem wiki]]
+
== The GNU Fortran compiler ==
*[https://gcc.gnu.org/wiki/GFortran ''Gfortran home'' at GNU.org]
+
  
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 is our recommended open-source compiler for GEOS-Chem.'''''
  
'''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 optimizationsIf 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.   
+
[[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 systemsAs such, GNU Fortran allows GEOS-Chem to be highly portable across a wide variety of platforms, including cloud-computing platforms.   
  
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 19:10, 10 January 2019 (UTC)
+
For more information, please follow these links:
  
=== Supported compilers ===
+
*[[GNU Fortran compiler|''GNU Fortran compiler'' page on the GEOS-Chem wiki]]
 
+
*[[GNU_Fortran_compiler#GNU_Fortran_versions_tested_with_GEOS-Chem|GNU Fortran Compiler versions that have been verified to build GEOS-Chem properly]]
The following platforms and [[GEOS-Chem_basics#Fortran_resources|compilers]] are currently supported.
+
*[[GNU_Fortran_compiler#Environment_settings_for_GNU_Fortran|Environment settings for the GNU Fortran Compiler]]
 
+
*[[GNU_Fortran_compiler#Performance|GEOS-Chem performance when built with the GNU Fortran Compiler]]
{| border=1 cellspacing=0 cellpadding=5
+
*[[GNU_Fortran_compiler#Compilation_options|Options for the GNU Fortran Compiler]]
|- bgcolor="#CCCCCC"
+
*[[GNU_Fortran_compiler#Known_issues|Known issues when building GEOS-Chem with the GNU Fortran Compiler]]
!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"
+
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 14:32, 14 June 2019 (UTC)
|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"
+
== The Intel Fortran compiler ==
|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"
+
'''''Intel Fortran is our recommended proprietary compiler for GEOS-Chem.'''''
|Linux
+
|ifort 13.0.079 and similar builds
+
|Supported
+
|[[GCST]]
+
  
|-valign="top"
+
Many users compile GEOS-Chem with the Intel Fortran compiler (aka <tt>ifort</tt>). In general, you will always obtain the best performance when compiling GEOS-Chem using Intel Fortran AND running GEOS-Chem on a system with Intel CPUs.
|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"
+
For more information, please follow these links:
|Linux
+
|ifort 11.1.069 and similar builds
+
|Supported
+
|[[GCST]]
+
  
|-valign="top"
+
*[[Intel Fortran Compiler|The ''Intel Fortran compiler'' page on the GEOS-Chem wiki]].
|Linux
+
*[[Intel Fortran Compiler|Intel Fortran Compiler versions that have been verified to build GEOS-Chem properly]]
|ifort 10.1
+
*[[Intel Fortran Compiler#Environment_settings_for_Intel_Fortran|Environment settings for the Intel Fortran Compiler]]
|Supported (but this is an old version by now)
+
*[[Intel Fortran Compiler#Performance|Performance when compiling GEOS-Chem with the Intel Fortran Compiler]]
|[[GCST]]
+
*[[Intel Fortran Compiler|Options for tthe Intel Fortran Compiler]]
 +
*[[Intel Fortran Compiler#Known Issues|Known issues when building GEOS-Chem with the Intel Fortran Compiler]]
  
|}
+
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 14:43, 14 June 2019 (UTC)
  
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 19:48, 10 January 2019 (UTC)
+
----
 +
'''''[[Guide to compilers for GEOS-Chem|Previous]] | [[GNU Fortran compiler|Next]] | [[Guide to compilers for GEOS-Chem]]'''''

Revision as of 19:36, 5 August 2019

Previous | Next | Guide to compilers for GEOS-Chem

  1. Supported compilers for GEOS-Chem
  2. The GNU Fortran compiler (aka gfortran)
  3. The Intel Fortran compiler (aka ifort)
  4. Known issues caused by compiler bugs
  5. Fortran language resources


On this page we provide information about the compilers that are supported in GEOS-Chem.

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, please follow these links:

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

The Intel Fortran compiler

Intel Fortran is our recommended proprietary compiler for GEOS-Chem.

Many users compile GEOS-Chem with the Intel Fortran compiler (aka ifort). In general, you will always obtain the best performance when compiling GEOS-Chem using Intel Fortran AND running GEOS-Chem on a system with Intel CPUs.

For more information, please follow these links:

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


Previous | Next | Guide to compilers for GEOS-Chem