- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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