#2079 closed Defect (fixed)
pb compiling iom.F90 without key_iomput
Reported by: | clevy | Owned by: | andmirek |
---|---|---|---|
Priority: | normal | Milestone: | 2018 release-4.0 |
Component: | OCE | Version: | trunk |
Severity: | minor | Keywords: | OPA v4.0 |
Cc: |
Description
Context
Trying to run a configuration with 2 AGRIFS zooms, I get some errors and would like to be sure those are not related to XIOS. But hrad of dev_merge_2017 branch does not seem to compile anymore when cpp key key_iomput is removed
Analysis
Compiling the reference configuration GYRE_PISCES in dev_merge_2017 branch, I get a number of compiler errors, starting with:
/workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(123): error #6457: This derived type name has not been declared. [XIOS_FIELD] TYPE(xios_field) :: field_hdl --------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(124): error #6457: This derived type name has not been declared. [XIOS_FILE] TYPE(xios_file) :: file_hdl --------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(125): error #6457: This derived type name has not been declared. [XIOS_FILEGROUP] TYPE(xios_filegroup) :: filegroup_hdl --------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(138): error #6404: This name does not have a type, and must have an explicit type. [FILEGROUP_HDL] CALL xios_get_handle("file_definition", filegroup_hdl ) ------------------------------------------------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(139): error #6404: This name does not have a type, and must have an explicit type. [FILE_HDL] CALL xios_add_child(filegroup_hdl, file_hdl, 'rrestart') -------------------------------------------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(140): error #6632: Keyword arguments are invalid without an explicit interface. [NAME] CALL xios_set_file_attr( "rrestart", name=trim(rst_file), type="one_file", & ---------------------------------------------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(140): error #6632: Keyword arguments are invalid without an explicit interface. [TYPE] CALL xios_set_file_attr( "rrestart", name=trim(rst_file), type="one_file", & ------------------------------------------------------------------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(141): error #6632: Keyword arguments are invalid without an explicit interface. [PAR_ACCESS] par_access="collective", enabled=.TRUE., mode="read", & -------------^ /workgpfs/rech/omr/romr001/4.0_FER/NEMOGCM/CONFIG/GYRE_PISCES/BLD/ppsrc/nemo/iom.f90(141): error #6632: Keyword arguments are invalid without an explicit interface. [ENABLED] par_access="collective", enabled=.TRUE., mode="read", &
Recommendation
It seems to me to be related to the changeset 9367 allowing to use XIOS for restart:
http://forge.ipsl.jussieu.fr/nemo/changeset?reponame=&old=9367%40branches%2F2017%2Fdev_merge_2017%2FNEMOGCM%2FNEMO%2FOPA_SRC%2FIOM%2Fiom.F90&new=9019%40branches%2F2017%2Fdev_merge_2017%2FNEMOGCM%2FNEMO%2FOPA_SRC%2FIOM%2Fiom.F90
Has this changeset been tested without key_iomput cpp key?
Commit History (0)
(No commits)
Change History (3)
comment:1 Changed 6 years ago by andmirek
- Status changed from new to assigned
comment:2 Changed 6 years ago by clevy
- Resolution set to fixed
- Status changed from assigned to closed
Compilation problem is indeed solved.
Thanks
I'm closing the ticket.
comment:3 Changed 2 years ago by nemo
- Keywords OPA v4.0 added
The fixes for dev_merge_2017 were put in changes 9539 and 9536.
Claire could you please confirm the fixes solved your compilation problem.