I have a problem with Intel MKL! I never worked with MKL and am
trying to run a fortran program .for in command prompt using Intel MKL,
how do I do that! I have installed my MKL 10.3 in C:\\Program Files\\Intel\\ComposerXE-2011\\mkl... and
g77 fortran compiler in c:/f. (g77 has all it's programs in folder York, and from tere we compile them in cmd) Program I need to run is ddot_1.for - Link: http://lavica.fesb.hr/VPR/vektorske_operacije/ I used ddot.for and ddot_1.for to run them in g77 and it worked fine (cmd: g77 ddot_1.for ddot.for), but how do I, in command prompt, link ddot_1.for with MKL to run it. What command do I tipe in cmd?
It should start like g77 ddot_1.for... and then I must somehow enter a library path... My friend did this in linux but he dosen't know how to do it in XP!
My computer: - Intel Pentium 4 CPU 3.00GHz - Microsoft Windows XP Professional 5.1 - 80GB, 512RAM ...
Under Windows, g77 is probably set up to run in a Cygwin or Mingw environment. If the former, it is best to run you commands inside a bash shell, in which case the Linux/Unix style commands work without change. If you are using a Windows command window, you have to specify the paths using the WIndows/MSDOS style path strings.
MKL libraries are specific to a target compiler. On Windows, the Fortran compiler most commonly used with MKL is the Intel Fortran compiler. To make another Fortran compiler, such as g77, work with MKL will require substantial work. If this preparation has not been done and the MKL that you have has not been prepared to work with g77, there will be major impediments. If you are running the ddot example for a course assignment, consult your instructor regarding MKL/g77 compatibility issues.