CPP directive around use of ISNAN() intrinsic function#1460
CPP directive around use of ISNAN() intrinsic function#1460davegill wants to merge 1 commit intowrf-model:release-v4.3from
Conversation
Apparently some PGI compilers do not support this ... modified: configure modified: phys/module_sf_noahmplsm.F new file: tools/fortran_2003_isnan_test.F
|
jenkins |
|
@prasanthvkrishna |
@davegill Sure, Dave. I can do a test. |
@davegill Could you please add a line after your ISNAN check? |
@prasanthvkrishna This range limit code can be added in your PR instead of Dave's PR here. I think it is better to have Dave' PR focusing on resolving the ISNAN issue. |
|
#1456 "Noah-MP Dynamic Irrigation Packaged 2d fields" handles the intrinsic ISNAN() with a method already in place in the WRF model (P3 and TEMF). We can address all of these at one time, LATER. |
TYPE: enhancement
KEYWORDS: ISNAN, PGI compiler
SOURCE: Found by Prasanth, fixed by internal
DESCRIPTION OF CHANGES:
Problem:
Some PGI compilers do not support the 2003 intrinsic ISNAN() function.
Solution:
Put in an automatic test to include a CPP -Dflag if the ISNAN() function is not part of the compiler.
LIST OF MODIFIED FILES:
modified: configure
modified: phys/module_sf_noahmplsm.F
new file: tools/fortran_2003_isnan_test.F
TESTS CONDUCTED: