error #8486

19 views
Skip to first unread message

Kai Logemann

unread,
Nov 4, 2021, 7:56:12 AM11/4/21
to FABM-devel
Dear all,
when trying to compile the official NERSC-ECOSMO version I get the following error message:

/work/bg1184/g260110/icon_ecosmo/fabm/src/models/nersc/ecosmo.F90(461): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [REGISTER_DEPENDENCY]
   call self%register_dependency(self%id_f2det,'ECO_F2De')

What does it mean?

Thanks in advance,

Kai Logemann

Carsten Lemmen

unread,
Nov 4, 2021, 8:02:38 AM11/4/21
to fabm-...@googlegroups.com
Dear Kai,

This is a shortcoming of the current implementation of the SCHISM host, it is not a problem within FABM itself.   The error is generated for FABM with current API (official FABM), not the old API (Hereon local repo) which you probably want to use with NERSC/ecosmo.  

Cheers,
Carsten

--
You received this message because you are subscribed to the Google Groups "FABM-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabm-devel/1f61c5a5-45ff-4378-a8c4-bae85d71170an%40googlegroups.com.

Kai Logemann

unread,
Nov 4, 2021, 11:16:06 AM11/4/21
to FABM-devel
Thank you Carsten! So, I either have to downgrade my version of FABM or to change the ECOSMO code to make it compatible with the current version, whereas the latter would be the more sustainable solution, right?

Best, Kai

Carsten Lemmen

unread,
Nov 4, 2021, 11:24:30 AM11/4/21
to fabm-...@googlegroups.com
Dear Kai,

Thank you Carsten! So, I either have to downgrade my version of FABM or to change the ECOSMO code to make it compatible with the current version, whereas the latter would be the more sustainable solution, right?

Certainly that would be the sustainable solution. 

Many models at Hereon have so far remained at FABM API 0.  If you want to go forward with this, I am more than happy to collaborate, as I am actively developing the FABM 1 host in SCHISM 

You’re welcome to contribute to g...@github.com:schism-dev/schism.git  (there is a FABM branch)

Cheers,
Carsten

carsten...@googlemail.com schrieb am Donnerstag, 4. November 2021 um 13:02:38 UTC+1:
Dear Kai,

This is a shortcoming of the current implementation of the SCHISM host, it is not a problem within FABM itself.   The error is generated for FABM with current API (official FABM), not the old API (Hereon local repo) which you probably want to use with NERSC/ecosmo.  

Cheers,
Carsten

Am 04.11.2021 um 12:56 schrieb Kai Logemann <kai.lo...@gmail.com>:

Dear all,
when trying to compile the official NERSC-ECOSMO version I get the following error message:

/work/bg1184/g260110/icon_ecosmo/fabm/src/models/nersc/ecosmo.F90(461): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [REGISTER_DEPENDENCY]
   call self%register_dependency(self%id_f2det,'ECO_F2De')

What does it mean?

Thanks in advance,

Kai Logemann


--
You received this message because you are subscribed to the Google Groups "FABM-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabm-devel/1f61c5a5-45ff-4378-a8c4-bae85d71170an%40googlegroups.com.


--
You received this message because you are subscribed to the Google Groups "FABM-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-devel+...@googlegroups.com.

Kai Logemann

unread,
Nov 4, 2021, 12:02:29 PM11/4/21
to FABM-devel
Thanks! However, I am working on a FABM_ECOSMO - ICON-O version. In a test version I avoided the problem above by changing the according registrations from "dependency" to "state_variable". So the 2-d variable "F2Det" is computed in "do_surface" and the sent to the host via _SET_SURFACE_ODE_.  The host knows that it receives the updated value and not a temporal change. Finally subroutine "do" gets "F2Det" via _GET_HORIZONTAL_

Dont know if I could describe my idea clearly. Do you think it's possible like this?

Carsten Lemmen

unread,
Nov 5, 2021, 3:50:48 AM11/5/21
to fabm-...@googlegroups.com
Dear Kai,

My previous analysis was very likely incorrect.  As this is related to the outdated FABM API, and possibly to local issues, I suggest to continue this conversation offline and report back here if relevant for the community.

Cheers,
Carsten

Jorn Bruggeman

unread,
Nov 5, 2021, 6:33:56 PM11/5/21
to fabm-...@googlegroups.com

Hi Kai, Carsten,

 

My guess that this specific issue can be solved by adding the units and long name in the call to register, like this:

 

call self%register_dependency(self%id_f2det,'ECO_F2De', 'UNITS', 'LONG_NAME')

 

The syntax without units and long name was deprecated quite long ago.

 

In general, there should be very few changes to biogeochemical codes needed when upgrading FABM [with the exception of models that read their configuration from namelists – they need to move to the yaml format introduced in FABM in 2014]

 

Cheers,

 

Jorn

Reply all
Reply to author
Forward
0 new messages