Community
cancel
Showing results for 
Search instead for 
Did you mean: 
space-tech1
Beginner
76 Views

Blas and Lapack

hi

When I use BLAS and LAPACK separately everything's fine, but when I try to use both of them
in one solution I get the following error:


Error1error LNK2005: _F95_PRECISION. already defined in lapack.obj
Error2error LNK2005: _MKL95_PRECISION. already defined in lapack.obj

I have imported BLAS.f90 and LAPACK.f90 in the "header files" and at the beginning of the program I have
written the following:
USE mkl95_lapack
USE mkl95_PRECISION
USE mkl95_BLAS

Thank you.




0 Kudos
1 Reply
TimP
Black Belt
76 Views

When you invoke the .mod files by those USE statements, you don't need the .f90 source files from which they were built, except as a reference for your own information.
Reply