Open dkolom opened 7 years ago
ah, yes it seems this is a fortran2003 feature. it's a pity sx cannot do that (yet). I'll think about a way to avoid it
Thanks! I actually compile with -f2003 option, so it may be even newer.
could you please check if changing intent(out) to intent(inout) changes something? I don't have the sx compiler. from the internet, it seems this is actually a fortran2003 feature
Maybe we need an explicit interface for that? Simply intent(inout) did not work.
the function is part of a module, therefore it shouldn't require an interface.
Von: Dmitry Kolomenskiy [notifications@github.com] Gesendet: Mittwoch, 24. Mai 2017 11:01 An: pseudospectators/FLUSI Cc: Engels, Thomas Sebastian; Comment Betreff: Re: [pseudospectators/FLUSI] Allocatable arrays as input and output arguments (#15)
Maybe we need an explicit interface for that?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/pseudospectators/FLUSI/issues/15#issuecomment-303663125, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADn8gkz_Qmc-40orCqD2nOzn_3oWR5qEks5r8_IFgaJpZM4NkpzV.
Please revise the param_matrix subroutine to avoid using an allocatable array as output argument real(kind=pr), allocatable, intent(out) :: matrix(:,:) SX compiler does not handle that.