Using ACML with the Intel Fortran compiler ------------------------------------------ To create an Intel Fortran project that uses ACML, you must tell Visual Studio.NET that the Fortran program should be linked using the CVF calling convention. This can be done under the "Project/Ifort Properties" menu item. Look in the "Fortran/External Procedures" section, then change "Calling Convention" from "default" to "CVF". Also in the Properties sheets, for the linker, set the ACML import library (e.g. c:\Program Files\AMD\acml2.7.0\win32\lib\libacml_dll.lib) as a linker input file by putting it in the linker "Additional Dependencies" section. At run time, you will need the ACML DLL itself (e.g. c:\Program Files\AMD\acml2.7.0\win32\lib\libacml_dll.dll) in your PATH. Command line compilation ------------------------ On a command line compile, suitable flags to give the Intel Fortran compiler are % ifort driver.f /Gm /threads /libs:dll libacml_dll.lib The /Gm flag tells the compiler to use the CVF calling convention (i.e. _stdcall with decorated names translated to upper case). The /threads /libs:dll flags say that you want to link against multithreaded dll versions of libraries (which are what ACML was also compiled to link against).