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

Building an MKL custom library in Ubuntu gives 'No rule to build target libintel64'

RSR1
Novice
316 Views

I am trying to build a S O containing fft functions.  I have previously done the equivalent in Windows but my Linux skill is very limited.  I have the function list in user_example_list. I enter  'make libintel64'  and leave the rest to default .

I get "make: *** No rule to make target libintel64 . stop

I imagine there is something missing in the PATH (I know nothing of the system or crt libraries.) also I am unsure of the necessary LIb.

Can anyone give me an example of the necessary settings?

 

Any help would be very gratefully received.

 

Stuart ray

 

Labels (1)
0 Kudos
1 Solution
Aleksandra_K
Employee
223 Views

Dear Stuart,

 

The error message "make: *** No rule to make target 'libintel64'.  Stop." indicates that the build rules were not found.  These rules are stored in makefile which is located at ${MKLROOT}/share/mkl/tools/builder/makefile.

 

You can copy the makefile to the same directory where you have the user_example_list. Being in that directory, run "make libintel64 name=my_library_name export=user_example_list".

 

Regards,

Aleksandra

View solution in original post

0 Kudos
2 Replies
Aleksandra_K
Employee
224 Views

Dear Stuart,

 

The error message "make: *** No rule to make target 'libintel64'.  Stop." indicates that the build rules were not found.  These rules are stored in makefile which is located at ${MKLROOT}/share/mkl/tools/builder/makefile.

 

You can copy the makefile to the same directory where you have the user_example_list. Being in that directory, run "make libintel64 name=my_library_name export=user_example_list".

 

Regards,

Aleksandra

0 Kudos
RSR1
Novice
186 Views

Dear Aleksandra,

Many thanks for your support.  I now have the custom so that I need.

Regards,

Stuart

0 Kudos
Reply