- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am new with MKL.
I need to useFFT in my calculations. I started with compilingthis example: real_1d_cce_single_ex2.f90
with command
ifort -o MKLTest real_1d_cce_single_ex2.f90 -I/opt/intel/mkl/8.0.2/include/ -L/opt/intel/mkl/8.0.2/lib/32 -lmkl -lguide -lm
and got such an error:
/tmp/ifortvx5XnK.o: In function `MAIN__':
real_1d_cce_single_ex2.f90:(.text+0x49f): undefined reference to `init_real_vector_s_'
real_1d_cce_single_ex2.f90:(.text+0x528): undefined reference to `print_vector_s_'
real_1d_cce_single_ex2.f90:(.text+0x573): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x5b1): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x5e4): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x622): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x6db): undefined reference to `dfti_example_status_print_'
/tmp/ifortvx5XnK.o:real_1d_cce_single_ex2.f90:(.text+0x6eb): more undefined references to `dfti_example_status_print_' follow
/tmp/ifortvx5XnK.o: In function `MAIN__':
real_1d_cce_single_ex2.f90:(.text+0x767): undefined reference to `print_vector_c_'
real_1d_cce_single_ex2.f90:(.text+0x7b6): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x8ce): undefined reference to `print_vector_s_'
real_1d_cce_single_ex2.f90:(.text+0x8e5): undefined reference to `check_result_s_'
real_1d_cce_single_ex2.f90:(.text+0x9d2): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x9e2): undefined reference to `dfti_example_status_print_'
make: *** [MKLTest] Fehler 1
I understand that I need to link additiinallibrary, but I tried almost everyone.
What exactly should I add?
Thanks!
I am new with MKL.
I need to useFFT in my calculations. I started with compilingthis example: real_1d_cce_single_ex2.f90
with command
ifort -o MKLTest real_1d_cce_single_ex2.f90 -I/opt/intel/mkl/8.0.2/include/ -L/opt/intel/mkl/8.0.2/lib/32 -lmkl -lguide -lm
and got such an error:
/tmp/ifortvx5XnK.o: In function `MAIN__':
real_1d_cce_single_ex2.f90:(.text+0x49f): undefined reference to `init_real_vector_s_'
real_1d_cce_single_ex2.f90:(.text+0x528): undefined reference to `print_vector_s_'
real_1d_cce_single_ex2.f90:(.text+0x573): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x5b1): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x5e4): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x622): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x6db): undefined reference to `dfti_example_status_print_'
/tmp/ifortvx5XnK.o:real_1d_cce_single_ex2.f90:(.text+0x6eb): more undefined references to `dfti_example_status_print_' follow
/tmp/ifortvx5XnK.o: In function `MAIN__':
real_1d_cce_single_ex2.f90:(.text+0x767): undefined reference to `print_vector_c_'
real_1d_cce_single_ex2.f90:(.text+0x7b6): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x8ce): undefined reference to `print_vector_s_'
real_1d_cce_single_ex2.f90:(.text+0x8e5): undefined reference to `check_result_s_'
real_1d_cce_single_ex2.f90:(.text+0x9d2): undefined reference to `dfti_example_status_print_'
real_1d_cce_single_ex2.f90:(.text+0x9e2): undefined reference to `dfti_example_status_print_'
make: *** [MKLTest] Fehler 1
I understand that I need to link additiinallibrary, but I tried almost everyone.
What exactly should I add?
Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try to use the provided makefile to run examples.
For instance: >make so32
-Vladimir
Please try to use the provided makefile to run examples.
For instance: >make so32
-Vladimir

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