Modern SLATEC Library

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

  1. converted the original SLATEC to free source form
  2. added argument intents
  3. added KINDs to the declarations of reals
  4. declared many procedures to be pure or elemental
  5. put procedures in modules
  6. used allocatable arrays
  7. used error stop
  8. 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