|
[Sponsors] |
February 9, 2011, 11:09 |
Compilation Issue in OpenFOAM-1.6-ext (SP)
|
#1 |
New Member
Anurag Jaroliya
Join Date: Feb 2010
Posts: 1
Rep Power: 0 |
Hello All,
I am trying to compile OpenFOAM-1.6-ext version on 64 bit machine. It got compiled nicely with DP (double precision) but gave errors with SP (single precision). I am attaching the error file having first few lines of error that I got while compiling it with SP. I hope that somebody would be able to rectify my mistake that I may be committing while compiling for SP. Thank you very much for your help. |
|
February 10, 2011, 06:29 |
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Thanks for that one. Can we do an experiment please.
Go to: OpenFOAM-1.6-ext/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationScheme.C and go to line 375. It will say 1.0 at one place - please change it to 1 and try to recompile: pSf[i] = transform ( Te.T(), pLambda[i]*transform(TP, pOwnVf[i]) + (1 - pLambda[i])*transform(TN, pNgbVf[i]) ); If that does not work, it should say "scalar(1)" Please try and let me know which one's better. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compilation error for openfoam - 1.6 | misakagan | OpenFOAM | 19 | February 21, 2012 11: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 07:25 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 16:39 |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 13:46 |
OpenFOAM Version 1.6 Released | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 27, 2009 18:55 |