CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   I cant find openfoam for ubuntu 14.04 LTS (https://www.cfd-online.com/Forums/openfoam-installation/134502-i-cant-find-openfoam-ubuntu-14-04-lts.html)

seju April 30, 2014 10:46

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

blacksquirrel April 30, 2014 12:44

openfoam-2.3.0 for Ubuntu 14.04:

http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu

seju April 30, 2014 12:57

Quote:

Originally Posted by blacksquirrel (Post 489149)

thanks for reply Mr. I wanna install openfoam 2.2.1 Im so sorry. I forgot said that
best regards
Sajad

wyldckat April 30, 2014 14:16

Greetings to all!

@seju:
Quote:

Originally Posted by seju (Post 489155)
I wanna install openfoam 2.2.1

You'll have to install from source code, as blacksquirrel implied.
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

bullmut May 12, 2014 04:36

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

wyldckat May 12, 2014 16:33

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:
  1. Placing OpenFOAM at "/opt" is only useful if you share the machine with other people and those people need access to OpenFOAM.
  2. As indicated above, just continue following the instructions.
  3. Metis is optional and is not a strict necessity. This is because Scotch is installed by default.
Best regards,
Bruno

upender August 27, 2014 06:27

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

bullmut August 27, 2014 06:33

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 ~"

upender August 27, 2014 06:48

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

bullmut August 27, 2014 07:03

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

upender August 27, 2014 07:08

yes the file exists
but i cant understand y that error occured

bullmut August 27, 2014 07:14

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

upender August 27, 2014 07:28

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

upender August 27, 2014 14:18

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

wyldckat August 30, 2014 12:47

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
This will change the ownership of the whole OpenFOAM installation to your own user name, therefore allowing you to access the missing file.

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
Best regards,
Bruno

upender August 30, 2014 13:07

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.