Difference between revisions of "Machine issues & portability"

From Geos-chem
Jump to: navigation, search
(PGI Compiler)
(Intel Fortran Compiler)
Line 15: Line 15:
 
== Intel Fortran Compiler ==
 
== Intel Fortran Compiler ==
  
The Intel Fortran Compiler (aka ifort) can currently be used to compile GEOS-Chem.  However, this compiler is proprietary and requires that you (or your IT department) to purchase a site license, which can be expensive.
+
'''''The Intel Fortran compiler is our recommended proprietary compiler for GEOS-Chem.''''' Although Intel Fortran requires the purchase of an expensive site license, you will always obtain the best GEOS-Chem performance when compiling with Intel Fortran and running on a system that has Intel CPUs.
  
 
Please see [[Intel Fortran Compiler|our ''Intel Fortran Compiler'' wiki page]] for more information about the options used to compile GEOS-Chem, as well as [[Intel Fortran Compiler#Known issues|a list of known issues]].
 
Please see [[Intel Fortran Compiler|our ''Intel Fortran Compiler'' wiki page]] for more information about the options used to compile GEOS-Chem, as well as [[Intel Fortran Compiler#Known issues|a list of known issues]].
  
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 22:16, 21 December 2018 (UTC)
+
'''NOTE:''' If your computer system does not have the Intel Fortran Compiler available, or if you are running on a cloud-computing platform such as Amazon Web Services EC2, then you should use the free and open-source GNU Fortran compiler instead.
 +
 
 +
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 19:37, 10 January 2019 (UTC)

Revision as of 19:37, 10 January 2019

On this page we provide links to compiler-specific information.

GNU Fortran compiler

The GNU Fortran compiler is our recommended open-source compiler for GEOS-Chem. Because gfortran is open-source, it can be used on a wide variety of platforms, including the [Amazon Web Services cloud computing platform]. GEOS-Chem is now compatible with gfortran 4.4.7 and higher. As of December 2018, the current version is gfortran 8.2.0.

Please see our GNU Fortran compiler wiki page for more information about the compilation options used by GEOS-Chem, as well as a list of known issues.

We are currently experimenting with the use of Linux containers (such as Singularity) in order to provide a consistent computational environment (i.e. with the same libraries and compiler verisons) that can be used across multiple platforms. For more information, please see: this tutorial by Jiawei Zhuang.

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 site license, then you might want to consider using the Intel Fortran Compiler instead.

--Bob Yantosca (talk) 19:34, 10 January 2019 (UTC)

Intel Fortran Compiler

The Intel Fortran compiler is our recommended proprietary compiler for GEOS-Chem. Although Intel Fortran requires the purchase of an expensive site license, you will always obtain the best GEOS-Chem performance when compiling with Intel Fortran and running on a system that has Intel CPUs.

Please see our Intel Fortran Compiler wiki page for more information about the options used to compile GEOS-Chem, as well as a list of known issues.

NOTE: If your computer system does not have the Intel Fortran Compiler available, or if you are running on a cloud-computing platform such as Amazon Web Services EC2, then you should use the free and open-source GNU Fortran compiler instead.

--Bob Yantosca (talk) 19:37, 10 January 2019 (UTC)