CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   PV3Readers problem (

filipedireito September 18, 2011 10:57

PV3Readers problem

I am trying to install OF2.0.1 in Ubuntu 11.04 64 bit (virtual hosted by osx). I follow the recipe on On utilities/postProcessing/graphics/PV3Readers, when I type ./Allwmake I get:

+ [ -d /home/filipedireito/OpenFOAM/ThirdParty-2.0.1/platforms/linux64Gcc/paraview-3.10.1 -a -r /home/filipedireito/OpenFOAM/ThirdParty-2.0.1/platforms/linux64Gcc/paraview-3.10.1 ]

What does this mean? How can I fix it?


wyldckat September 18, 2011 11:48

Greetings Filipe and welcome to the forum!

That particular line is simply an output useful for debugging the Allwmake script. It doesn't indicate an error itself, it simply states that it ran the line:

[ -d  /home/filipedireito/OpenFOAM/ThirdParty-2.0.1/platforms/linux64Gcc/paraview-3.10.1  -a -r  /home/filipedireito/OpenFOAM/ThirdParty-2.0.1/platforms/linux64Gcc/paraview-3.10.1  ]
This line of code checks if the folder where ParaView should be installed already exists and if it is readable.

Are there any "Error" messages in particular? If not, all is well and should be working as intended ;)

Best regards,

filipedireito September 18, 2011 21:08

Thank you Bruno!

Unfortunately, I still cant finish installtion. Till your answer, I thought it was an error in blockMesh utility build, because the command was not working. But you said it was ok so I then tested other commands and they are not recognized! (and I added the line to .bashrc)
Running foamInstallationTest it yield a critical error in:

$FOAM_APPBIN ...-2.0.1/platforms/linux64GccDPOpt/bin

Do you think this may be causing the problem?
Is OF working fine in 64 bit? I am asking this because I installed this version in Ubuntu 32 bit and had no problems...

wyldckat September 19, 2011 02:56

Hi Filipe,

:eek: You are giving too little information for anyone to be able to guess what the actual problem might be!
That's why I thought everything was perfectly fine, since the output that you posted simply pointed out what you thought it was the most suspicious probable cause for the installation failure.

OK, then let's go back a bit and figure out what's missing:
  1. I'm assuming you are installing OpenFOAM 2.0.1 by following these instructions: - Am I correct?
  2. Have you started a new terminal window/tab after you modified the file "~/.bashrc"?
  3. Run this command:

    echo $WM_PROJECT_DIR
    Does it output anything? If not, then you didn't write properly the source command line in "~/.bashrc".
  4. If the previous outputted the path to where OpenFOAM-2.0.1 is installed, then run the following commands:

    ./Allwmake > make.log 2>&1

    When it ends, edit the make.log file and search/replace any sensitive data, such as the username. Then compact the file and attach it to your next post:

    tar -czf make.log.tar.gz make.log
  5. As for building ParaView, do the same, namely:

    ./makeParaView > makePV.log 2>&1
Without these logs, or at least the output with the actual error messages that point to the real problem, it's pretty complicated to diagnose the problem!

Best regards,

filipedireito September 19, 2011 21:27

I used the make.log file you suggested to see if there was any problem and aparently there was a library (or something) missing. So I installed and then everything went fine. Problem solved!

Thank you!

Best regards
Filipe Direito

All times are GMT -4. The time now is 04:25.