# pyFortran **Repository Path**: csutjf/pyFortran ## Basic Information - **Project Name**: pyFortran - **Description**: Test library for trying to call Fortran from python - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-14 - **Last Updated**: 2022-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README =================================== Python Wrappers for Fortran Library =================================== The ``fortran`` directory contains modules with a variety of different Fortran interfaces. Build ``libfort.so`` in that directory with :: $ cd fortran $ make The ``python`` directory contains a python script that calls various Fortran subroutines. :: $ cd python $ ./test_library.py --------------- Curently Tested --------------- * Subroutine with no arguments * Subroutine with integer ``intent(in)`` * Subroutine with real ``intent(in)`` * Subroutine with integer array ``intent(in)`` (fixed dimension) * Subroutine with real array ``intent(in)`` (fixed dimension) ------------------- Things To Also Test ------------------- * Various ``intent(out)`` types * Allocatable arrays (I suspect this will not work) * Derived-type arguments * Arrays with ``dimension(:)`` attribute * Maybe wrap this all in a [python] class?