Bug in isfstp.F90 when compiling with key_RK3
Context
Please provide informations on how to reproduce the bug:
-
main -
Any config with key_RK3
Analysis
A misplaced #endif around line 154 of isfstp.F90 results in an unterminated call to lbc_lnk when key_RK3 is defined. Simply placing the #endif correctly is insufficient due to a trailing comma on the first line.
Fix
CALL lbc_lnk( 'isf_stp', fwfisf_par , 'T', 1.0_wp, fwfisf_cav , 'T', 1.0_wp, &
#if ! defined key_RK3
& fwfisf_par_b, 'T', 1.0_wp, fwfisf_cav_b, 'T', 1.0_wp &
& )
#endif
needs to be:
CALL lbc_lnk( 'isf_stp', fwfisf_par , 'T', 1.0_wp, fwfisf_cav , 'T', 1.0_wp &
#if ! defined key_RK3
& , fwfisf_par_b, 'T', 1.0_wp, fwfisf_cav_b, 'T', 1.0_wp &
#endif
& )