Opened 3 years ago
#2755 new Bug
Wrong use of fs_2/fs_jpim1 indexes
Reported by: | emalod | Owned by: | systeam |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | env | Version: | v4.0.* |
Severity: | minor | Keywords: | cpp key |
Cc: |
Description
Context
The key_vectopt_loop cpp key forces some spatial loops to perform computations in the halos (fs_2/fs_jpim1 indexes). This is supposed to have an effect on vectorisation. Recent tests (2021) have shown rather limited effect on NEC SX-Aurora-TSUBASA machines
Analysis
Some loops are wrongly bounded by fs_2/fs_jpim1 indexes, which lead to array overflow (e.g. dommsk : umask(ji,jj,jk) = tmask(ji,jj ,jk) * tmask(ji+1,jj ,jk) )
Fix
Check where fs_2/fs_jpim1 are used and make correction (or remove the key_vectopt_loop cpp key)
Commit History (0)
(No commits)
Note: See
TracTickets for help on using
tickets.