|
[Sponsors] |
June 2, 2010, 04:53 |
One last error in installing openfoam
|
#1 |
Member
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15 |
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?? |
|
June 2, 2010, 05:03 |
|
#2 |
Member
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15 |
When i choose OpenFOAM files , then it crashes!!!....so what should i choose??
|
|
June 2, 2010, 18:33 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Vivek,
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:
So, either you can build ParaView with PV3FoamReader, or use any of the other solutions I've told you about. Best regards, Bruno
__________________
|
||
June 4, 2010, 06:59 |
|
#4 |
Member
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15 |
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??? |
|
June 4, 2010, 07:00 |
|
#5 |
Member
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15 |
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??? |
|
June 4, 2010, 08:03 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Vivek,
Quote:
Possibly, this happened because you didn't run decomposePar first. Best regards, Bruno
__________________
|
||
June 4, 2010, 08:06 |
|
#7 |
Member
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15 |
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?? |
|
June 4, 2010, 11:02 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quote:
As for the solver, I believe that aachenBomb is a dieselFoam tutorial case. Have you executed dieselFoam using mpirun or foamJob? Best regards, Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OpenFOAM 1.6 on Ubuntu 10.4 | sda | OpenFOAM Installation | 5 | May 27, 2010 20:19 |
My experiences about Installing OpenFOAM on OPENSUSE103 32bit | coompressor | OpenFOAM Installation | 9 | February 18, 2010 23:00 |
Re : Problem Installing OpenFOAM on Centos -5.3 | mohanphy | OpenFOAM Installation | 1 | February 7, 2010 19:09 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 04:48 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |