CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

ParaFoam Error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 17, 2007, 16:08
Default Hi, please look at the error.
  #1
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Hi, please look at the error.

OS OpenSUSE 10.2


openfoam@linux:~/OpenFOAM/OpenFOAM-1.4.1/tutorials/icoFoam> paraFoam . cavity
ErrorMessage
# Error or warning: There was a VTK Error in file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/GUI/Client/vtkPVWindow.cxx (2366)
vtkPVWindow (0x825b238): Cannot read file information when no reader is specified. This probably means that the reader for the file with name: /home/openfoam/OpenFOAM/OpenFOAM-1.4.1/tutorials/icoFoam/cavity/cavity.foam cannot be found
ErrorMessage end
ErrorMessage
# Error or warning: There was a VTK Error in file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/GUI/Widgets/vtkKWApplication.cx x (1335)
vtkPVApplication (0x80d3690):
Script:
paraFoam.pvs
Returned Error on line 11:
invalid command name ""
ErrorMessage end
openfoam@linux:~/OpenFOAM/OpenFOAM-1.4.1/tutorials/icoFoam>

I have found that many people having this kind of problem with previous versions. but none of the hints are working here.


does any one have faced this problem? pls let me know.
navaladi is offline   Reply With Quote

Old   September 17, 2007, 17:05
Default Hello, Your paraview OpenFo
  #2
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hello,

Your paraview OpenFoam reader is missing somehow.

Verify your installation, or recompile the reader.

Check out this thread.

http://www.cfd-online.com/OpenFOAM_D...tml?1189997201

And this link:
http://openfoamwiki.net/index.php/Howto_compile_OpenFOAM#Compiling_and_installin g_ParaView

Martin
mbeaudoin is offline   Reply With Quote

Old   September 18, 2007, 10:53
Default Hello martin, Thanks for yo
  #3
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Hello martin,

Thanks for your suggestion.

By the way, i have not compiled OpenFOAM 1.4.1 but i'm using pre compiled binary version provided by opencfd. and i'm using paraview & gcc versions they have compiled & suggested in the website.

My FoamX is working well. the problem comes when i execute paraFoam. and i can find paraFoam.pvs file in the directory.


(((Basically, the problem you are seeing comes from the fact that your paraview Foam reader was not compiled correctly, so your file paraFoam.pvs is never generated, so your paraFoam script cannot execute properly.)))

that was your comment in the older post.

so the PVFoamReader is not compiled correctly in the 1.4.1 release.?

Thanks again.
navaladi is offline   Reply With Quote

Old   September 18, 2007, 16:16
Default Hello Navaldi, Nope, if you
  #4
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Hello Navaldi,

Nope, if you are using a precompiled version of OpenFOAM 1.4.1, you should be fine.

Check out the installation instructions then.

Martin
mbeaudoin is offline   Reply With Quote

Old   September 20, 2007, 02:18
Default Dear FOAMers, I have gone t
  #5
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Dear FOAMers,

I have gone through README & some other instructions. Still the problem not yet fixed.

Have anyone faced similar kind of problem? or know how to fix-it.?

-Thanks
navaladi is offline   Reply With Quote

Old   September 20, 2007, 02:46
Default Please run the foamInstallatio
  #6
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 697
Rep Power: 10
msrinath80 is on a distinguished road
Please run the foamInstallationTest script and paste the output here.
msrinath80 is offline   Reply With Quote

Old   September 20, 2007, 16:27
Default Executing /home/openfoam/OpenF
  #7
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Executing /home/openfoam/OpenFOAM/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux
OS: Linux version 2.6.18.2-34-default
User: openfoam
User_config: /home/openfoam/.bashrc
Foam_config: /home/openfoam/.OpenFOAM-1.4.1/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/openfoam/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/openfoam/OpenFOAM/openfoam-1.4.1 yes no
$FOAM_JOB_DIR /home/openfoam/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/openfoam/OpenFOAM/OpenFOAM-1.4.1 yes yes yes

$FOAM_USER_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes no
$FOAM_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes yes
$WM_DIR ...enfoam/OpenFOAM/OpenFOAM-1.4.1/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH ...home/navaladi/openFOAM/j2sdk1.4.2_05 yes no no
$MICO_ARCH_PATH .../mico-2.3.12/platforms/linuxGccDPOpt yes yes yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...OAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt yes yes no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.2.1
WARNING: Conflicting installations:
foam settings: /mnt/hda13/home/navaladi/openFOAM/gcc-4.2.1/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2
libgcj)
WARNING: Conflicting installations:
foam settings: /home/openfoam/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
current path : /usr/bin/java

gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam .../OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.
navaladi is offline   Reply With Quote

Old   September 20, 2007, 16:29
Default Is anything wrong with setting
  #8
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Is anything wrong with settings.?
i can find solvers are running well.

Thanks
navaladi is offline   Reply With Quote

Old   September 20, 2007, 16:36
Default Yes. Your system gcc is being
  #9
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 697
Rep Power: 10
msrinath80 is on a distinguished road
Yes. Your system gcc is being picked instead of the one supplied with OpenFOAM. But I don't see why that should conflict with paraview unless you rebuilt OpenFOAM from source. Exactly what changes did you make to any of the OpenFOAM bashrc/cshrc files?
msrinath80 is offline   Reply With Quote

Old   September 21, 2007, 15:18
Default Hi Srinath, I'm very sorry,
  #10
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Hi Srinath,

I'm very sorry, please look at the log again.
so everything looks fine. i solved the critical errors by changing the path. yeah, as you told the paraFoam problem not solved. still there.

Of course gcc noway related to paraFoam since i have not compiled anything.

I'm still confused why paraFoam doesn't work. Do you have any idea?





Executing /home/openfoam/OpenFOAM/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux
OS: Linux version 2.6.18.2-34-default
User: openfoam
User_config: /home/openfoam/.bashrc
Foam_config: /home/openfoam/.OpenFOAM-1.4.1/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/openfoam/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/openfoam/OpenFOAM/openfoam-1.4.1 yes no
$FOAM_JOB_DIR /home/openfoam/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/openfoam/OpenFOAM/OpenFOAM-1.4.1 yes yes yes

$FOAM_USER_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes no
$FOAM_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes yes
$WM_DIR ...enfoam/OpenFOAM/OpenFOAM-1.4.1/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH ...penfoam/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH .../mico-2.3.12/platforms/linuxGccDPOpt yes yes yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...OAM/openfoam-1.4.1/lib/linuxGccDPOpt yes yes no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.2.1 /home/openfoam/OpenFOAM/linux/gcc-4.2.1/bin/gcc
java 1.4.2_05 /home/openfoam/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam .../OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.



**********************************************
navaladi is offline   Reply With Quote

Old   September 21, 2007, 18:59
Default Please try out the suggestion
  #11
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 697
Rep Power: 10
msrinath80 is on a distinguished road
Please try out the suggestion proposed by Phillippose in the following thread:

http://www.cfd-online.com/OpenFOAM_D...es/1/4675.html
msrinath80 is offline   Reply With Quote

Old   September 22, 2007, 05:42
Default Hi, as Phillippose told i have
  #12
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Hi, as Phillippose told i have both files.

Recompiling paraview is the only way to fix.?
navaladi is offline   Reply With Quote

Old   September 23, 2007, 07:25
Default Thanks guys, Finally paraFo
  #13
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 7
navaladi is on a distinguished road
Thanks guys,

Finally paraFoam works.

solution is here.

http://www.cfd-online.com/OpenFOAM_D...tml?1190546663
navaladi is offline   Reply With Quote

Old   April 22, 2008, 16:01
Default Hi navaladi, the link that yo
  #14
New Member
 
Martin Romagnoli
Join Date: Mar 2009
Location: Rosario, Santa Fe, Argentina
Posts: 22
Rep Power: 7
martinr is on a distinguished road
Hi navaladi,
the link that you posted doesnt work,
please could you post the solution again?

Thanks.
Martin.
martinr is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaFoam error in OpenFOAM15 asaha OpenFOAM Paraview & paraFoam 24 November 2, 2009 19:16
ParaFoam error with raw chegdan OpenFOAM Bugs 2 July 18, 2009 14:47
Error in paraFoam mattlee OpenFOAM Paraview & paraFoam 2 June 29, 2009 15:36
Error in paraFoam mattlee OpenFOAM Installation 0 March 1, 2009 21:34
ParaFoam Error jblucca OpenFOAM Paraview & paraFoam 1 June 28, 2007 02:37


All times are GMT -4. The time now is 06:51.