首页> 外文期刊>Computing in science & engineering >Automated Fortran–C++ Bindings for Large-Scale Scientific Applications
【24h】

Automated Fortran–C++ Bindings for Large-Scale Scientific Applications

机译:自动化Fortran-C ++用于大型科学应用的绑定

获取原文
获取原文并翻译 | 示例
           

摘要

Although many active scientific codes use modern Fortran, most contemporary scientific software libraries are implemented in C and C++. Providing their numerical, algorithmic, or data management features to Fortran codes requires writing and maintaining substantial amounts of glue code. This paper introduces a tool that automatically generates native Fortran 2003 interfaces to C and C++ libraries. The tool supports C++ features that have no direct Fortran analog, such as templated functions and exceptions. A set of simple examples demonstrates the utility and scope of the tool, and timing measurements with a mock numerical library illustrate the minimal performance impact of the generated wrapper code.
机译:虽然许多活跃的科学代码使用现代的Fortran,但最具现有的科学软件图书馆是在C和C ++中实现的。为Fortran代码提供其数值,算法或数据管理功能需要写入和维护大量的胶水码。本文介绍了一个工具,它会自动生成本机Fortran 2003接口到C和C ++库。该工具支持C ++功能,该功能没有直接的Fortran模拟,例如模板化函数和例外。一组简单的示例演示了工具的实用程序和范围,以及模拟数字库的定时测量说明了生成的包装代码的最小性能影响。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号