- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I'm trying to use gels subroutine in mkl to solve a least square question. I installed mkl according to the userguide and I tested the example gels.f90 using
ifort gels.f90 -L$MKLPATH -I$MKLINCLUDE -I$MKLINCLUDE/32 -lmkl_lapack95
-Wl,--start-group $MKLPATH/libmkl_intel.a
$MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group
-liomp5 -lpthread
But I can't build this example in eclipse + photran plugin.
How can I setup the linker option in eclipse?
Could anybody please help me with that?
Thanks~~
ifort gels.f90 -L$MKLPATH -I$MKLINCLUDE -I$MKLINCLUDE/32 -lmkl_lapack95
-Wl,--start-group $MKLPATH/libmkl_intel.a
$MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group
-liomp5 -lpthread
But I can't build this example in eclipse + photran plugin.
How can I setup the linker option in eclipse?
Could anybody please help me with that?
Thanks~~
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - hanxc
Hello, I'm trying to use gels subroutine in mkl to solve a least square question. I installed mkl according to the userguide and I tested the example gels.f90 using
ifort gels.f90 -L$MKLPATH -I$MKLINCLUDE -I$MKLINCLUDE/32 -lmkl_lapack95
-Wl,--start-group $MKLPATH/libmkl_intel.a
$MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group
-liomp5 -lpthread
But I can't build this example in eclipse + photran plugin.
How can I setup the linker option in eclipse?
Could anybody please help me with that?
Thanks~~
ifort gels.f90 -L$MKLPATH -I$MKLINCLUDE -I$MKLINCLUDE/32 -lmkl_lapack95
-Wl,--start-group $MKLPATH/libmkl_intel.a
$MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group
-liomp5 -lpthread
But I can't build this example in eclipse + photran plugin.
How can I setup the linker option in eclipse?
Could anybody please help me with that?
Thanks~~
xhan, what compiler version do you use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - hanxc
Hello, I'm trying to use gels subroutine in mkl to solve a least square question. I installed mkl according to the userguide and I tested the example gels.f90 using
ifort gels.f90 -L$MKLPATH -I$MKLINCLUDE -I$MKLINCLUDE/32 -lmkl_lapack95
-Wl,--start-group $MKLPATH/libmkl_intel.a
$MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group
-liomp5 -lpthread
But I can't build this example in eclipse + photran plugin.
How can I setup the linker option in eclipse?
Could anybody please help me with that?
Thanks~~
ifort gels.f90 -L$MKLPATH -I$MKLINCLUDE -I$MKLINCLUDE/32 -lmkl_lapack95
-Wl,--start-group $MKLPATH/libmkl_intel.a
$MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group
-liomp5 -lpthread
But I can't build this example in eclipse + photran plugin.
How can I setup the linker option in eclipse?
Could anybody please help me with that?
Thanks~~
Hello,
IMHO the simplest way to build the MKL example using Eclipse IDE is using Makefile-based Photran project. For projects with automatically managed makefiles you should use Project>Properties>Fortran Build>Settings dialog page. At this page you should have ability to change Compiler and Linker options.
Thanks,
Art

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