CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

One last error in installing openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2010, 04:53
Default One last error in installing openfoam
  #1
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15
vivek070176 is on a distinguished road
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 is offline   Reply With Quote

Old   June 2, 2010, 05:03
Default
  #2
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15
vivek070176 is on a distinguished road
When i choose OpenFOAM files , then it crashes!!!....so what should i choose??
vivek070176 is offline   Reply With Quote

Old   June 2, 2010, 18:33
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Vivek,
Quote:
Originally Posted by vivek070176 View Post
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 View Post
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
__________________
wyldckat is offline   Reply With Quote

Old   June 4, 2010, 06:59
Default
  #4
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15
vivek070176 is on a distinguished road
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 is offline   Reply With Quote

Old   June 4, 2010, 07:00
Default
  #5
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15
vivek070176 is on a distinguished road
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 is offline   Reply With Quote

Old   June 4, 2010, 08:03
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Vivek,
Quote:
Originally Posted by vivek070176 View Post
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
__________________
wyldckat is offline   Reply With Quote

Old   June 4, 2010, 08:06
Default
  #7
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 15
vivek070176 is on a distinguished road
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??
vivek070176 is offline   Reply With Quote

Old   June 4, 2010, 11:02
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by vivek070176 View Post
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
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:08.