Coder Social home page Coder Social logo

Comments (9)

scivision avatar scivision commented on May 22, 2024

2b: oh yes, that is so much better than needlessly generating source code that's just copying.

Yes I long wanted FPM to work at least with core features, no need to build C/C++ example etc. It looks like FPM could be ready to work with these adjustments

from h5fortran.

scivision avatar scivision commented on May 22, 2024

I made these changes. Now FPM doesn't find HDF5, there must be some parameter or environment variable for external libraries in arbitrary filesystem locations?

Ah, I see it needs to be managed via compiler environment variables: https://fpm.fortran-lang.org/en/spec/manifest.html#use-system-installed-modules

from h5fortran.

scivision avatar scivision commented on May 22, 2024

Yes this works, fpm 0.5.0 creates libh5fortran.a and h5fortran.mod

from h5fortran.

scivision avatar scivision commented on May 22, 2024

@milancurcic please let me know if anything else needed, and I'll make a Github release/tag

from h5fortran.

scivision avatar scivision commented on May 22, 2024

I think I have a few other package (especially nc4fortran which is highly similar to h5fortran, but for NetCDF4) that can use FPM now. At least the ones that don't use C/C++.
E.g. fortran-filesystem is a killer app for me but it entirely relies on C++ source code mixed with .f90 internal to the library.

from h5fortran.

scivision avatar scivision commented on May 22, 2024

nc4fortran and rpn-calc now also work with FPM

maptran3d already worked with FPM

from h5fortran.

milancurcic avatar milancurcic commented on May 22, 2024

Thanks @scivision for addressing it so quickly. I'll try it tomorrow and let you know.

from h5fortran.

milancurcic avatar milancurcic commented on May 22, 2024

It works on my end, please go ahead with the release.

from h5fortran.

scivision avatar scivision commented on May 22, 2024

@milancurcic h5fortran-mpi now also has FPM build

from h5fortran.

Related Issues (20)

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.