MULTI THREADING with LAPACK 3.3 & ABOVE on MAC 10.6 and 10.7

Post here if you have a question about LAPACK performance

MULTI THREADING with LAPACK 3.3 & ABOVE on MAC 10.6 and 10.7

Postby shubham111gupta » Tue Feb 07, 2012 5:23 am

Dear all
I am trying to build and run a multi-thread program using openMP
the program calls
zgelss and zgemm from multiple thread



I have compiled the LAPACK 3.4 and refBLAS
and as advised earlier by a fellow on this forum
viewtopic.php?f=12&t=3113

I compiled my program with following command
g++-4.2 main.cpp -o testProduct -L/Users/shubhamgupta/LAPACK/lapack-3.4.0/ -llapack3.4 -lrefblas -L/Users/shubhamgupta/opt/gcc4.2/lib -lgfortran -fopenmp

The results after program are not correct
where as when I compile the program with libraries provided by Apple it works fine on 10.7 but not 10.6
(MAC 10.7 have modified lapack 3.2.1) and (MAC 10.6 have modified lapack 3.1.1)
g++-4.2 main.cpp -o testProduct -framework accelerate -fopenmp

Now can any one explain if LAPACK 3.4 and its corresponding BLAS is thread safe what could be the problem??


thank you
shubham111gupta
 
Posts: 6
Joined: Wed Aug 31, 2011 8:45 am

Return to Performance

Who is online

Users browsing this forum: No registered users and 0 guests

cron