Re: Fortran assumed-shape array problems with MPI




"Jane Smith" <claire.s.lim@xxxxxxxxx> wrote in message
news:1180574928.670034.260430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Do we need an interface to use assumed-shape array ? (I thought
that it is a common feature in fortran 90). What interface do we need?

Yes, an explicit one. Try putting the called procedure into a module that is
USEd by the caller, or make it an internal procedure to the caller, or put
them both in the same module (the simplest ways).

Regards,

Mike Metcalf


.



Relevant Pages

  • Re: Fortran assumed-shape array problems with MPI
    ... that it is a common feature in fortran 90). ... What interface do we need? ... Yes, an explicit one. ... USEd by the caller, or make it an internal procedure to the caller, or put ...
    (comp.lang.fortran)
  • Re: intel compiler and [REFERENCE] keyword?
    ... Wouldn't that change the binary interface? ... SUBROUTINE SYSFNCBIND ... This is trouble - Fortran LOGICAL does not match ... This binary interface has been stable for about 10 years and has been ...
    (comp.lang.fortran)
  • Re: getting env. variables in gfortran...
    ... Fortran standard (processes, threads, priorities, interprocess ... POSIX functions and Fortran 77. ... POSIX standard itself, not just to the fortran 77 interface. ...
    (comp.lang.fortran)
  • Re: F90 to C interface
    ... I had a while ago a similar problem (interfacing Fortran code with C ... libraries); theoretically you would be able to use the Fortran2003 ... A Fortran module was also written containing interface ... Regarding arrays, you have to be careful: ...
    (comp.lang.fortran)
  • Re: [F03 C-interoperability] Correct way to do C_PTR (char *) to CHARACTER vector conversion
    ... I am planning to embark on a project in Fortran 95. ... that I needed to interface against zlib to compress data. ... FUNCTION ZLIBVERSION BIND ...
    (comp.lang.fortran)