|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Sergey Mashchenko
Join Date: Mar 2009
Location: Canada
Posts: 1
Rep Power: 0 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 ![]() |
This is fixed in the 1.5.x git repository (see http://www.opencfd.co.uk/openfoam/download.html).
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Patch Compile OpenFOAM15 with Intel C Compiler x86 | jupp | OpenFOAM Installation | 2 | November 28, 2008 02:34 |
Official cvssvn repository | deepblue17 | OpenFOAM Running, Solving & CFD | 1 | June 18, 2007 03:22 |