CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OpenFOAM-1.5-dev SVN 1563 on Fedora 12 (32-bit) - Successful

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2010, 14:06
Default OpenFOAM-1.5-dev SVN 1563 on Fedora 12 (32-bit) - Successful
  #1
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello everyone,

First and foremost... A Very Happy New Year to you all :-)!

Just wanted to report, that I just completed compiling OpenFOAM-1.5-dev on my laptop running Fedora 12.... specific details of the build are:

** OpenFOAM version: 1.5-dev SVN Ver. 1563
** Operating System: Fedora 12 (32-bit)
** GCC version: 4.4.2
** ParaView version: 3.7.0 (CVS update: 14.12.2009)
** Parallel library: OpenMPI

In order to compile successfully, I had to make the following changes to the source code, which have been mentioned earlier by users compiling OpenFOAM-1.5-dev on recent Ubuntu and Solaris systems with GCC 4.x.x compilers:

1. At line number 43 in the file: <OpenFOAM src>/OpenFOAM/include/OSspecific.H, the following line was added:

#include <stdint.h>

Code:
\*---------------------------------------------------------------------------*/

#ifndef OSspecific_H
#define OSspecific_H

#include "fileNameList.H"
#include "long.H"

#include <stdint.h>
#include <sys/types.h>
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
2. The file: <OpenFOAM src>/meshTools/triSurface/surfaceFeatures.C was modified at line number 769 to add on a dynamic_cast for "samples":

Code:
    
    // Build tree out of all samples.
    octree<octreeDataPoint> ppTree
    (
        treeBoundBox(dynamic_cast<const UList<point>&>(samples)),      // overall search domain
        octreeDataPoint(samples),   // all information needed to do checks
        1,          // min levels
        20.0,       // maximum ratio of cubes v.s. cells
        100.0       // max. duplicity; n/a since no bounding boxes.
    );
A similar occurance at line 870 of the same file was modified in the same manner.


** NOTE #1: Since I use my own compile of Paraview-3.7.0, I had to copy the plugins generated by PV3FoamReader (libPV3FoamReader.so and libPV3FoamReader_SM.so) into the plugins folder of the ParaView-3.7.0 install which is located within the "bin" folder.

** NOTE #2: I typically use Paraview for postprocessing my OpenFOAM simulations with the plugin created by Takuya Oshima, but I always have both plugins (the one from Takuya and the one included with OpenFOAM) in running condition so that I can test both..... Since Takuya's plugin works with the file extension ".foam" and the one in OpenFOAM with ".OpenFOAM", both plugins co-exist happily without any conflicts.


Have a wonderful year 2010....

Philippose
philippose is offline   Reply With Quote

Old   January 5, 2010, 04:03
Default
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Excellent!! Thank you, Philippose, I will go and try it soon with F12 64 bit! If there's anything special I'll post it of course. And a happy new year to you too!
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   January 7, 2010, 01:44
Default
  #3
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello,

For the sake of closure on this thread, the latest SVN version of OpenFOAM-1.5-dev: SVN 1570.... has all the source code modifications required to allow for compilation on gcc-4.4.x without having to make any more changes.

For those facing an issue with errors of the nature: "*** missing separator......." refer to the following thread:

http://www.cfd-online.com/Forums/ope...c-4-4-2-a.html

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 13:13
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 13:12
OpenFOAM 1.5 installation on OpenSUSE 11.0 bigphil OpenFOAM Installation 16 April 29, 2009 07:28
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 05:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 23:43.