CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   One last error in installing openfoam (http://www.cfd-online.com/Forums/openfoam-installation/76711-one-last-error-installing-openfoam.html)

vivek070176 June 2, 2010 04:53

One last error in installing openfoam
 
1. While compiling paraview with a local version of Qt using


# ./makeParaView -qmake $WM_THIRD_PARTY_DIR/qt-x11-opensource-src-4.3.5/platforms/$WM_OPTIONS/bin/qmake > buildPV.log2>&1

cfd@linux-bw7o:~/OpenFOAM/ThirdParty-1.6> ./makeParaView -qmake $WM_THIRD_PARTY_DIR/qt-x11-opensource-src-4.3.5/platforms/$WM_OPTIONS/bin/qmake > buildPV.log2>&1
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘_tiffReadProc’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:58: warning: cast from pointer to integer of different size
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘_tiffWriteProc’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:64: warning: cast from pointer to integer of different size
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘_tiffSeekProc’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:70: warning: cast from pointer to integer of different size
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘_tiffCloseProc’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:76: warning: cast from pointer to integer of different size
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘_tiffSizeProc’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:88: warning: cast from pointer to integer of different size
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘_tiffMapProc’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:101: warning: cast from pointer to integer of different size
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c: In function ‘vtk_TIFFFdOpen’:
/home/cfd/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Utilities/vtktiff/tif_unix.c:140: warning: cast to pointer from integer of different size
unable to calculate alignment for long double

real 15m19.591s
user 51m35.033s
sys 6m21.592s


WHY IS THIS ERROR "Unable to calculate alignment for long double is coming and how to reslove it??



2. In one case, i ignored this error and tried to simulate the cavity case using

cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
blockMesh
icoFoam
paraFoam

then while opening paraview, it asks me

A reader for /home/cfd/OpenFoam/cfd-1.6/run/tutorials/incompressible/icoFoam/cavity/cavity.OpenFOAM could not be found. Please choose one:
Protein Data Bank Files
PLOT3D Files
Digital Elevation Map Files
Stereo Lithography
Gaussian Cube Files
Raw (binary) files
POP Ocean Files
AVS USD Binary/ASCII Files
SESAME
Comma-seperated values
MFIX Unstructured Grid Files
Fluent Case Files
Open Foam Files
Cosmology files


WHICH OPTION SHOULD I CHOOSE??

vivek070176 June 2, 2010 05:03

When i choose OpenFOAM files , then it crashes!!!....so what should i choose??

wyldckat June 2, 2010 18:33

Greetings Vivek,
Quote:

Originally Posted by vivek070176 (Post 261327)
unable to calculate alignment for long double

Sadly, the last time I had that problem or similar, I had to rebuild gcc 4.3.3. If you really want to rebuild gcc 4.3.3 that comes with OpenFOAM, here are the instructions for it: OpenFoam Installation in Redhat Enterprise linux 5 post #4

I think that for you to save time, it's best that you just get the latest ParaView 3.8.0 from here: http://www.paraview.org/paraview/res.../software.html

Or install the ParaView version available for your openSUSE using YaST, and then use this script: Alternative to paraFoam


Quote:

Originally Posted by vivek070176 (Post 261330)
When i choose OpenFOAM files , then it crashes!!!....so what should i choose??

Sadly, only starting ParaView 3.8.0 does a native OpenFOAM reader exist in ParaView that can read OpenFOAM 1.5 and above. The reader version available in versions prior to 3.8.0 can only open OpenFOAM cases from OpenFOAM 1.2 or something like that :(

So, either you can build ParaView with PV3FoamReader, or use any of the other solutions I've told you about.

Best regards,
Bruno

vivek070176 June 4, 2010 06:59

Respected Bruno

STILL I AM GETTING PROBLEM WITH USING reconstructPar


cfd@linux-bw7o:~/OpenFOAM/cfd-1.6/run/aachenBomb> reconstructPar
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-f802ff2d6c5a
Exec : reconstructPar
Date : Jun 04 2010
Time : 12:58:51
Host : linux-bw7o
PID : 4954
Case : /home/cfd/OpenFOAM/cfd-1.6/run/aachenBomb
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



No times selected

From function reconstructPar
in file reconstructPar.C at line 108.

FOAM exiting


What is the possible solution for it??.....this command reconstructPar is working fine on cavity case in icoFoam but why not here in aachenBomb???

vivek070176 June 4, 2010 07:00

Respected Bruno

STILL I AM GETTING PROBLEM WITH USING reconstructPar


cfd@linux-bw7o:~/OpenFOAM/cfd-1.6/run/aachenBomb> reconstructPar
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-f802ff2d6c5a
Exec : reconstructPar
Date : Jun 04 2010
Time : 12:58:51
Host : linux-bw7o
PID : 4954
Case : /home/cfd/OpenFOAM/cfd-1.6/run/aachenBomb
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



No times selected

From function reconstructPar
in file reconstructPar.C at line 108.

FOAM exiting


What is the possible solution for it??.....this command reconstructPar is working fine on cavity case in icoFoam but why not here in aachenBomb???

wyldckat June 4, 2010 08:03

Greetings Vivek,
Quote:

Originally Posted by vivek070176 (Post 261656)
Create time



No times selected

From function reconstructPar
in file reconstructPar.C at line 108.

FOAM exiting

Is there anything in the folder processor0 inside aachenBomb? If not, that's why "No times selected" was shown.
Possibly, this happened because you didn't run decomposePar first.

Best regards,
Bruno

vivek070176 June 4, 2010 08:06

Respected Bruno

I have run decomposePar before it and inside processor0, there are two folders named "0" and "constant"......


So what is the problem now??

wyldckat June 4, 2010 11:02

Quote:

Originally Posted by vivek070176 (Post 261667)
I have run decomposePar before it and inside processor0, there are two folders named "0" and "constant"......

That means that you haven't run the solver yet? I just tested reconstructPar and it will only reconstruct the folders that are yet to be reconstructed, and both processor0/0 and processor0/constant are folders that decomposePar created, thus there isn't anything left to reconstruct!

As for the solver, I believe that aachenBomb is a dieselFoam tutorial case. Have you executed dieselFoam using mpirun or foamJob?

Best regards,
Bruno


All times are GMT -4. The time now is 02:14.