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

I cant find openfoam for ubuntu 14.04 LTS

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By upender

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2014, 09:46
Default I cant find openfoam for ubuntu 14.04 LTS
  #1
Member
 
sajad
Join Date: Aug 2013
Posts: 70
Rep Power: 12
seju is on a distinguished road
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
seju is offline   Reply With Quote

Old   April 30, 2014, 11:44
Default
  #2
Member
 
Join Date: Jun 2011
Posts: 53
Rep Power: 14
blacksquirrel is on a distinguished road
openfoam-2.3.0 for Ubuntu 14.04:

http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu
blacksquirrel is offline   Reply With Quote

Old   April 30, 2014, 11:57
Default
  #3
Member
 
sajad
Join Date: Aug 2013
Posts: 70
Rep Power: 12
seju is on a distinguished road
Quote:
Originally Posted by blacksquirrel View Post
thanks for reply Mr. I wanna install openfoam 2.2.1 Im so sorry. I forgot said that
best regards
Sajad
seju is offline   Reply With Quote

Old   April 30, 2014, 13:16
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@seju:
Quote:
Originally Posted by seju View Post
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
__________________
wyldckat is offline   Reply With Quote

Old   May 12, 2014, 03:36
Default Check up
  #5
Member
 
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 15
bullmut is on a distinguished road
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
Attached Files
File Type: gz make.log2.tar.gz (879 Bytes, 4 views)
bullmut is offline   Reply With Quote

Old   May 12, 2014, 15:33
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   August 27, 2014, 05:27
Question error at source command
  #7
New Member
 
upender singh
Join Date: Jul 2014
Location: new delhi, india
Posts: 11
Rep Power: 11
upender is on a distinguished road
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
upender is offline   Reply With Quote

Old   August 27, 2014, 05:33
Default
  #8
Member
 
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 15
bullmut is on a distinguished road
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 ~"
bullmut is offline   Reply With Quote

Old   August 27, 2014, 05:48
Default
  #9
New Member
 
upender singh
Join Date: Jul 2014
Location: new delhi, india
Posts: 11
Rep Power: 11
upender is on a distinguished road
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
upender is offline   Reply With Quote

Old   August 27, 2014, 06:03
Default
  #10
Member
 
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 15
bullmut is on a distinguished road
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
bullmut is offline   Reply With Quote

Old   August 27, 2014, 06:08
Default
  #11
New Member
 
upender singh
Join Date: Jul 2014
Location: new delhi, india
Posts: 11
Rep Power: 11
upender is on a distinguished road
yes the file exists
but i cant understand y that error occured
upender is offline   Reply With Quote

Old   August 27, 2014, 06:14
Default
  #12
Member
 
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 15
bullmut is on a distinguished road
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
bullmut is offline   Reply With Quote

Old   August 27, 2014, 06:28
Default
  #13
New Member
 
upender singh
Join Date: Jul 2014
Location: new delhi, india
Posts: 11
Rep Power: 11
upender is on a distinguished road
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 is offline   Reply With Quote

Old   August 27, 2014, 13:18
Default
  #14
New Member
 
upender singh
Join Date: Jul 2014
Location: new delhi, india
Posts: 11
Rep Power: 11
upender is on a distinguished road
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
Attached Files
File Type: gz make.log.tar.gz (38.7 KB, 3 views)
upender is offline   Reply With Quote

Old   August 30, 2014, 11:47
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   August 30, 2014, 12:07
Default
  #16
New Member
 
upender singh
Join Date: Jul 2014
Location: new delhi, india
Posts: 11
Rep Power: 11
upender is on a distinguished road
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.
wyldckat likes this.
upender is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
OpenFOAM 2.2.0 and 2.1.0 side by side errors Neraste OpenFOAM Installation 2 June 12, 2013 04:55
OpenFOAM Training in Europe and USA hjasak OpenFOAM 0 August 8, 2008 05:33
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
OpenFOAM installation problem on Linux 32bit kumar OpenFOAM Installation 0 April 27, 2007 05:41


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