Dear all,
I’m lost little bit in various options & general picture.
What I need: I want to use Levin integration method for a rapidly oscillating function. This is for Henkel-Bessel integral for a diffraction problem, Eq. 4 from Aime (2020) (some years ago I already implemented it using Lommel series & numerical integration; now I want it faster).
There exist Levin method for such types of integrals, with a realization here. They provide a makefile, which after some efforts I managed to compile. I need 1D integral which is provided by levin.f90, which relies on provided utils.f90; linalg0.f90; chebyshev.f90; chebpw.f90 (all provided); but then during linking it requires also dgeem (or something from BLAS/LAPACK)
I thought it’s time to try to learn something new for me, trying to check out fpm and stdlib. If I understand correctly, in an ideal case everything missing will be downloaded & complied & path’s automatically. I just need to create a manifest … with which I’m currently struggling.
Is it correct?
Now I have fpm installed, the first example from the manual works. But not further ![]()
Should I install stdlib separately system-wide? How to specify in the manifest that I just need few files to be compiled? (if I’m correct, there are some missing files). I actually need levin.f90 …
name = "levin2d"
version = "0.1.0"
license = "license"
author = "Murdock Aurby"
maintainer = "murdock-aurby@email.com"
copyright = "Copyright 2026"
[library]
source-dir="./"
build-script="make with options?"
Thanks in advance for help & suggestions.