jacobwilliams / nlesolver-fortran Goto Github PK
View Code? Open in Web Editor NEWNonlinear Equation Solver with Modern Fortran
License: BSD 3-Clause "New" or "Revised" License
Nonlinear Equation Solver with Modern Fortran
License: BSD 3-Clause "New" or "Revised" License
Use https://github.com/jacobwilliams/fmin as a dependency in FPM.
Hey, so just as the github page says, I ran the command :
fpm build --profile release
Yet the compilation goes well until the part
Depuis https://github.com/jacobwilliams/LSMR
After that I get the error :
cmd_build:model error:Key fortran is not allowed in package file
STOP 1
I am using Ubuntu 22.04 and gfortran 11.4.
Add a feature so that the user can supply a custom linear solver.
Another sparse option: https://web.stanford.edu/group/SOL/software/lsmr/
This line
fjac = prev_fjac + &
matmul((delf-matmul(prev_fjac,delx)),&
transpose(delx))/delxmag2
will segfault on intel for a large problem (e.g., n=1406, m=1200
).
What can we do about it?
See reference: https://jatm.com.br/jatm/article/view/373/pdf_38
It seem broken when using OpenMP on an Apple Silicon Mac:
fpm run halo_solver --profile release --flag "-O2 -fopenmp" -- examples/example.json
results in:
----------------------
Solving...
----------------------
ITER NORM(X) NORM(F)
1 8.4871544844105244 0.0000000000000000
----------------------
Solution...
----------------------
Hi,
Thanks for making your codes available. I'm trying to use them to solve a collocation problem. I wonder whether it is possible to avoid providing the jacobian of the function (ie letting your code computing it numerically). From the source code it looks like grad is mandatory. Is this the case?
Thanks and best,
Gianni
Can we make a sparse version of this, perhaps using the LSQR library?
Hello,
first of all, thank you for the library.
I was wondering if it is possible to compile the library with CMake because i need to use the library for a personal project that has the dependencies already created with CMake.
Best wishes,
Nicola
I suggest adding the topics nonlinear-equations
, newton-raphson
.
Look into sparse Broyden options.
See reference: https://www.ams.org/journals/mcom/1970-24-109/S0025-5718-1970-0258276-9/S0025-5718-1970-0258276-9.pdf
LSRN looks very interesting. A parallel iterative least squares solver for strongly over- and under-determined systems. Would have to translate it into Fortran.
Reference: https://web.stanford.edu/group/SOL/software/lsrn/
The LAPACK routines are only double precision, so this library isn't going to work when compiling with single or quad precision.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.