# The CPU and GPU results of CROCO are inconsistent

**URL:** <https://forum.croco-ocean.org/t/the-cpu-and-gpu-results-of-croco-are-inconsistent/7485>\
**Category:** run / config issues\
**Created:** [October 28, 2025, 12:39pm UTC](https://forum.croco-ocean.org/t/the-cpu-and-gpu-results-of-croco-are-inconsistent/7485 "2025-10-28T12:39:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhixin](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/z/3be4f8/32.png) [@zhixin](https://forum.croco-ocean.org/u/zhixin)\
**Post date:** [October 28, 2025, 12:39pm UTC](https://forum.croco-ocean.org/t/the-cpu-and-gpu-results-of-croco-are-inconsistent/7485/1 "2025-10-28T12:39:23Z")

</div>

Hello everyone, I am currently running the GPU version of croco. Now I have a problem: with the CPU version, it can run normally for over 360 days before blowing up, but when using the GPU version, it blows up in less than a day. Why is this? Besides using GPU computation, I haven’t made any other changes. Thank you all for your answers.  
Any help is appreciated, thanks!  
[CPU\_1.txt](https://forum.croco-ocean.org/uploads/short-url/66aFZ9IR2J0Y3bkSIwCthRLReuP.txt) (340.2 KB)  
The log file is attached. the CPU version file is too large, so I only uploaded a part of it.  
[GPU.txt](https://forum.croco-ocean.org/uploads/short-url/dxUMgumKlsmNxy0Qx5eaobkQ3fu.txt) (71.5 KB)

---

<div class="post-metadata">

**Author:** ![cnguyen](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@cnguyen](https://forum.croco-ocean.org/u/cnguyen)\
**Post date:** [November 7, 2025, 8:20am UTC](https://forum.croco-ocean.org/t/the-cpu-and-gpu-results-of-croco-are-inconsistent/7485/2 "2025-11-07T08:20:46Z")

</div>

Hello Zhixin,  
It looks a variable (at initial time ou near) is not copy to the GPU. One of the forcing variable is the first probability ?  
I sow yours cppkeys keys, i can try to reproduce the problem on a test case.  
Iin addition, and apart from this problem, with OpenACC and compiller optimisation CPU and GPU will not have same results.  
There is a CVTK keys to run and fix the reproductility in developpement mode.  
Let me know !
