CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   README notes (http://www.cfd-online.com/Forums/openfoam-bugs/70430-readme-notes.html)

piccinini November 24, 2009 11:07

README notes
 
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.

henry November 25, 2009 06:12

Thanks for the bug report, this is now fixed in OpenFOAM-1.6.x.

H

wyldckat November 25, 2009 08:26

There is another one...
 
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

henry November 25, 2009 09:46

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

wyldckat November 25, 2009 11:18

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

mwild November 26, 2009 03:45

Quote:

Originally Posted by henry (Post 237682)
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!

;)


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