I cant find openfoam for ubuntu 14.04 LTS
Dear Foamer
I wanna install openFoam in ubuntu 14.04 LTS but this package doesn't exist in [HTML]http://www.openfoam.org/download/ubuntu.php [/HTML. I hurry up for install openfoam. do you have any Idea or news about install openfoam in ubuntu 14.04 LTS? best regards Sajad |
|
Quote:
best regards Sajad |
Greetings to all!
@seju: Quote:
Since you're trying to use Ubuntu 14.04, which is very similar to Ubuntu 13.10 when it comes to building OpenFOAM from source code, therefore you should be able to follow these instructions that are means for Ubuntu 13.10: http://openfoamwiki.net/index.php/In...u#Ubuntu_13.10 Best regards, Bruno |
Check up
1 Attachment(s)
Hi Foamers,
So i am installing OF@#) on my pc, which has ubuntu 14 on it. I followed the instructions as per this thread. I could not attach the full tar ball of my make.log, so edited the error sections, if you need the full file that can be arranged. To continue.. I have a few questions - : 1) Should i move the OpenFOAM folder as is to /opt/ ? Does this affect functionality or dependicies? 2) The only error i found in the log1 was that paraView was not present but this step was done later.. does it matter? 3) The metis option was not present when i made the third part folder. Again is this a problem, can i resolve it later or now? Thanks in advance guys |
Greetings Gareth,
There is no particular big error indicated in the log file you provided. The last error is fixed if you continue following the instructions... or at least it should. Keep in mind that it's the first error message that will likely indicate what went wrong. As for your questions:
Bruno |
error at source command
i am following the instructions at http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu.
at first, every thing goes well. but the moment i type source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI it gives me an error like: bash: /home/upender/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc: No such file or directory please help |
HI upender
Have you checked that the OpenFoam directory is located in the right place? At step 4 were you in your home folder? "cd ~" |
hi bullmut
yes i was in my home folder then i have checked the entries in the gui the home/openfoam/openfoam-230/etc exists In the etc folder, i do not have a bashrc subfolder. but a bashrc file exists |
The baschrc is not a folder but a file, when you extracted the tgz file it should have been uncompressed along with everything else...
If that is not the case you can try a different repository http://www.openfoam.org/download/git.php |
yes the file exists
but i cant understand y that error occured |
gosh i just saw your reply
"home/openfoam/openfoam-230/etc exists" where as when you tried "source $HOME..." it was looking for "/home/upender/OpenFOAM/..." The variable $HOME is sending it to the wrong place.. You should redefine that variable accordingly.. the location or file structure of your setup needs to match the variables in your environment else it will be looking in the wrong place. I suggest you check those environment variables before you continue as they are used later during installation |
i just checked the variable
HOME=/home/upender now, since i am new to linux, i dont really know how to sort this out. ive been mugging with this since last night. please help |
1 Attachment(s)
my previous problem is solved. i have somehow reached to step 10,ie, building open foam.
when i type ./Allwmake > make.log 2>&1 it says: Permission denied. then i used sudo chmod -R o+w $WM_PROJECT_DIR and retyped ./Allwmake > make.log 2>&1 the log was generated but in a few seconds. i tried to read it and it says permission denied every where i have attached the log file for reference purpose. please help |
Greetings to all!
@upender: The error message you are getting appears all over the log file you provided. It seems to me that you were not able to follow with precision the installation instructions, and you possibly did not exit from root mode when you should have. But it's only an hypothesis. You can try the following command, which hopefully will fix the problem: Code:
sudo chown -R $USER:$USER $FOAM_INST_DIR If this still doesn't work, I strongly suggest that you start following again the instructions from the start, and be very careful to not miss any step/detail at all. This of course implies that before you do this, you at least rename the main "OpenFOAM" folder, for example, by running: Code:
mv $HOME/OpenFOAM $HOME/OpenFOAM.1st_try Bruno |
hi Bruno
i found out something called gksu nautilus on ubuntu forums i changed all permissions of this directory, built OpenFOAM successfully, and restored the permissions. anyways, thank you for your reply. your information is always valuable at some point. |
All times are GMT -4. The time now is 05:21. |