- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone know of a ScaLAPACK example in C? I need to write a simple program that runs psgesvd on a single machine but utilizing all of the cores. Is this the write approach to run an svd decomposition using multiple cores? I do not believe that sgesvd takes advantage of more than one core (at least, in my example it does not).
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - schmmd
Does anyone know of a ScaLAPACK example in C? I need to write a simple program that runs psgesvd on a single machine but utilizing all of the cores. Is this the write approach to run an svd decomposition using multiple cores? I do not believe that sgesvd takes advantage of more than one core (at least, in my example it does not).
Hi,
you don't need ScaLAPACk to do it (on single machine). Just "simple" MKL LAPACK and linking with libiomp5 lib. See the docs (Chapter 5 of User's Guide). Which platform (IA32/x64) are you on?
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, that's great news that I can just link with that library. I am running on x64. Thanks for the reference to the chapter in the user guide too. I will figure this out.
If anyone does know of a C example for ScaLAPACK I would still be interested, however. I will likely need to expand my SVD to a cluster.
If anyone does know of a C example for ScaLAPACK I would still be interested, however. I will likely need to expand my SVD to a cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no such examples for ScaLapack functionality.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - schmmd
Well, that's great news that I can just link with that library. I am running on x64. Thanks for the reference to the chapter in the user guide too. I will figure this out.
If anyone does know of a C example for ScaLAPACK I would still be interested, however. I will likely need to expand my SVD to a cluster.
If anyone does know of a C example for ScaLAPACK I would still be interested, however. I will likely need to expand my SVD to a cluster.
Here's a trivial Fortran example. You should be able to figure out the equivalent C code easily.

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