fpm VS prima

Compare fpm vs prima and see what are their differences.

prima

PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell. (by libprima)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
fpm prima
12 13
812 275
1.4% 4.0%
8.8 9.9
6 days ago 4 days ago
Fortran Fortran
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

fpm

Posts with mentions or reviews of fpm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-24.
  • Fortran Package Manager (FPM): Package Manager and Build System for Fortran
    1 project | news.ycombinator.com | 15 Sep 2023
  • Fortran Package Manager
    1 project | news.ycombinator.com | 29 Aug 2023
    1 project | /r/patient_hackernews | 29 Apr 2021
  • How do I use fortran github package.
    4 projects | /r/fortran | 24 May 2023
    Make sure you have the latest fpm binary installed somewhere so that your $PATH can see it: curl -o ~/.local/bin/fpm -L https://github.com/fortran-lang/fpm/releases/download/v0.8.2/fpm-0.8.2-linux-x86_64 && chmod 0755 ~/.local/bin/fpm
  • SciPy: Interested in adopting PRIMA, but little appetite for more Fortran code
    8 projects | news.ycombinator.com | 18 May 2023
    Hopefully, the SciPy community can stay open-minded about modern Fortran libraries.

    Modern Fortran is quite different from Fortran 77, while being as powerful, if not more.

    In addition, there has been a significant community effort on improving and modernising the legacy packages, the ecosystem, and the language itself.

    With projects like LFortran (https://lfortran.org/), fpm (https://github.com/fortran-lang/fpm), and stdlib (https://github.com/fortran-lang/stdlib), I believe that Fortran will enjoy prosperity again.

  • The Skills Gap for Fortran Looms Large in HPC
    1 project | news.ycombinator.com | 3 May 2023
    Anyway, first release of Fortran Package Manager was in November 2020: https://github.com/fortran-lang/fpm/releases/tag/v0.1.0 - more recently than I expected.
  • [RANT] I really, really wish working with compiled languages is as easy as working with Python.
    7 projects | /r/learnprogramming | 26 Apr 2022
    There is actually a Fortran Package Manager that will hopefully make things easier in the future. It's quite new, so it might not be entirely mature yet.
  • Toward Modern Fortran Tooling and a Thriving Developer Community
    2 projects | news.ycombinator.com | 16 Sep 2021
    Author here, so I'm biased toward Fortran, though I've been enjoying learning Rust as well. I think there are a few reasons.

    First, Rust's multidimensional arrays are either limited and/or difficult to use. Fast, flexible, and ergonomic multidimensional arrays and arithmetic are essential for HPC. They are possible with Rust, but my two favorite Rust books not mentioning them suggests to me that they're not the focus of the language. This may or may not change in the future.

    Second, Rust may be too complex to learn for scientists who aren't paid to write software but to do research. Fortran is opposite--multidimensional whole-array arithmetic looks like you would write it as math on a whiteboard. While scientists can sure learn to program Rust effectively, I think most scientists don't think like Rust, but they do think like Fortran. For somebody not familiar with Fortran but familiar with Python, I'd say Fortran very much feels like NumPy.

    Third, such ecosystem would be built in Rust from scratch. In Fortran, most of the value is already there, but needs to be made more accessible with better and more modern tooling. For example, Fortran's fpm (https://github.com/fortran-lang/fpm) is largely modeled after Rust's Cargo because we recognize the importance of good user experience when it comes to building and packaging software. With the recent Fortran-lang efforts, we study many programming language ecosystems and communities (e.g. Python, Julia, Rust, etc.) to find what could work best for modern Fortran tooling.

  • Fortran Web Framework
    2 projects | news.ycombinator.com | 13 Sep 2021
    I recently started learning Fortran for a lark. It reminds me a lot of R, in some respects. It's clearly a very, very good language for doing the parts of one's job that are very math-centric. But it's equally underwhelming as a general purpose programming language.

    Largely, I think, due to gaps in the library ecosystem. But there are other challenges. You can see from the install instructions on the linked page, for example, that Fortran still lacks a package manager.

    What's interesting, though, is that that's changing. There are currently serious efforts to give it a "standard" library (https://github.com/fortran-lang/stdlib) and package manager (https://github.com/fortran-lang/fpm).

    And I've been watching the new LFortran compiler (https://lfortran.org) with extreme interest.

  • Assembly of course!
    1 project | /r/ProgrammerHumor | 30 Apr 2021
    FPM has entered the chat https://github.com/fortran-lang/fpm

prima

Posts with mentions or reviews of prima. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • Prima has got a Python interface
    3 projects | news.ycombinator.com | 3 May 2024
    The developer of PRIMA here.

    If you use method "cobyla" from scipy.optimize.minimize, then PRIMA already performs far better (in terms of the number of function evaluations). See the comparison at https://github.com/libprima/prima#improvements .

    The bugs are indeed only a secondary reason: they can only be triggered under special situations. They may not affect your usage at all (when it does affect you, the consequence is catastrophophic).

  • Nagfor supports half-precision floating-point numbers
    1 project | news.ycombinator.com | 6 Mar 2024
    1. nagfor Release 7.1(Hanzomon) Build 7149 released on March 5, 2024, fixed all the bugs spotted, but introduced an ICE when compiling PRIMA ( http://www.libprima.net ). The ICE has nothing to do with half-precision real, because it occurs when PRIMA is configured to use single or double precision. It can be reproduced by

    ```

    git clone https://github.com/libprima/prima.git && cd prima && git checkout ec42cb0 && cd fortran/examples/lincoa && make ntest

    ```

    2. nagfor 7.2 released on 6 March, 2024 included neither the ICE nor the fixes for the bugs.

  • PRIMA: Solving general nonlinear optimization problems without derivatives
    1 project | news.ycombinator.com | 28 Feb 2024
  • What are you rewriting in rust?
    36 projects | /r/rust | 10 Jul 2023
    My goal is to rewrite this library for derivative-free optimization: https://github.com/libprima/prima
  • SciPy: Interested in adopting PRIMA, but little appetite for more Fortran code
    8 projects | news.ycombinator.com | 18 May 2023
    A native port is indeed planned. However, since we are talking about a project of about 10K lines of code, such a port will not be delivered very soon.

    In fact, native implementations of PRIMA in Python, MATLAB, C++, Julia, and R will all be done in the future. See https://github.com/libprima/prima#other-languages . But it takes time. PRIMA has been a one-man project since it started three yearss ago. Community help is greatly needed.

    Thanks.

  • Optimization Without Using Derivatives: the PRIMA Package, its Fortran Implementation, and Its Inclusion in SciPy - Announcements
    1 project | /r/programming | 17 May 2023
    GitHub repo of the project: https://github.com/libprima/prima
  • Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy
    8 projects | news.ycombinator.com | 16 May 2023
    It sounds like this was a difficult task. The motivation to fulfill Prof. Powell's request and help the community of derivative-free optimization users must have been strong. Congratulations on your achievement!

    From the GitHub README:

    > In the past years, while working on PRIMA, I have spotted a dozen of bugs in reputable Fortran compilers and two bugs in MATLAB. Each of them represents days of bitter debugging, which finally led to the conclusion that it was not a problem in my code but a flaw in the Fortran compilers or in MATLAB. From a very unusual angle, this reflects how intensive the coding has been.

    > The bitterness behind this "fun" fact is exactly why I work on PRIMA: I hope that all the frustrations that I have experienced will not happen to any user of Powell's methods anymore. I hope I am the last one in the world to decode a maze of 244 GOTOs in 7939 lines of Fortran 77 code — I have been doing this for three years and I do not want anyone else to do it again.

    https://github.com/libprima/prima#a-fun-fact

  • Optimization Without Using Derivatives
    2 projects | news.ycombinator.com | 21 Apr 2023

What are some alternatives?

When comparing fpm and prima you can also consider the following projects:

stdlib - Fortran Standard Library

solid-docs - Cumulative documentation for SolidJS and related packages.

json-fortran - A Modern Fortran JSON API

OpenCoarrays - A parallel application binary interface for Fortran 2018 compilers.

pybobyqa - Python-based Derivative-Free Optimization with Bound Constraints

NASTRAN-95

Optimization-Codes-by-ChatGPT - numerical optimization subroutines in Fortran generated by ChatGPT-4

neural-fortran - A parallel framework for deep learning

inox2d - Native Rust reimplementation of Inochi2D

pyplot-fortran - For generating plots from Fortran using Python's matplotlib.pyplot 📈

OfficerBreaker - OOXML password remover