You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running is Debug mode, the chgres_cube regression tests are crashing at the calls to routine "search_many". That routine is called from each MPI task, but some of the arguments have only been allocated on task 0. For example, the tests crash with an error about 'land_target_one_tile' not being allocated.
if (localpet == 0) then
allocate(land_target_one_tile(i_target,j_target))
land_target_one_tile = 0
where(mask_target_one_tile == 1) land_target_one_tile = 1
endif
call search_many(num_fields,bundle_allland_target,data_one_tile, land_target_one_tile,&
tile,search_nums,localpet)
if (localpet == 0) deallocate(land_target_one_tile)
After a code handoff, NCO will now compile/run all tags in Debug mode. For the Intel compiler, that mode must include at least -check all -ftrapuv.
As a future item, at least one of the regression tests should run in Debug mode.
The text was updated successfully, but these errors were encountered:
The routine is called from all MPI tasks, but some arrays passed to
the routine were not allocated on all tasks. This problem was only seen
when compiling/running under 'Debug' mode (all regression tests crashed
at the call to search_many).
Fixes#797.
When running is Debug mode, the chgres_cube regression tests are crashing at the calls to routine "search_many". That routine is called from each MPI task, but some of the arguments have only been allocated on task 0. For example, the tests crash with an error about 'land_target_one_tile' not being allocated.
After a code handoff, NCO will now compile/run all tags in Debug mode. For the Intel compiler, that mode must include at least
-check all -ftrapuv
.As a future item, at least one of the regression tests should run in Debug mode.
The text was updated successfully, but these errors were encountered: