You need to check your system paths. Please check MKL and Compiler User's guide how to install these.
below you may see the quick check how this example is compiled and executed from command line prompt.
I used Intel Fortran Compiler and usual option /Qmkl ( linking with LP64 and threading layer of MKL). MKL 2018. Everething works as expected.
Thank you, this works fine from the command line, but it's not working if I try to run it from within Visual Studio, any idea why this might be? I would think this should simply require specifying the /Qmkl compiler option as I can do from the command line, but it can't find the external functions.