-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from COSIMA/fix_cascade_lake_opt
Fix compilation with CPU specific optimizations
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/src/shr_const_mod.F90 b/src/shr_const_mod.F90 | ||
index 8437190..9696c81 100644 | ||
--- shr_const_mod.F90.old | ||
+++ shr_const_mod.F90.new | ||
@@ -87,9 +87,8 @@ contains | ||
!----------------------------------------------------------------------------- | ||
|
||
elemental logical function shr_const_isspval(rval) | ||
-!$omp declare simd(shr_const_isspval) | ||
|
||
real(r8), intent(in) :: rval | ||
|
||
if (rval > SHR_CONST_SPVAL_TOLMIN .and. & | ||
rval < SHR_CONST_SPVAL_TOLMAX) then |