fortran-json-python:通过JSON连接Fortran和Python

时间:2021-05-14 17:52:12
【文件属性】:
文件名称:fortran-json-python:通过JSON连接Fortran和Python
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-14 17:52:12
python json fortran fortran2008 Fortran 描述 通过JSON连接Fortran和Python的演示。 此代码在描述。 建造 Fortran文件应构建为共享库,以便可以从Python调用它。 还提供了一个配置文件( python_json_interface.fobis ),该文件也可以构建共享库。 使用mode标志指示要构建的内容。 例如: 要使用gfortran构建共享库,请执行以下操作: FoBiS.py build -f python_json_interface.fobis -mode shared-gnu 要使用ifort构建共享库,请执行以下操作: FoBiS.py build -f python_json_interface.fobis -mode shared-intel 完整的模式集为: static-gnu , static-gnu-debug , static-intel , static-intel
【文件预览】:
fortran-json-python-master
----.gitignore(10B)
----python_json_interface.py(6KB)
----src()
--------json-fortran()
--------python_json_interface_module.f90(11KB)
----LICENSE(2KB)
----.gitmodules(113B)
----README.md(1KB)
----python_json_interface.fobis(4KB)

网友评论