CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   ThirdParty-2.1.0 installation error (https://www.cfd-online.com/Forums/openfoam-installation/105966-thirdparty-2-1-0-installation-error.html)

adambarfi August 14, 2012 05:03

ThirdParty-2.1.0 installation error
 
hi everybody,

I'm trying to install OpenFOAM-2.1.0. All things was alright except ./Allwmake in $FOAM_UTILITIES/postProcessing/graphics/PV3Readers. this errors appear:

Code:

+ '[' -d /home/mostafa/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/paraview-3.12.0 -a -r /home/mostafa/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/paraview-3.12.0 ']'
+ '[' -n '' ']'
+ echo './Allwmake : PV_PLUGIN_PATH not valid - it is unset'
./Allwmake : PV_PLUGIN_PATH not valid - it is unset
+ exit 1

what should I do?

wyldckat August 14, 2012 17:04

Greetings adambarfi,

I'm guessing that you didn't build ParaView... or if you did try to build it, you didn't notice any error messages...

Either way, you didn't mention a few important details, so here are a few relevant questions:
  1. Which Linux Distribution are you using? Ubuntu, Fedora, openSUSE or any other?
  2. And which version of that distribution?
  3. Which instructions are you following?
  4. Did you run makeParaView as indicated here: Compiling Paraview 3.12.0 and the PV3FoamReader Module
  5. After makeParaView is finished, are there any error messages?
  6. What does this output:
    Code:

    wmSET
    which paraview

    Does it output something like:
    Code:

    /home/mostafa/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/paraview-3.12.0/bin/paraview
Best regards,
Bruno

adambarfi August 14, 2012 20:06

Quote:

Originally Posted by wyldckat (Post 377105)
Greetings adambarfi,

I'm guessing that you didn't build ParaView... or if you did try to build it, you didn't notice any error messages...

Either way, you didn't mention a few important details, so here are a few relevant questions:
  1. Which Linux Distribution are you using? Ubuntu, Fedora, openSUSE or any other?
  2. And which version of that distribution?
  3. Which instructions are you following?
  4. Did you run makeParaView as indicated here: Compiling Paraview 3.12.0 and the PV3FoamReader Module
  5. After makeParaView is finished, are there any error messages?
  6. What does this output:
    Code:

    wmSET
    which paraview

    Does it output something like:
    Code:

    /home/mostafa/OpenFOAM/ThirdParty-2.1.0/platforms/linux64Gcc/paraview-3.12.0/bin/paraview
Best regards,
Bruno

Dear Bruno,

Thank you for your instructive reply.
1. Ubuntu
2. 10.04
3. http://www.openfoam.org/archive/2.1....oad/source.php
4. yes, I ran it, everything seemed to be alright.
5. there was no error.
6.
When I write 'cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers' it says that 'bash: cd: /postProcessing/graphics/PV3Readers: No such file or directory, though this path is exist at 'mostafa@mostafa-desktop:~/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/postProcessing/graphics/PV3Readers$.
when I write 'cd $FOAM_UTILITIES' it goes to 'mostafa@mostafa-desktop:~$'!!!!
When I run wmSET it says 'wmSET: command not found'.

what should I do?:confused:

wyldckat August 15, 2012 04:46

Quote:

Originally Posted by adambarfi (Post 377128)
6.
When I write 'cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers' it says that 'bash: cd: /postProcessing/graphics/PV3Readers: No such file or directory, though this path is exist at 'mostafa@mostafa-desktop:~/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/postProcessing/graphics/PV3Readers$.
when I write 'cd $FOAM_UTILITIES' it goes to 'mostafa@mostafa-desktop:~$'!!!!
When I run wmSET it says 'wmSET: command not found'.

what should I do?:confused:

I don't know where or how, but somewhere along the instructions, you skipped an important step related to sourcing OpenFOAM's "bashrc" file. I suggest that you read this blog post of mine for more information: Advanced tips for working with the OpenFOAM shell environment

adambarfi August 17, 2012 16:28

Quote:

Originally Posted by wyldckat (Post 377163)
I don't know where or how, but somewhere along the instructions, you skipped an important step related to sourcing OpenFOAM's "bashrc" file. I suggest that you read this blog post of mine for more information: Advanced tips for working with the OpenFOAM shell environment

hi,
I install OpenFOAM-2.1.0 and paraView again without any error, but when I write wmSET it says there isn't such command!!!! what should I do?!?!??

thanks

wyldckat August 18, 2012 04:12

This is very strange... well, if wmSET doesn't work, start a new terminal and do that block of commands for building the plug-in, but without running wmSET!

adambarfi August 20, 2012 04:53

Quote:

Originally Posted by wyldckat (Post 377613)
This is very strange... well, if wmSET doesn't work, start a new terminal and do that block of commands for building the plug-in, but without running wmSET!

dear Bruno,
It didn't work. but I solved this problem. I had CAELinux 2011, then I install Ubuntu 11.04 and again install OpenFOAM-2.1.0 and thirdParty. Fortunately, It was successfully installed.

again thank you, but I can't understand why it didn't install on CAELinux 2011?!?!?!?!?

challenger March 14, 2013 05:35

Hello,

I had the same problem as the original post and I got it working.

I'm using Xubuntu 12.10 with OpenFOAM 2.1.x

Apart from this error, I got a compilation problem running makeParaview like the thread below
http://www.cfd-online.com/Forums/ope...tallation.html

I followed the instructions of reply # 3 changing the text in $ $WM_THIRD_PARTY_DIR/ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h
ran makeParaview which compiled properly.
After that
wmSET
which Paraview

and then finally inside OpenFOAM-2.1.x/applications/utilities/postProcessing/graphics/PV3Readers I ran ./Allwmake and it finally compiled and started working.

Thanks for the help :)


All times are GMT -4. The time now is 18:33.