Re: [CMake] How to link Intel MKL

2009-11-21 Thread Bill Hoffman
> > I have changed cmake configuration to link shared libraries of Intel > MKL, as following: > > " > find_package(MKL REQUIRED) > include_directories(${MKL_INCLUDE_DIRS}) > link_directories(${MKL_LIBRARIES}) > target_link_libraries( > mkl_intel_lp64 > mkl_sequential > mkl_core > )

Re: [CMake] How to link Intel MKL

2009-11-21 Thread 董理
Bill Hoffman 写道: > 董理 wrote: > >> Hi, all, >> >> My program (Fortran 90) uses the "trust region nonlinear least squares >> problem" (dtrnlsp) subroutines, how can I setup cmake? >> >> There is a module that calls the dtrnlsp subroutines, and one main >> program uses that module. >> >> I have w

Re: [CMake] How to link Intel MKL

2009-11-20 Thread Bill Hoffman
董理 wrote: > Hi, all, > > My program (Fortran 90) uses the "trust region nonlinear least squares > problem" (dtrnlsp) subroutines, how can I setup cmake? > > There is a module that calls the dtrnlsp subroutines, and one main > program uses that module. > > I have wrote the following statement i

[CMake] How to link Intel MKL

2009-11-20 Thread 董理
Hi, all, My program (Fortran 90) uses the "trust region nonlinear least squares problem" (dtrnlsp) subroutines, how can I setup cmake? There is a module that calls the dtrnlsp subroutines, and one main program uses that module. I have wrote the following statement in the CMakeLists.txt with modu