Three years ago I have started modernizing SLATEC project.
The project is hosted on MehdiChinoune/SLATEC (github.com).
I am publishing this just if someone is interested in the project and want to complete what I have started
8 Likes
Welcome to the forum, and thanks for the SLATEC modernization project. The original code base was FORTRAN 77. I see that you have
- converted the original SLATEC to free source form
- added argument intents
- added KINDs to the declarations of reals
- declared many procedures to be pure or elemental
- put procedures in modules
- used allocatable arrays
- used
error stop
- used modern comparison operators such as
==
and>
When you say “complete what I have started”, do you have particular improvements in mind?
Yes
1- Silent all the remaining warnings.
2- Port tests to pFUnit (or another testing framwork).
3- Rewrite tangled (spaghetti) code.
4- Replace assumed-size arrays by assumed-shape arrays
5- Write generic functions so Instead of calling one of two (or more) prefixed functions for single and double precision (sfun
and dfun
). the user calls the generic function fun
.
2 Likes