You can get Fortran source code in the .\examples\datafittingfsubdirectory of the Intel® oneAPI Math Kernel Library (oneMKL) installation directory.