The OASIS Coupler Forum

  HOME

Compilation error in mod_oasis_timer.F90

Up to Installation and compilation

Posted by Anonymous at January 25 2018

I get the following compilation error for oasis3-mct using an intel compiler on a SGI/HPE ICE XA Cluster:

mod_oasis_timer.F90(262): CALL oasis_unitget(output_unit)
error #6633: The type of the actual argument differs from the type of the dummy argument.

In mod_oasis_timer.F90 we have : integer :: output_unit = 901

In the subroutine oasis_unitget, we have:

SUBROUTINE oasis_unitget(uio)

INTEGER(kind=ip_intwp_p),INTENT(out) :: uio !< unit number

more mod_oasis_kinds.F90 |grep -in ip_intwp_p

30: INTEGER, PARAMETER :: ip_i4_p = SELECTED_INT_KIND(9)

36: INTEGER, PARAMETER :: ip_intwp_p = ip_i4_p

Posted by Anonymous at January 25 2018

Hi,

Did you try to recompiled and run putting :

INTEGER(kind=ip_intwp_p) :: output_unit

in mod_oasis_timer.F90 ?

Let me know, Best regards, Laure

Posted by Anonymous at January 29 2018

Hi Elena,

Maybe that a general intel compilation option exists that allows you to recognize a matching specific subroutine with its generic subroutine call. Did try to find out ?

Best regards, Laure

Posted by Anonymous at January 29 2018

Hi Laure,

Yes, mod_oasis_timer.F90, now the next routine fails with a similar problem: 

/code/oasis3-mct/extract/oa3mct/lib/psmile/src/mod_oasis_mpi.F90(1076\ ): 
error #6633: The type of the actual argument differs from the type of the dummy argument. [RANK]call oasis_mpi_commrank( comm, rank )

I haven't fixed that yet, but it might not be the last one? I am just wondering if that kind of issue should be fixed in the code for all users ? 

Thanks very much for your help, Elena
Reply to this