PSyclone icon indicating copy to clipboard operation
PSyclone copied to clipboard

[MEDUSA] Code using character strings as switches cannot be put on GPU

Open arporter opened this issue 5 years ago • 3 comments

The string options are a feature of the configuration interface of the external source code mocsy (Orr, J. C. and Epitalon, J.-M., 2015, "Improved routines to model the ocean carbonate system: mocsy 2.0", Geosci. Model Dev., 8, 485-499, doi:10.5194/gmd-8-485-2015) used by MEDUSA, and not part of the native MEDUSA code. It is therefore not practical to change the original source and we propose instead to implement a transformation to replace such switches with integers on a routine-by-routine basis.

arporter avatar Aug 17 '20 07:08 arporter