Silverfrost Forums

Welcome to our forums

Porting SLATEC Library -- Undocumented routines in SALFLIBC

20 Mar 2023 10:50 #30061

mecej4,

I produced this using RFFTF1.

https://www.dropbox.com/s/zlc7dyrtbd86ldt/fft.png?dl=0

Basically extracting the harmonic content of a signal which is hidden within random noise.

Not yet completed, as the applied scaling factors associated with the FFT output are by inspection rather than calculated values. The description of the output from RFFTF1 is difficult to understand upon first reading.

Also, I discovered that the Silverfrost library routine random@ is not PURE and cannot be used in a FORALL construct.

21 Mar 2023 3:42 #30064

Yes, examples of use of library is the key for its popularity. Such examples of course are hard to produce but they quickly show usability of the method. Without nice examples, specifically in some presentable visual forms like plots and tables any library will be just slowly forgotten. FFT is specifically good at showing spectra, harmonics etc

21 Mar 2023 5:14 #30065

New versions of the SLATEC DLLs may be downloaded from

https://drive.google.com/file/d/10spK3G9RHFcNevrJgDtbBONqyZshJSKs/view?usp=sharing

Please read README.txt before using the DLLs.

With the new DLLs, TEST04 of SLATEC, which failed with FTN95 /64 earlier, now works correctly.

Thanks to Kenneth Smith for contributing more examples of programs that use SLATEC.

22 Mar 2023 8:31 #30071

Well done.

Proof that the statement by Ellis in his text “Fortran 77 Programming” published 33 years ago, “Programs written in Fortran 77 will have life well into the 21st century”, was not in error.

22 Mar 2023 11:42 #30072

That would be the 2nd edition. I wonder what he said in the 1st?

27 Mar 2023 9:43 #30113

mecej4: Do you have any objection to us placing your DLLs in a gitlab repository? That way we can package it up in a way similar to the BLAS one (https://gitlab.com/silverfrost/blas).

27 Mar 2023 11:08 #30114

Robert, that would be great. I was not aware that you had a Gitlab page with the BLAS library.

You could probably add the example drivers (very few at this time -- just 11) to a 'tests' folder, and create a README.md with links to third party documentation pages. Here are a few.

http://www.lahey.com/docs/lgf14help/LFUGSLA.htm

https://gams.nist.gov/cgi-bin/serve.cgi/Package/SLATEC

https://netlib.sandia.gov/slatec/

28 Mar 2023 8:08 #30115

Robert, A link from the main Silverfrost web page (under “Fortran Links”) to the Silverfrost Gitlab page would be useful.

28 Mar 2023 9:31 #30116

I have done those

28 Mar 2023 10:20 #30118

Quoted from Robert I have done those

A couple of typos:

\'Saltec\' ---->>> \'Slatec\'
28 Mar 2023 10:36 #30119

Hopefully I caught them

1 Apr 2023 1:24 #30139

Here is a link to the Silverfrost Gitlab site, from where one may download the Slatec DLLs and examples:

 https://gitlab.com/silverfrost/slatec
Please login to reply.