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

Compiling OpenFOAM14_patch on Solaris 10

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 4, 2007, 09:58
Default Hi All I try to port OpenFO
  #1
jfb
New Member
 
Josef F. Buergler
Join Date: Mar 2009
Posts: 16
Rep Power: 17
jfb is on a distinguished road
Hi All

I try to port OpenFOAM-1.4_patch (checked out via svn from sourceforge) onto a Solaris-10 System.
Currently I'm using gcc-4.2.0 and binutils-2.17 (both installed in $HOME/OpenFOAM/solaris/).

I had some issues with the wmake script, which relys actually on bash, which is different from the Solaris-Shell
(/bin/sh), which unfortunately does not know about the "-e" option (file exists).
So I would suggest to use "#!/bin/bash" instead of "#!/bin/sh" as the first line in "wmake".
Also, "wmake" relys on gnu-find, which knows about the option "-maxdepth"!

There is another issues with flex++: In the files
- ./src/thermophysicalModels/combustion/Make/options
- ./src/thermophysicalModels/combustion/Make/solarisGcc4DPOpt/options
I had to add "-I/opt/csw/flex-2.5.33/include" to EXE_INC in order to advice the compiler to find "FlexLexer.h".

Currently I'm stuck with the following problem:

/home/zabuergl/OpenFOAM/OpenFOAM-1.4/wmake/wmakeLnInclude: linking include files to /CFDData/OpenFOAM/OpenFOAM-1.4/src/LESmodels/incompressible/lnInclude

Making dependency list for source file Smagorinsky2/Smagorinsky2.C
cmd=make --no-print-directory -j 4 -f /home/zabuergl/OpenFOAM/OpenFOAM-1.4/wmake/Makefile MAKE_DIR=Make INCLUDE_DEPS=Make/solarisGcc4DPOpt/includeDeps libso
SOURCE=Smagorinsky2/Smagorinsky2.C ; g++ -Dsolaris -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -O3 -fno-schedule-insns -DNoRepository -ftemplate-depth-30 -I/home/zabuergl/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -I/home/zabuergl/OpenFOAM/OpenFOAM-1.4/src/meshTools/lnInclude -I/home/zabuergl/OpenFOAM/OpenFOAM-1.4/src/LESmodels/LESdeltas/lnInclude -I/home/zabuergl/OpenFOAM/OpenFOAM-1.4/src/LESmodels/LESfilters/lnInclude -I/home/zabuergl/OpenFOAM/OpenFOAM-1.4/src/transportModels -IlnInclude -I. -I/home/zabuergl/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/solarisGcc4DPOpt/Smagorinsky2.o
Smagorinsky2/Smagorinsky2.C: In member function 'virtual Foam::tmp<foam::fvmatrix<foam::vector<double> > > Foam::LESmodels::Smagorinsky2::divB(Foam::volVecto rField&) const':
Smagorinsky2/Smagorinsky2.C:86: error: no matching function for call to 'laplacian(Foam::volSymmTensorField&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh>&)'
make: *** [Make/solarisGcc4DPOpt/Smagorinsky2.o] Error 1

I would greatly appreciate any help on this problem!

Thanks a lot in advance :-)
jfb is offline   Reply With Quote

 


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 Solaris mamaly60 OpenFOAM Installation 13 May 10, 2010 21:16
CFX 4.4 on Solaris 9 Prash CFX 0 February 21, 2005 10:41
64-bit Solaris Steve Siemens 4 April 30, 2004 04:18
64-bit Solaris Steve FLUENT 0 April 28, 2004 04:18
CFX & CAD2mesh on Solaris 64-bit Danie CFX 1 January 22, 2004 16:48


All times are GMT -4. The time now is 06:22.