NorESMhub / BLOM

Bergen Layered Ocean Model
GNU Lesser General Public License v3.0
16 stars 25 forks source link

Update ci.yml with ecosys enabled #284

Closed TomasTorsvik closed 8 months ago

TomasTorsvik commented 8 months ago

Testing CI with ecosys

TomasTorsvik commented 8 months ago

Enabling ecosys for the gnu compiler build returns lots of strange error of the type:

../hamocc/accfields.F90:450:14:

  450 |           if (GLB_INVENTORY(l).ne.0) then
      |              1
Error: Function ‘glb_inventory’ at (1) has no IMPLICIT type

No idea why this happens for variables imported from modules, and don't have time to look into it now. It seems to work OK for the intel compiler. I have disabled building with ecosys for the gnu compiler for now, so the checks are passed.

TomasTorsvik commented 8 months ago

I had to restore the old restart_trcrd.F90 with the #ifdef HAMOCC statements to get it through the intel compilation tests. Somehow, it's strange that it passed with the gnu compiler even though hamocc_init was missing.