CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   ParaFoam Error (http://www.cfd-online.com/Forums/openfoam-paraview/61152-parafoam-error.html)

navaladi September 17, 2007 16:08

Hi, please look at the error.
 
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.

mbeaudoin September 17, 2007 17:05

Hello, Your paraview OpenFo
 
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

navaladi September 18, 2007 10:53

Hello martin, Thanks for yo
 
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.

mbeaudoin September 18, 2007 16:16

Hello Navaldi, Nope, if you
 
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

navaladi September 20, 2007 02:18

Dear FOAMers, I have gone t
 
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

msrinath80 September 20, 2007 02:46

Please run the foamInstallatio
 
Please run the foamInstallationTest script and paste the output here.

navaladi September 20, 2007 16:27

Executing /home/openfoam/OpenF
 
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 September 20, 2007 16:29

Is anything wrong with setting
 
Is anything wrong with settings.?
i can find solvers are running well.

Thanks

msrinath80 September 20, 2007 16:36

Yes. Your system gcc is being
 
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?

navaladi September 21, 2007 15:18

Hi Srinath, I'm very sorry,
 
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.



**********************************************

msrinath80 September 21, 2007 18:59

Please try out the suggestion
 
Please try out the suggestion proposed by Phillippose in the following thread:

http://www.cfd-online.com/OpenFOAM_D...es/1/4675.html

navaladi September 22, 2007 05:42

Hi, as Phillippose told i have
 
Hi, as Phillippose told i have both files.

Recompiling paraview is the only way to fix.?

navaladi September 23, 2007 07:25

Thanks guys, Finally paraFo
 
Thanks guys,

Finally paraFoam works.

solution is here.

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

martinr April 22, 2008 16:01

Hi navaladi, the link that yo
 
Hi navaladi,
the link that you posted doesnt work,
please could you post the solution again?

Thanks.
Martin.


All times are GMT -4. The time now is 05:26.