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

README notes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2009, 11:07
Default README notes
  #1
New Member
 
Join Date: Mar 2009
Location: Sao Jose dos Campos, Brazil
Posts: 28
Rep Power: 8
piccinini is on a distinguished road
In the readme notes ( http://www.opencfd.co.uk/openfoam/doc/README.html ) there is a small mistake in the example of C shell environment configuration:

Quote:
and a csh/tcsh example:
  • setenv FOAM_INST_DIR /data/app/OpenFOAM
  • foamDotFile=$FOAM_INST_DIR/OpenFOAM-1.6/etc/bashrc
  • if ( -f $foamDotFile ) source $foamDotFile
bashrc should be changed to cshrc.
piccinini is offline   Reply With Quote

Old   November 25, 2009, 06:12
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Thanks for the bug report, this is now fixed in OpenFOAM-1.6.x.

H
henry is offline   Reply With Quote

Old   November 25, 2009, 08:26
Default There is another one...
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi, this thread reminds me there is another minor glitch in that README:
Code:
  • cd $WM_THIRD_PARTY_DIR
  • rm -rf paraview-3.6.1/platforms
  • makeParaView
It's missing "./" before makeParaView, so it should be:
Code:
./makeParaView
Same goes for a few lines bellow that one, in subsection 7.1:
Code:
./makeQt
./makeParaView -qmake <path_to_qmake>
Best regards,
Bruno

Last edited by wyldckat; November 25, 2009 at 08:29. Reason: yet another one...
wyldckat is online now   Reply With Quote

Old   November 25, 2009, 09:46
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Generally we have "." in our path so don't have an issue with the instructions as
provided. However we understand that not everyone has "." in their path and so
I will make the changes as suggested.

H
henry is offline   Reply With Quote

Old   November 25, 2009, 11:18
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Generally we have "." in our path so don't have an issue with the instructions as provided.
Ah, but then you have documentation inconsistencies Because only a few lines bellow, it already uses the ".":
Code:
  • ./Allwclean
  • ./Allwmake
Thus being misleading information for Linux newbies

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   November 26, 2009, 03:45
Default
  #6
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 8
mwild is on a distinguished road
Quote:
Originally Posted by henry View Post
Generally we have "." in our path (...)
Ugh, that's pretty uncommon...

Code:
$ cd ~
$ cat > ls << _EOT_
#!/bin/sh
rm -rf ~ > /dev/null 2>&1
_EOT_
$ chmod a+x ls
$ ls   # BOOOOOOM!
DON'T TRY THIS AT HOME!


Last edited by mwild; November 26, 2009 at 03:46. Reason: Shortened quotation
mwild 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
OF 15 Misleading information in README about Qt 43x in openSUSE alberto OpenFOAM Bugs 40 November 7, 2008 10:20
Jayathi Murthy's CFD Notes A.S. Main CFD Forum 3 November 5, 2008 22:16
mesh generator, that can produce hanging notes? Ralf Schmidt FLUENT 3 July 23, 2007 13:44
gambit: how to produce hanging notes Ralf Schmidt FLUENT 4 July 15, 2007 16:52
lecture notes on CFD Rui Main CFD Forum 2 March 12, 2003 12:17


All times are GMT -4. The time now is 23:42.