- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OBJS = main.f90
main: ${OBJS}
ifort ${OBJS} ${MKLPATH}/libmkl_blas95_ilp64.a ${MKLPATH}/libmkl_lapack95_ilp64.a -Wl,--start-group ${MKLPATH}/libmkl_intel_ilp64.a ${MKLPATH}/libmkl_core.a ${MKLPATH}/libmkl_sequential.a -Wl,--end-group -openmp -lpthread -lm -mkl=sequential -i8 -I$(MKLHOME)/mkl/include/intel64/ilp64 -I$(MKLHOME)/mkl/include
Above is the makefile which i compile, a DSS solver routine is used, but there is an error, shows that
error #6284: there is no matching specific function for this generic function reference. [DSS_SOLVE_REAL]
but: when i replace dss_solve_real with dss_solve_real_d or dss_solve_real_d_ ,both alternative works fine. no error comes up.
Is there something wrong with my makefile?
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that you are looking in the wrong place -- in the makefile.
The error #6284 is from the compiler, and there is probably a mismatch regarding the arguments that you try to pass to dss_solve_real. When you replace CALL dss_solve_real(...) by a call to dss_solve_real_d, an implicit interface is used, so no compile-time checking is done. The code may, however, crash at run time. Please provide a short example source code that exhibits the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The MKL documentation for DSS_SOLVE_REAL indicates that you should change the declaration of the rhs array to a rank-1 array, i.e., [fortran]rhs( datavec(1)*datavec(4) )[/fortran] instead of [fortran]rhs( datavec(1),datavec(4) )[/fortran].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your help, it works fine

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