Skip to content

example of fortran module to call within python

Notifications You must be signed in to change notification settings

TakGlobus/FPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

FPython

example of fortran module to call within python

even in ifort, dont have to use DLLEXPORT but in main.py, should be large letter and attaching _ after module

e.g. subroutine hello_from_fortran (fortran program)

==> f.HELLO_FROM_FORTRAN_(*kargs)

compile option ifort -fPIC -shared -o libfort.so test.f90

About

example of fortran module to call within python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published