Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixed 1d evp (CICE-Consortium#568)
* Initialization of global HTE and HTN arrays with ghost cells on master task to avoid gathering constant arrays when running EVP 1D implementation. This solves issue with departure errors resulting from erroneous initialization of full land blocks in EVP 1D gathering. Correct initialization of remaining variables for full land blocks in EVP 1D gathering. * Reverted configuration/scripts/cice.batch.csh to resolve bad auto merge of file. Machine 'freya' was double in file. * Spell error corrected (CICE-Consortium#568 (comment)). * Redundant initializations to default values removed (CICE-Consortium#568 (comment)). @mhrib questions to default value settings removed. * Subroutine primary_grid_lengths_global_ext moved from ice_grid module to MPI and serial implementations of ice_boundary modules (CICE-Consortium#568 (comment)). Please note duplication of subroutine. * Added 1d solver to be fully integrated. Removed kevp=102 bypass. Clean up. Changed namelist parameter kevp to evp_algorithm * General cleanup of ice_dyn_evp_1d module (CICE-Consortium#568 (comment) and CICE-Consortium#568 (comment)) * Modified documentation in order to comply with modifications of evp 1d * Uncommenting of numainit parallelization removed and domp_init moved before numainit to ensure correct initialization. Additional cleanup of code. * renamed set_nml.evp_algorithm to set_nml.evp1d added test to base test * rm set_nml.kevp102 * Naming of variable se is not logical. Changed to sse which is the same as the global variable * Alignment of NUMA-aware array splitting between threads * Initialization of global HTE and HTN arrays with ghost cells on master task to avoid gathering constant arrays when running EVP 1D implementation. This solves issue with departure errors resulting from erroneous initialization of full land blocks in EVP 1D gathering. Correct initialization of remaining variables for full land blocks in EVP 1D gathering. * Reverted configuration/scripts/cice.batch.csh to resolve bad auto merge of file. Machine 'freya' was double in file. * Spell error corrected (CICE-Consortium#568 (comment)). * Redundant initializations to default values removed (CICE-Consortium#568 (comment)). @mhrib questions to default value settings removed. * Subroutine primary_grid_lengths_global_ext moved from ice_grid module to MPI and serial implementations of ice_boundary modules (CICE-Consortium#568 (comment)). Please note duplication of subroutine. * Added 1d solver to be fully integrated. Removed kevp=102 bypass. Clean up. Changed namelist parameter kevp to evp_algorithm * General cleanup of ice_dyn_evp_1d module (CICE-Consortium#568 (comment) and CICE-Consortium#568 (comment)) * Modified documentation in order to comply with modifications of evp 1d * Uncommenting of numainit parallelization removed and domp_init moved before numainit to ensure correct initialization. Additional cleanup of code. * renamed set_nml.evp_algorithm to set_nml.evp1d added test to base test * rm set_nml.kevp102 * Naming of variable se is not logical. Changed to sse which is the same as the global variable * Alignment of NUMA-aware array splitting between threads * Fix bad scaling of calculation of tinyarea. Different order of multiplication causes small differences in result * Fix evp 1d masking issues - There are relatively rare cases/gridcells where stress (tmask) and stepu (umask) are advanced without the other. The 1d evp implementation was not addressing this issue, so skiptcell was added to the 1d evp (similar to skipucell) to mask out cells separately for stress and stepu. This fixed a few non bit-for-bit cases in testing. - Cleaned up some indentation and other minor issues in 1d evp. - Updated the evp_algorithm log output in ice_init. * Some minor revisions in the documentation as suggested by @apcraig (CICE-Consortium#568 (review)) plus some additional minor spelling corrections. Co-authored-by: Stefan Rethmeier <str@dmi.dk> Co-authored-by: Till Rasmussen <tar@11glvp2.usr.local> Co-authored-by: Stefan Rethmeier <stefan@rethmeier.dk> Co-authored-by: apcraig <anthony.p.craig@gmail.com>
- Loading branch information