I am testing the standard BENGUELA_LR realistic case with # define OPENACC, for croco GPU.
I am using the latest croco 2.1.3 on a Ubuntu 26.04 LTS on a Thinkpad P1 with the Nvidia RTX 2000 Ada pro graphics card.
After: module load nvhpc-nompi/26.3
CASE 1:
With the default cppdefs options the run completes successfully on the GPU and the results are identical with the croco CPU run.
CASE 2:
With # define NBQ, and the rest cppdefs options default, it compiles successfully but immediately when the run starts I get the error:
FATAL ERROR: data in PRESENT clause was not found on device 1: name=jend host:0x7ffca8ecdc9c
file:/home/konstantinos/Programs/croco-v2.1.3/CONFIGS/BENGUELA_LR/Compile/step3d_fast_.f step3d_fast_tile line:874
According to the webinar on croco GPU, this type of error means: array is not on device, which leads to poor perfomance => look at sequential at compilation time. After searching the terminal output during compile i found multiple “Inner sequential loop scheduled on accelerator”. But then I found the same “Inner sequential loop scheduled on accelerator” during the compilation on GPU of CASE 1 above, which worked fine, so it is not clear to me why this causes a FATAL ERROR and how to fix it for the NBQ case.
I have previously tested the Kelvin-Helmoltz test case with NBQ on GPU and it worked fine. So i don’t know why the Benguela case fails with NBQ.
CASE 3:
With # define CROCO_QH, and the rest cppdefs options default, it compiles successfully but immediately when the run starts I get the error:
FATAL ERROR: data in PRESENT clause was not found on device 1: name=cosa(istrr:iendr,jstrr:jendr) host:0x120b280
file:/home/konstantinos/Programs/croco-v2.1.3/CONFIGS/BENGUELA_LR/Compile/setup_grid1_.f setup_grid1_tile line:336
Again it is a similar error to the Case 2, and it is not clear to me why this causes a FATAL ERROR and how to fix it
Any ideas why it fails on non-hydrostatic options?
Regards