The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Are ScaLAPACK anc BLAS optimized for OMP?

Open discussion regarding features, bugs, issues, vendors, etc.

Are ScaLAPACK anc BLAS optimized for OMP?

Postby spiga.filippo » Fri Apr 04, 2008 2:46 am

Hi,
today I want to test cluster's performances using HPCC benchmark suite. With HPCC I can use ScaLAPACK and BLAS, linked to ACML libraries.

My question is: are ScaLAPACK and BLAS optimized for OpenMP?

Thanks a lot
spiga.filippo
 
Posts: 1
Joined: Thu Apr 03, 2008 3:02 am

Postby Danesh_D » Thu Apr 10, 2008 11:05 am

Spiga,

OpemMP is an API for shared memory programming while ScaLAPACK is designed to work on distributed systems. You can use OpenMP whenever you want in your code along with ScaLAPACK functions. If you take a look at ScaLAPACK functions you will see that they are based on message passing protocols which use BLACS routines for their communications while OpenMP is based on multi-thread paradigm. In fact if you assume that your code uses n nodes where each node has two processors, Scalapack functions can be called to handle your calculations over the whole grid and OpenMP can be used to handle parallel implementation of your code on each node by running parts of your code e.g. loops within several threads in parallel.

Regards,

Danesh
Danesh_D
 
Posts: 31
Joined: Mon Jun 04, 2007 10:03 pm

Postby PHinker » Fri Apr 18, 2008 11:21 am

The HPCC benchmark already handles the details of cluster distribution (normally handled by ScaLAPACK/BLACS). You can link the HPCC benchmark to a vendor supplied, optimized version of LAPACK/BLAS (e.g. ACML, MKL, GotoBLAS, Sunperf) to get higher performance for a particular processor. All the vendor supplied implementations can run parallel on-node using environment variables. OMP_NUM_THREADS is typically the environment variable used to contol the number of threads spun up on a particular node.
PHinker
 
Posts: 3
Joined: Fri Apr 18, 2008 10:49 am
Location: Broomfield, Colorado


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 6 guests