Skip to content
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

Mixed precision astronomy #1092

Merged
merged 116 commits into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
155b5f2
Create include and header files to add mixed precisions
mcallic2 Dec 12, 2022
41059cb
Changes function calls and module variables
mcallic2 Dec 13, 2022
ee5678f
Will revert
mcallic2 Dec 13, 2022
8ffdb48
Changes interface/module procedure naming
mcallic2 Dec 16, 2022
ecec7cf
Style and error fixes
mcallic2 Dec 16, 2022
1391526
Style changes and error fixes
mcallic2 Dec 16, 2022
0045882
Undoes subroutine/functions macros
mcallic2 Dec 16, 2022
181e40a
Adds function interfaces
mcallic2 Dec 16, 2022
60265aa
Removes interfaces that no longer exist
mcallic2 Dec 16, 2022
a625f3a
Mixed precision changes
mcallic2 Dec 16, 2022
79a8074
Merge branch 'astronomy' of https://github.com/mcallic2/FMS into astr…
mcallic2 Dec 16, 2022
3cf56fe
Lint fixes
mcallic2 Dec 16, 2022
4a0658f
Adding r8 precision to module variables
mcallic2 Jan 9, 2023
f7c6b75
Adds local kind parameter
mcallic2 Jan 9, 2023
2e16a0f
Adds mixed precision to local variable math
mcallic2 Jan 9, 2023
365c255
Style fixes
mcallic2 Jan 9, 2023
3937c4e
More style fixes
mcallic2 Jan 11, 2023
5cb3dba
Adds & concatenator
mcallic2 Jan 12, 2023
a0f452d
Merge branch 'NOAA-GFDL:main' into astronomy
mcallic2 Jan 20, 2023
70d1f8b
Merge branch 'mixedmode' into astronomy
mcallic2 Jan 20, 2023
7f29364
Remove trailing whitespaces
mcallic2 Jan 24, 2023
a21d365
Removes unnecessary precision
mcallic2 Jan 24, 2023
68522a4
Changes module variable precision handling
mcallic2 Jan 24, 2023
fe96d39
Removes trailing whitespace
mcallic2 Jan 24, 2023
026d15e
Adds & and changes paranthesis placement
mcallic2 Jan 25, 2023
485d631
fix: misspellings and rename variable in yaml_parser.F90 (#1127)
J-Lentz Feb 1, 2023
35a5f2a
fix: module and local variable name conflicts in time_interp (#1125)
mlee03 Feb 1, 2023
ba9c712
docs: Correct instructions to build without MPI (#1128)
J-Lentz Feb 1, 2023
ff1c6d4
Merge mixedmode updates
mcallic2 Feb 8, 2023
15df841
fix: pointer to allocatable in amip_interp_type (#1106)
ganganoaa Feb 9, 2023
f0e8cab
feat: log_diag_field_info updates from diag rewrite (#1117)
rem1776 Feb 14, 2023
ec2020a
fix: remove implied save for valid_types variables in sat_vapor_pres_…
uramirez8707 Feb 16, 2023
4526cc9
revert: log_diag_field_info argument changes (#1136)
rem1776 Feb 16, 2023
26f492c
Adds astronomy directory to test_fms
mcallic2 Feb 23, 2023
787647e
Merge mixed mode
mcallic2 Feb 23, 2023
d1b329e
Clean up precision changes
mcallic2 Mar 31, 2023
ad8eddf
Merge branch 'mixedmode' into astronomy
mcallic2 Mar 31, 2023
dfa1a53
Removes trailing white space
mcallic2 Mar 31, 2023
40e7a59
Merge mixed mode
mcallic2 Mar 31, 2023
5e872f4
Merge branch 'astronomy' of github.com:mcallic2/FMS into astronomy
mcallic2 Mar 31, 2023
acb1c84
Merge mixedmode
mcallic2 Apr 18, 2023
38ef010
Remove parenthesis for cmake
mcallic2 Apr 18, 2023
508605b
Adds unit tests (not completed) for astronomy
mcallic2 May 8, 2023
16fdaaf
merge mixedmode
mcallic2 May 8, 2023
319be7e
Merge mixedmode
mcallic2 Jun 2, 2023
9e83255
change float to real r8kind
mcallic2 Jun 2, 2023
3fcadcf
add mixed precision to constant PI
mcallic2 Jun 2, 2023
47e2677
fixed precision kind
mcallic2 Jun 2, 2023
a0b2668
moves kind parameter
mcallic2 Jun 5, 2023
77e7dfc
removes unnecesarry precision
mcallic2 Jun 5, 2023
c9e3995
removes unnecessarry precision around module parameters
mcallic2 Jun 5, 2023
b79b268
removes unecessarry precision around orb_angle
mcallic2 Jun 5, 2023
a3c5eea
removes unecessary precison from twopi
mcallic2 Jun 5, 2023
cfaa8e1
Merge branch 'astronomy' of github.com:mcallic2/FMS into astronomy
mcallic2 Jun 5, 2023
9158707
merge
mcallic2 Jun 5, 2023
b303a7f
removes unecessary precision from variable t
mcallic2 Jun 5, 2023
abb99c1
merge
mcallic2 Jun 5, 2023
13e28e5
removes unecessary precision in calculations
mcallic2 Jun 5, 2023
f6ec734
removes float, adds real
mcallic2 Jun 5, 2023
3e4e176
removes unecessary precision in functions
mcallic2 Jun 5, 2023
056c1c6
puts back any removed comments, rearranges interfaces
mcallic2 Jun 5, 2023
0c698d1
removes whitespace
mcallic2 Jun 5, 2023
1fc65a0
fixes comment line over 120 characters
mcallic2 Jun 5, 2023
da85d74
removes trailing whitespace
mcallic2 Jun 5, 2023
88cf1ae
put include statement at beginning of line
mcallic2 Jun 6, 2023
7b6fa56
Merge astronomy
mcallic2 Jun 6, 2023
5d46a2e
Add catch if lonb argument is not included in astronomy_init
mcallic2 Jun 6, 2023
d4b33e0
change error message and type
mcallic2 Jun 7, 2023
c3281f6
Adds unit tests for astronomy_mod
mcallic2 Jul 5, 2023
af1b63b
fix for real math
mcallic2 Jul 5, 2023
3339bd7
add unit tests for astronomy_mod
mcallic2 Jul 5, 2023
6390285
whitespace because i always forget to check before i push
mcallic2 Jul 5, 2023
d54cdeb
decided to put tests in seperate files
mcallic2 Jul 5, 2023
4f96ca0
Merge branch 'mixedmode' into astronomy
mcallic2 Jul 5, 2023
697631d
removes non-existing files
mcallic2 Jul 5, 2023
3cdf7b2
fixes test_fms/Makefile
mcallic2 Jul 5, 2023
c79722f
removing else functionality for now
mcallic2 Jul 5, 2023
20357fe
adds check for astronomy_init optional arguments
mcallic2 Jul 5, 2023
cdca74c
adds class(*) and catches wrongful data types
mcallic2 Jul 5, 2023
0c29077
changes select type catching
mcallic2 Jul 5, 2023
4fd0791
adds more real conversions
mcallic2 Jul 5, 2023
f084556
spelling mistake
mcallic2 Jul 5, 2023
78fa811
change precision
mcallic2 Jul 5, 2023
42baed8
fix precision for get_orbit_parameters test
mcallic2 Jul 5, 2023
676152d
change floor to real
mcallic2 Jul 6, 2023
6ed0ead
changes for unit tests
mcallic2 Jul 6, 2023
7b95eaf
merge astronomy
mcallic2 Jul 6, 2023
70803f3
adds precision to function conversions
mcallic2 Jul 7, 2023
743dde1
removes uncessary precision
mcallic2 Jul 7, 2023
6b8ce08
changes floor to real
mcallic2 Jul 7, 2023
7804f95
Merge astronomy
mcallic2 Jul 7, 2023
fdeb7be
adds more unit testing, test_dt_options still not finished
mcallic2 Jul 11, 2023
d236484
trim trailing whitespace
mcallic2 Jul 12, 2023
e0b8a41
change error message
mcallic2 Jul 12, 2023
dd2303d
changes input calues, intent for cosz caulcation, and comments for te…
mcallic2 Jul 16, 2023
740c6f7
more test changes
mcallic2 Jul 18, 2023
dfe8697
changes create_cosz routine, adds more comments, changes print statem…
mcallic2 Jul 19, 2023
0a477d5
change precision kind
mcallic2 Jul 27, 2023
8340710
change tests, still need to fix solar_cal and annual test
mcallic2 Jul 27, 2023
47484f8
merge mixedmode
mcallic2 Jul 28, 2023
156ed0d
white space
mcallic2 Jul 28, 2023
8e59071
more test updates
mcallic2 Aug 1, 2023
13c559c
Merge branch 'mixedmode' into astronomy
mcallic2 Aug 1, 2023
b131a3f
final changes for unit tests
mcallic2 Aug 2, 2023
76f0378
merge mixedmode
mcallic2 Aug 2, 2023
516c073
comments
mcallic2 Aug 2, 2023
7ec4e5a
merge
mcallic2 Aug 2, 2023
be3fe85
fix select types
mcallic2 Aug 2, 2023
a17c478
comments
mcallic2 Aug 3, 2023
3599cd5
trim whitespace
mcallic2 Aug 4, 2023
debf93e
Revert "fix select types"
mcallic2 Aug 4, 2023
22aff9e
initialize is_valid
mcallic2 Aug 7, 2023
e2e3cdb
seconds_per_day to int
mcallic2 Aug 16, 2023
b7f244e
dont need it
mcallic2 Aug 16, 2023
b3f38fb
fixes to astronomy
Aug 16, 2023
4ab7df8
Merge pull request #4 from mlee03/astronomy
mcallic2 Aug 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,9 @@ foreach(kind ${kinds})
random_numbers/include
diag_manager/include
constants4
constants
axis_utils/include
constants
astronomy/include
field_manager/include
tracer_manager/include)

Expand Down Expand Up @@ -350,6 +351,7 @@ foreach(kind ${kinds})
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/fms>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/fms/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/fms2_io/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/astronomy/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/monin_obukhov/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/sat_vapor_pres/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/field_manager/include>
Expand Down
13 changes: 11 additions & 2 deletions astronomy/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,23 @@
# Ed Hartnett 2/22/19

# Include .h and .mod files.
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/astronomy/include
AM_FCFLAGS = $(FC_MODINC). $(FC_MODOUT)$(MODDIR)

# Build this uninstalled convenience library.
noinst_LTLIBRARIES = libastronomy.la

# The convenience library depends on its source.
libastronomy_la_SOURCES = astronomy.F90
libastronomy_la_SOURCES = \
astronomy.F90 \
include/astronomy_r4.fh \
include/astronomy_r8.fh \
include/astronomy.inc

astronomy.$(FC_MODEXT): \
include/astronomy_r4.fh \
include/astronomy_r8.fh \
include/astronomy.inc

BUILT_SOURCES = astronomy_mod.$(FC_MODEXT)
nodist_include_HEADERS = astronomy_mod.$(FC_MODEXT)
Expand Down
Loading
Loading