Skip to content

Commit

Permalink
Add note about compiling with intel (erf-model#1467)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron M. Lattanzi <[email protected]>
  • Loading branch information
ewquon and AMLattanzi authored Mar 1, 2024
1 parent 16ab087 commit eada882
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Docs/sphinx_doc/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ in any Unix-like environments (e.g., Perl and sed). For building with CMake, the
.. note::
**While ERF is designed to work with SYCL, we do not make any guarantees that it will build and run on your Intel platform.**

.. note::
**ERF was successfully compiled with the Intel compiler suite (e.g., icx
version 2024.1.0). However, for older versions, it may be necessary to
use reduced compiler optimization** (``-O1``) **to avoid an internal compiler
error.** For example, ERF was successfully compiled with icpc version
19.1.2.254, with ``-O2`` (``CMAKE_BUILD_TYPE = RelWithDebInfo``) but
TimeIntegration/ERF_advance_dycore.cpp had to be manually compiled with
``-O1``. Your mileage may vary.

Paradigm
~~~~~~~~~~

Expand Down

0 comments on commit eada882

Please sign in to comment.