[f2py] Segmentation fault for format write
Shang-Jun Ye <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I try to integrate a Fortran output subroutine by Python, the f2py runs successfully, however, when I run the script, I have got a Segmentation fault without any more infomation. does f2py support format write? here is my Fortran subroutine : ! output.f95 subroutine output implicit none write(*,'(1x,a)') 'write something' !write(*,*)'write something' !works well end subroutine output the corresponding python script is import output output.output() ! >>>Segmentation fault