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

PV3Readers problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2011, 11:57
Default PV3Readers problem
  #1
New Member
 
Filipe Direito
Join Date: Mar 2010
Location: Porto, PORTUGAL
Posts: 9
Rep Power: 16
filipedireito is on a distinguished road
Hi

I am trying to install OF2.0.1 in Ubuntu 11.04 64 bit (virtual hosted by osx). I follow the recipe on openfoam.com. 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?

Thanks
filipedireito is offline   Reply With Quote

Old   September 18, 2011, 12:48
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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:
Code:
[ -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,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 18, 2011, 22:08
Default
  #3
New Member
 
Filipe Direito
Join Date: Mar 2010
Location: Porto, PORTUGAL
Posts: 9
Rep Power: 16
filipedireito is on a distinguished road
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...
filipedireito is offline   Reply With Quote

Old   September 19, 2011, 03:56
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi Filipe,

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: http://www.openfoam.com/download/source.php - Am I correct?
  2. Have you started a new terminal window/tab after you modified the file "~/.bashrc"?
  3. Run this command:
    Code:
    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:
    Code:
    foam
    ./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:
    Code:
    tar -czf make.log.tar.gz make.log
  5. As for building ParaView, do the same, namely:
    Code:
    ./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,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 19, 2011, 22:27
Default
  #5
New Member
 
Filipe Direito
Join Date: Mar 2010
Location: Porto, PORTUGAL
Posts: 9
Rep Power: 16
filipedireito is on a distinguished road
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
filipedireito 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


All times are GMT -4. The time now is 21:53.