CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Cannot compile official OpenFOAM15 (https://www.cfd-online.com/Forums/openfoam-bugs/62361-cannot-compile-official-openfoam15.html)

syam December 3, 2008 16:42

I am trying to compile OpenFOA
 
I am trying to compile OpenFOAM-1.5 (official version) on our clusters (Linux 2.6.9-42.7sp.XCsmp, Optron CPUs, HP-MPI library), with the three installed versions of gcc - 3.4.5, 4.2.1, and 4.3.0. I consistently get the following compilation error (which affects only the parallel part of OpenFOAM; I can run serial tests without problems):

/work/syam//OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C: In copy constructor 'Foam::PtrList<t>::PtrList(const Foam::PtrList<t>&) [with T = Foam::featureEdgeMesh]':
autoHexMesh/autoHexMeshDriver/autoRefineDriver.C:260: instantiated from here
/work/syam//OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C:56: error: invalid conversion from 'Foam::IOobject*' to 'Foam::featureEdgeMesh*'
make: *** [Make/linux64GccDPOpt/autoRefineDriver.o] Error 1

The whole log file can be accessed here: https://devel.sharcnet.ca/~syam/LOG_4.3.0

This software was requested by a few of our users, and your suggestions would be very appreciated.

Sergey Mashchenko
SHARCNET HPC Software Analyst

mattijs December 8, 2008 07:20

This is fixed in the 1.5.x git
 
This is fixed in the 1.5.x git repository (see http://www.opencfd.co.uk/openfoam/download.html).


All times are GMT -4. The time now is 20:45.