CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Cumulative patch for OpenFOAM 14 (https://www.cfd-online.com/Forums/openfoam-bugs/62572-cumulative-patch-openfoam-14-a.html)

benru June 15, 2007 07:01

To recompile PVFoamReader I do
 
To recompile PVFoamReader I downloaded & install cmake (I see it in Allwmake in correspond directory), but make process was stopped with :

+ cd PVFoamReader
+ mkdir -p Make/linuxGcc4DPOpt
+ cd Make/linuxGcc4DPOpt
+ cmake ../..
-- Check for working C compiler: OpenFOAM/linux/gcc-4.1.2/bin/gcc
-- Check for working C compiler: OpenFOAM/linux/gcc-4.1.2/bin/gcc -- broken
CMake Error: The C compiler "OpenFOAM/linux/gcc-4.1.2/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
OpenFOAM/OpenFOAM-1.4/wmake/gmake: cannot make, Make directory does not exist

CMake will not be able to correctly generate this project.
-- Configuring done
+ make
make: *** Do not find sources and makefile.
stop.

Could you advise me what to do to build PVFoamReader ?

alberto June 15, 2007 10:16

I have already given a workaro
 
I have already given a workaround in the 4th comment to this tread.

Just skip it and use the binary version provided with OF 1.4.

Then manually recompile the remaining directories (preProcessing, surface, thermoPhysical) by entering into them and using wmake all.

Regards,
A.

ed_teller June 15, 2007 11:14

Is this cumulative patch alrea
 
Is this cumulative patch already installed in the OpenCFD release of OF 1.4? is it Just for the initial release, or does it still apply for the most recently downloaded versions...?

alberto June 15, 2007 11:38

To my knowledge, it's not incl
 
To my knowledge, it's not included in the download version.

I just put the corrected files provided by Henry together to group them in a simple package.

Regards,
A.

nishio June 18, 2007 02:29

I use OF 1.4. Command Engin
 
I use OF 1.4.

Command EngineCompRatio have bugs?

I got this error message.but i did't got error in
OF 1.3.
What files have bugs?

Please teach me.

nishio@linux:~/OpenFOAM/nishio-1.4/run/tutorials/dieselEngineFoam> engineCompRat
io . cyclic_test
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : engineCompRatio . cyclic_test
Date : Nov 13 2007
Time : 15:15:45
Host : linux
PID : 13610
Root : /home/nishio/OpenFOAM/nishio-1.4/run/tutorials/dieselEngineFoam
Case : cyclic_test
Nprocs : 1
Create engine time

Create mesh

Selecting engineMesh layered
deckHeight: 0.16539
piston position: 0.01339
CA = 0
deltaZ = 0.095
clearance: 0.057
Piston speed = 3.8 m/s
CA = 0
deltaZ = 0
#0 Foam::error::printStack
#1 Foam::sigFpe::sigFpeHandler
#2 Uninterpreted: [0xb7f5f420]
#3 Foam::fvMesh::movePoints
#4 Foam::layeredEngineMesh::move
#5 main
#6 __libc_start_main
#7 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/i38 6/elf/start.S:122
Floating point exception

benru June 18, 2007 04:59

2 Alberto In accordance wit
 
2 Alberto

In accordance with your advice I recompiled /src and applications/(preProcessing, thermophysical & surface), all is ok, many big thanks.

regards
Ruben


All times are GMT -4. The time now is 03:12.