Switch to root mode (administrator) and install the necessary packages (run one line at a time):

… all the way down
I got a file OpenFOAM and within that
file OpenFOAM-2.1.1 (not the file ThirdParty-2.1.1) and
OpenFOAM-2.1.1.tgz
ThirdParty-2.1.1.tgzicoFoam –helpDoes not give anything
gedit ~/.bashrc doesn’t contain line OpenFOAMQuestion:Do I have to uninstall and start from the beginning?
Thanks

wyldckat

February 27, 2013 04:52

Greetings zania and welcome to the forum!

Inside the folder "$HOME/OpenFOAM/OpenFOAM-2.1.1", do you have a file named "make.log"? If you do, follow the instructions that were given on the instructions, namely:

Code:

#Create a tarball in case you've seen any errors (it's the first error that matters)
#or if you don't understand the output
#and attach the file "make.log.tar.gz" to a post in the designated thread

tar -czf make.log.tar.gz make.log

edit: A follow-up question: what did you exactly do in step #3?

Best regards,
Bruno

zania

February 27, 2013 05:21

More information on Incomplete installation of OpenFOAM 2.1.1

Hello Bruno
Thanks for your welcome and the quick response!
Inside the folder “OpenFOAM/OpenFOAM-2.1.1”, I do not have a file named "make.log"?

To your follow-up question: what did you exactly do in step #3? I copied
For i386: #here you can change 4 to the number of cores you've gotsource$HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_NCOMPPROCS=4WM_MPLIB=SYSTEMOPENMPI WM_ARCH_OPTION=32echo"source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc $FOAM_SETTINGS" >> $HOME/.bashrc
All the Best

wyldckat

February 27, 2013 09:54

Hi zania,

OK, then check the following details:

What does this output:

Code:

echo $HOME
ls -l $HOME

It should tell you where your home folder is and also list the contents of your home folder.

What does this output:

Code:

ls -l $HOME/OpenFOAM

It should show you the contents of the OpenFOAM folder, which should be 2 "*.tgz" files and 2 folders for "OpenFOAM-2.1.1" and "ThirdParty-2.1.1".

Code:ls -l $HOME/OpenFOAMIt should show you the contents of the OpenFOAM folder, which should be 2 "*.tgz" files and 2 folders for "OpenFOAM-2.1.1" and "ThirdParty-2.1.1".
ls: αδυναμία πρόσβασης του (Its in Greek: inability to access) /home/eva/OpenFOAM: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος (there is not such file)And what does this output:Code:ls -l $HOME/OpenFOAM/OpenFOAM-2.1.1
eva@eva-Inspiron-1525:~$ ls -l $HOME/OpenFOAM/OpenFOAM-2.1.1
ls: αδυναμία πρόσβασης του /home/eva/OpenFOAM/OpenFOAM-2.1.1: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
eva@eva-Inspiron-1525:~$ It should show you a file list similar to this one: https://github.com/OpenFOAM/OpenFOAM-2.1.x

======================================== etcFrom within the case (cavity) directory
I typed blockMesh and got the message
Command missing or something like that
I do not have the line OpenFOAM … in the .bashrc file. Is it because of the missed echo … line? Can I type it now?

Thanks

wyldckat

March 7, 2013 09:23

You can do step #3 without any concerns. Feel free to edit the file "$HOME/.bashrc", to check what is already inside it.

As for not being able to run blockMesh, do as instructed in step #5:

Code:

#Create a tarball in case you've seen any errors (it's the first error that matters)
#or if you don't understand the output
#and attach the file "make.log.tar.gz" to a post in the designated thread
tar -czf make.log.tar.gz make.log

I had no experience at all in Ubuntu. The first mistake I made was at the beginning when I gave the code sudo, typing the user password, I was expecting ****** or something like that to appear. Since nothing happened I tried su.

Switch to root mode (administrator) and install the necessary packages (run one line at a time):

… all the way down
I got a file OpenFOAM and within that
file OpenFOAM-2.1.1 (not the file ThirdParty-2.1.1) and
OpenFOAM-2.1.1.tgz
ThirdParty-2.1.1.tgzicoFoam –helpDoes not give anything
gedit ~/.bashrc doesn’t contain line OpenFOAMQuestion:Do I have to uninstall and start from the beginning?
Thanks

Hi Zania i followed the instruccion in openfoam wiki to install openfoam 2.2.1 but i dont have connection in the pc that i have ubuntu, how i can to get the procedure, or how i have to do with that
apt-get install build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev \ libncurses-dev libxt-dev libopenmpi-dev openmpi-bin