-
Notifications
You must be signed in to change notification settings - Fork 279
DO NOT MERGE YET - Updates for JEDI+UFS #1504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
89ef2e4
d3d3070
362ba02
abc42eb
2f9696f
6e3e51d
be8bfcd
d6081c9
aad8eb9
41febf9
3be7fa2
50f5e02
a4d10cd
4135a5c
5b1efb6
07592a4
6bf36e5
3c00149
7975947
37e0917
b38c867
68f2f37
983ade7
29be1ac
25bfc69
195d7fd
2148f61
8b9a1eb
2942439
dc06e4e
0c57527
c8fc25a
ac2241f
11e32e6
b4f653f
1d15e9b
05009e3
f7e30b9
90b5b00
c7c15ae
795d684
7ca0506
ad0b97a
74656cd
f627a78
66b7560
00a9b3c
d6c90e0
83b11cf
5cecebd
e2d70ea
3530d3b
4a1bf3d
f94c25b
f77fc59
cdcbc2f
6241501
5d52e2e
753a773
a33644f
9454ef7
7b7fbc9
af36142
9fa8d78
2b92586
9f23976
afe792c
85b8918
3df7047
fc07a73
e4d8ad8
bf1fe65
e4874d2
38b63b4
97197ce
8230673
4305fc1
2f29989
7de6eb8
d0a5424
f7e7c8b
d3d9a92
e90bd85
4dbab82
d4daea9
7ab3210
970aa77
3999730
e5c48dd
4d1f1b7
7b0bbad
611f6f7
1148b75
a368dc6
2d9a051
43ddfbf
cd86914
719cf1b
1cb4634
df8dc47
f847066
859af0f
b435b85
f626f5a
c5c9ce8
1452be4
db622d0
bd64387
27c994a
4de0750
8806f06
d1ffbcb
3eba73a
173d224
fd9bc6c
81fc699
652c82f
83adbeb
8ad5e99
12ddb22
5f09e89
2a0e1fa
88602d3
e05fa95
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -317,11 +317,11 @@ elemental function shr_infnan_isposinf_double(x) result(isposinf) | |
| use, intrinsic :: ieee_arithmetic, only: & | ||
| ieee_class, & | ||
| ieee_positive_inf, & | ||
| operator(==) | ||
| operator(.eq.) | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was required for macOS and should work on Linux, too. |
||
| real(r8), intent(in) :: x | ||
| logical :: isposinf | ||
|
|
||
| isposinf = (ieee_positive_inf == ieee_class(x)) | ||
| isposinf = (ieee_positive_inf .eq. ieee_class(x)) | ||
|
|
||
| # 202 "shr_infnan_mod.F90.in" | ||
| end function shr_infnan_isposinf_double | ||
|
|
@@ -331,11 +331,11 @@ elemental function shr_infnan_isposinf_real(x) result(isposinf) | |
| use, intrinsic :: ieee_arithmetic, only: & | ||
| ieee_class, & | ||
| ieee_positive_inf, & | ||
| operator(==) | ||
| operator(.eq.) | ||
| real(r4), intent(in) :: x | ||
| logical :: isposinf | ||
|
|
||
| isposinf = (ieee_positive_inf == ieee_class(x)) | ||
| isposinf = (ieee_positive_inf .eq. ieee_class(x)) | ||
|
|
||
| # 202 "shr_infnan_mod.F90.in" | ||
| end function shr_infnan_isposinf_real | ||
|
|
@@ -346,11 +346,11 @@ elemental function shr_infnan_isneginf_double(x) result(isneginf) | |
| use, intrinsic :: ieee_arithmetic, only: & | ||
| ieee_class, & | ||
| ieee_negative_inf, & | ||
| operator(==) | ||
| operator(.eq.) | ||
| real(r8), intent(in) :: x | ||
| logical :: isneginf | ||
|
|
||
| isneginf = (ieee_negative_inf == ieee_class(x)) | ||
| isneginf = (ieee_negative_inf .eq. ieee_class(x)) | ||
|
|
||
| # 215 "shr_infnan_mod.F90.in" | ||
| end function shr_infnan_isneginf_double | ||
|
|
@@ -360,11 +360,11 @@ elemental function shr_infnan_isneginf_real(x) result(isneginf) | |
| use, intrinsic :: ieee_arithmetic, only: & | ||
| ieee_class, & | ||
| ieee_negative_inf, & | ||
| operator(==) | ||
| operator(.eq.) | ||
| real(r4), intent(in) :: x | ||
| logical :: isneginf | ||
|
|
||
| isneginf = (ieee_negative_inf == ieee_class(x)) | ||
| isneginf = (ieee_negative_inf .eq. ieee_class(x)) | ||
|
|
||
| # 215 "shr_infnan_mod.F90.in" | ||
| end function shr_infnan_isneginf_real | ||
|
|
||
| +4 −2 | .gitmodules | |
| +4 −0 | CMakeLists.txt | |
| +1 −1 | atmos_cubed_sphere | |
| +234 −34 | atmos_model.F90 | |
| +4 −2 | fv3_cap.F90 | |
| +35 −3 | module_fcst_grid_comp.F90 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -10,8 +10,9 @@ endif() | |||||
|
|
||||||
| if(DEBUG) | ||||||
| add_definitions(-DDEBUG) | ||||||
| set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -fno-unsafe-math-optimizations -frounding-math -fsignaling-nans -ffpe-trap=invalid,zero,overflow -fbounds-check") | ||||||
| set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0") | ||||||
| set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -fno-unsafe-math-optimizations -frounding-math -fsignaling-nans -ffpe-trap=invalid,zero,overflow -fbounds-check -fPIC") | ||||||
| set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -fPIC") | ||||||
| set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -fPIC") | ||||||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note to self. This should be
Suggested change
|
||||||
| else() | ||||||
| set(CMAKE_Fortran_FLAGS_RELEASE "-O2") | ||||||
| set(CMAKE_C_FLAGS_RELEASE "-O2") | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,8 @@ endif() | |||||
| if(DEBUG) | ||||||
| add_definitions(-DDEBUG) | ||||||
| set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -check -check noarg_temp_created -check nopointer -warn -warn noerrors -fp-stack-check -fstack-protector-all -fpe0 -debug -ftrapuv -init=snan,arrays") | ||||||
| set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ftrapuv") | ||||||
| set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ftrapuv -fPIC") | ||||||
| set(CMAKE_CXX_FLAGS_DEBUG "-g -fPIC" CACHE STRING "" FORCE) | ||||||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note to self. Should this be
Suggested change
? |
||||||
| else() | ||||||
| if(FASTER) | ||||||
| set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz -no-ip") | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self. This PR contains develop as of Nov 14, therefore the NoahMP submodule still shows up as a change. Need to pull in/fast forward and then this should go away (and some other stuff)