- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I can not start using MKL in Xcode (3.2.5). (Fortran Compiler is Intel Fortran Compiler XE 12.0) What I have done is next
1) In Target, Build tab I set User Header Search Path to/Developer/opt/intel/composerxe-2011.0.085/mkl/include
2) Library Search Path set to/Developer/opt/intel/composerxe-2011.0.085/compiler/lib
3) Other Linker Flags to
-mkl
4)DYLD_LIBRARY_PATH=/Developer/opt/intel/composerxe-2011.0.085/mkl/libwhat I got is
dyld: Library not loaded: libiomp5.dylib
Referenced from: /Users/mrusp/Desktop/Phase_shift/build/Debug/Phase_shift
Reason: image not found
I have never linked library for Fortran so know nothing about it. I use simple code and want to learn how to use subroutines using vstan example.
thanks in advance for your help
program main
INTEGER*8 N
real ( kind = 8 ), allocatable, dimension ( : ) :: U
real ( kind = 8 ), allocatable, dimension ( : ) :: W
N=10
allocate (U(N))
allocate (W(N))
do i=1,NW(i)=1
enddo
call vstan( N, W, U )
deallocate ( W )
deallocate ( U )
end
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
libiomp5 is Intel Compiler runtime library, and youalso needs to add the compiler dynamic path ( for example /Developer/opt/intel/composerxe-2011.0.085/lib) into DYLD_LIBRARY_PATH
Thanks,
Chao
libiomp5 is Intel Compiler runtime library, and youalso needs to add the compiler dynamic path ( for example /Developer/opt/intel/composerxe-2011.0.085/lib) into DYLD_LIBRARY_PATH
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Chao
it works and that is awesome
Thanks
Iurii

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page