# cublas fortran binding

**URL:** <https://forums.developer.nvidia.com/t/cublas-fortran-binding/131841>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [July 8, 2010, 5:39pm UTC](https://forums.developer.nvidia.com/t/cublas-fortran-binding/131841 "2010-07-08T17:39:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![odyssey](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@odyssey](https://forums.developer.nvidia.com/u/odyssey)\
**Post date:** [July 8, 2010, 5:39pm UTC](https://forums.developer.nvidia.com/t/cublas-fortran-binding/131841/1 "2010-07-08T17:39:04Z")

</div>

Hi,

I’m trying to call cublas library into my cuda fortran code. Would you anyone please tell me how to compile it on windows xp x86?. Actually I want to know a full command line of its compilation (on WINDOWS system).

I’d greatly appreciate for your reply.

Thanks,

odyssey

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [July 12, 2010, 6:53pm UTC](https://forums.developer.nvidia.com/t/cublas-fortran-binding/131841/2 "2010-07-12T18:53:01Z")

</div>

Hi odyssey,

Please see my reply to your previous post: [How to use (or call) cublas library](https://forums.developer.nvidia.com/t/how-to-use-or-call-cublas-library/131834/1)

You just need to use a slightly different name for cublasSgemm (cublasSgemm@52) in order to get the linker to find the correct symbol in the cublas library.

- Mat
