Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Plz... help me.. i don't build fortran code..

Seung-min_J_
Beginner
294 Views

ithank you for read my message.

 

 

 

 

 

I don't build my fortran code.

This code name is "full matrix" and check the spending time 'LU decomposition, G-S, Jacobi'

Of course it included MKL and I installed my computer "Intel® Parallel Studio XE Composer Edition for Fortran OS X*

 

 

I tried build this code several time(frankly, over 100 times), but it generate this message

dyld: Library not loaded: libmkl_intel_lp64.dylib

  Referenced from: /Users/Rocket_man/Library/Mobile Documents/com~apple~CloudDocs/programming/Fortran/교수님 fortran 과제/Distribute/FullMatrix/axb13direct

  Reason: image not found

Trace/BPT trap: 5

 

my computer is OS X, and I was typing command blow.

1. cd  file location

2. ifort axb13direct.f -o axb13direct -L/opt/intel/compilers_and_libraries_2016.1.111/mac/mkl/lib -mkl

 

It is incorrect command line?

i really don't know how build fortran code connected mkl

PLz help me...

 

0 Kudos
1 Reply
TimP
Honored Contributor III
294 Views

https://software.intel.com/en-us/inde-getting-started-compiler-on-osx describes the source command to set up the dynamic library paths for ifort and mkl.  This is needed both for link and to run the application.

Additional options are described by link advisor https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor

0 Kudos
Reply