Git Product home page Git Product logo

Comments (4)

zoziha avatar zoziha commented on September 18, 2024

I am very sorry, this repository is just a toy project, it does not have a good data structure, it can only generate right results under gfortran, and uses features not standardized by the Fortran standard.

As for fazang, unfortunately it seems that the author stopped developing it about a year ago and introduced Sundials, out of curiosity I moved fazang and removed the ODE support and now it is compilable.

It's worth noting that Fortran lacks enough new open source developers and fazang is in early alpha, so if you need to use fazang it may mean you need extra work for it.

from auto-diff.

fedebenelli avatar fedebenelli commented on September 18, 2024

Thank you for your response and the fixed fazang fork!!
I'm new into using meson, I've tried compiling with:

mkdir build
cd build; meson setup; meson compile

Which gives me both a libfazang.so and a libfazang.a

I've tried compiling a simple main.f90 just copying the lines on the readme file. And compiling with either

gfortran -o main main.f90 -L. -I. -lfazang
gfortran -o main main.f90 libfazang.a -L. -I.

In either case I get

main.f90:2:7:

    2 |   use fazang ! load Fazang library
      |       1
Fatal Error: Cannot open module file ‘fazang.mod’ for reading at (1): No such file or directory
compilation terminated.

Sorry this isn't your library, but just in case you could give a little insight in what I'm doing wrong.

Thanks!

from auto-diff.

zoziha avatar zoziha commented on September 18, 2024

It looks like you didn't move the *.mod files, which are Fortran binary header files used to access interfaces to the link library at compile time.

from auto-diff.

fedebenelli avatar fedebenelli commented on September 18, 2024

Thanks! That was it, thought that the *.mod files were also included in the library

from auto-diff.

Related Issues (2)

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.