[f2py] (no subject)

labrach at free.fr labrach at free.fr
Tue Oct 11 18:47:46 EEST 2005


Hye all,
I'm trying to wrap some fortran stuff on an Opteron amd64 with PGI (5.2)
(All my fortran/python programs were sucessfully ported on Solaris8,HP-UX.11.i,
IRIX646.5)

I've got some very strange problems with IO operation in fortran
Sometimes, I have run-time error messages such than:

PGFIO-F-202/list-directed write/unit=6/conflicting specifiers.
 File name = stdout     formatted, sequential access   record = 0
 In source file libsrc/definemodel.f, at line number 51

  (fortran line : write(*,*) 'Hello')
or

PGFIO-F-254/formatted write/internal file/illegal repeat count in format.
 In source file libsrc/mySub.f, at line number 6
  (fortran line : write(c,'(i4)') i)


Theses error dont appear whithin a fortran binary link but only in python mode
Furthermore, the error will (sometimes) only appear if other (fortran wrapped)
modules are imported before the one in which the function is called

Any tips are welcome !!!
thanks a lot

Laurent




More information about the f2py-users mailing list