CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Compilation Issue in OpenFOAM-1.6-ext (SP)

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 9, 2011, 11:09
Post Compilation Issue in OpenFOAM-1.6-ext (SP)
New Member
Anurag Jaroliya
Join Date: Feb 2010
Posts: 1
Rep Power: 0
Janurag is on a distinguished road
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.
Attached Files
File Type: txt Error.txt (2.5 KB, 16 views)
Janurag is offline   Reply With Quote

Old   February 10, 2011, 06:29
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,768
Rep Power: 21
hjasak will become famous soon enough
Thanks for that one. Can we do an experiment please.

Go to:


and go to line 375. It will say 1.0 at one place - please change it to 1 and try to recompile:

pSf[i] =
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.

Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting:
hjasak is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 06: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 12:46
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55

All times are GMT -4. The time now is 08:01.