-
Notifications
You must be signed in to change notification settings - Fork 64
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
ccpp_prebuild: Update CCPP metadata for error flag variable and constant one #428
Changes from 17 commits
ad510d3
48bcb75
ef7a984
5c4d312
aacab9d
e88f77a
18d0072
47f0b72
4694d8d
aa5dec4
40e0d2f
565ede6
3d2f7cd
db3b9c1
f228064
0c69a9c
96bebbf
fee2198
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 |
---|---|---|
|
@@ -14,13 +14,14 @@ | |
sys.path.append(os.path.join(os.path.split(__file__)[0], 'fortran_tools')) | ||
from parse_fortran import FtypeTypeDecl | ||
from parse_checkers import registered_fortran_ddt_names | ||
from parse_tools import init_log | ||
from metadata_table import MetadataTable, parse_metadata_file | ||
from framework_env import CCPPFrameworkEnv | ||
|
||
_DUMMY_RUN_ENV = CCPPFrameworkEnv(None, ndict={'host_files':'', | ||
'scheme_files':'', | ||
'suites':''}) | ||
|
||
_API_LOGGING = init_log('metadata_parser') | ||
_DUMMY_RUN_ENV = CCPPFrameworkEnv(_API_LOGGING, ndict={'host_files':'', | ||
'scheme_files':'', | ||
'suites':''}) | ||
|
||
# Output: This routine converts the argument tables for all subroutines / typedefs / kind / module variables | ||
# into dictionaries suitable to be used with ccpp_prebuild.py (which generates the fortran code for the caps) | ||
|
@@ -48,10 +49,10 @@ | |
intent = 'out', | ||
active = 'T', | ||
), | ||
'ccpp_error_flag' : Var(local_name = 'ierr', | ||
standard_name = 'ccpp_error_flag', | ||
long_name = 'error flag for error handling in CCPP', | ||
units = 'flag', | ||
'ccpp_error_code' : Var(local_name = 'ierr', | ||
standard_name = 'ccpp_error_code', | ||
long_name = 'error code for error handling in CCPP', | ||
units = '1', | ||
Comment on lines
+52
to
+55
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 needs to get back to feature/capgen, right? 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. Yes, that's right. Next formal update of feature/capgen from main. This is the prebuild side of things, not used by capgen. |
||
type = 'integer', | ||
dimensions = [], | ||
rank = '', | ||
|
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.
This can come back to feature/capgen
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.
Same here, prebuild script. Will come back with the next update of feature/capgen from main.