|
[Sponsors] |
July 27, 2011, 17:17 |
LAPACK in openFOAM
|
#1 |
Member
Ali Shamooni
Join Date: Oct 2010
Posts: 44
Rep Power: 15 |
Hi everyone
does anyone know how to use lapack++ and BLAS libraries in openfoam? |
|
July 28, 2011, 11:29 |
|
#3 | |
Member
Ali Shamooni
Join Date: Oct 2010
Posts: 44
Rep Power: 15 |
Quote:
as I know,LAPACK needs BLAS and both of them are compiled seperately and make their own libraries.and i dont know how to use these libraries. |
||
August 11, 2011, 09:56 |
|
#4 |
Member
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15 |
It is as simple als you have to compile the LaPack++ library on your Workstation and than include the headerfiles like
Code:
#include "lafnames.h" greets Jim |
|
September 5, 2011, 15:55 |
|
#5 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Hi,
Sorry, my question might be stupid, but why do you want to use Lapack? (LAPACK — Linear Algebra PACKage), is it because the funtion you need OpenFOAM currently does not have it, or is it not as efficient as Lapack is? Thanks
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
September 6, 2011, 01:52 |
|
#6 | |
Member
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15 |
Quote:
Greets Jim |
||
September 7, 2011, 06:26 |
|
#7 | |
Member
Ali Shamooni
Join Date: Oct 2010
Posts: 44
Rep Power: 15 |
Quote:
I forgot about Lapack and used "NumericalRecipies in C++" algorithms for my work |
||
September 7, 2011, 07:23 |
|
#9 |
Member
Ali Shamooni
Join Date: Oct 2010
Posts: 44
Rep Power: 15 |
||
September 7, 2011, 10:41 |
|
#10 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Oh, I see.
Have you compared the code, Numerical Receipt good or Lapack++'s good? Or they are same for your case?
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
September 7, 2011, 10:42 |
|
#11 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Im looking for solving the eigenvalue and eigenvector, I am not sure OF has it or not? Anyone in the know?
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
February 10, 2012, 13:40 |
|
#12 |
New Member
Bill Rosemurgy
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 20
Rep Power: 17 |
If anyone is still having trouble using LAPACK functions in OpenFOAM, I have put together a quick example application that demonstrates how to do it. I sure don't understand all of the intricacies, but it works! Send me a message with your e-mail address and I'll be sure to get it off to you.
|
|
March 21, 2022, 22:45 |
|
#13 | |
New Member
SUN
Join Date: Feb 2022
Posts: 4
Rep Power: 4 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |