-
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.
Patch shr_const_mod.F90 so that we can compile with CPU specific opti…
…mizations on cascade lake.
- Loading branch information
1 parent
611ef3b
commit 4bac80e
Showing
2 changed files
with
16 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,15 @@ | ||
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 | ||
+ real(r8), intent(in) :: rval | ||
|
||
if (rval > SHR_CONST_SPVAL_TOLMIN .and. & | ||
rval < SHR_CONST_SPVAL_TOLMAX) then |