GithubHelp home page GithubHelp logo

romanwsgit / cppfortraninterop Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 165 KB

This project aims to call Fortran functions and subroutines from C++ and compares them with the functionality available in the C++ ecosystem.

License: MIT License

Makefile 0.26% HTML 41.25% JavaScript 29.45% CSS 22.69% C++ 4.90% C 0.54% Fortran 0.91%

cppfortraninterop's Introduction

CppFortranInterop

CppFortranInterop is a project focused on interoperability between C++ and Fortran. It provides a C++ interface for eigenvalue decomposition using a Fortran routine from the LAPACK library. The project takes advantage of the Eigen library and is configured to work on an M1 Mac using Accelerate.

Prerequisites

  • A modern C++ compiler supporting the C++17 standard
  • A Fortran compiler
  • Eigen library installed and configured correctly
  • LAPACK library, preferably the version included with the Accelerate framework for optimal performance on M1 Macs

Installation

  1. Clone the repository: git clone https://github.com/yourusername/CppFortranInterop.git

  2. Navigate to the cloned directory: cd CppFortranInterop

  3. Review the Makefile to ensure Eigen paths and other related variables are correctly set.

  4. Build the project using the Makefile: make

Usage

This project is meant as a backend to perform efficient eigen decomposition using Fortran routines. You can include the header files in your source file. There is an example usage in the main.cpp file.

Contributing

Contributions are welcomed. Please open an issue first to discuss the changes you wish to make.

Author

  • Roman Wallner-Silberhubere - Initial work

License

LICENCE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.