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

[OpenFOAM.org] error in installation OpenFOAM 2.4.0 in Ubuntu 14.04

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2018, 04:28
Default error in installation OpenFOAM 2.4.0 in Ubuntu 14.04
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 11
alimea is on a distinguished road
Hi foamers


I want to install OF2.4.0 on HOME directory of ubuntu 14.04 according to this address:

https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04

but it gave this error:



when I write this command:

Code:
source $HOME/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc WM_NCOMPPROCS=4
I don't know what the problem is!

Thanks
alimea is offline   Reply With Quote

Old   August 8, 2018, 12:24
Default
  #2
Member
 
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 14
fertinaz is on a distinguished road
Hello

In fact you can see the problem in the err msg. You're sourcing:
Code:
$HOME/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc
However OpenFOAM complains:
Code:
/opt/OpenFOAM-2.4.0/......
Your OF directory is in your $HOME folder but when you source bashrc, environment seeks /opt and naturally cannot find any files.

Either modify OF/etc/bashrc to set the correct path or move OF directory to /opt. I'd do the former.

Last edited by fertinaz; August 8, 2018 at 15:53.
fertinaz is offline   Reply With Quote

Old   August 9, 2018, 07:12
Default
  #3
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 11
alimea is on a distinguished road
Quote:
Originally Posted by fertinaz View Post
Hello

In fact you can see the problem in the err msg. You're sourcing:
Code:
$HOME/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc
However OpenFOAM complains:
Code:
/opt/OpenFOAM-2.4.0/......
Your OF directory is in your $HOME folder but when you source bashrc, environment seeks /opt and naturally cannot find any files.

Either modify OF/etc/bashrc to set the correct path or move OF directory to /opt. I'd do the former.

Dear Fatih

I solved the problem with deleting this line in my .bashrc file (in HOME directory):
Quote:
ôsource /opt/.bashrc"
The recent version was "sourced" in .bashrc file. I deleted it and compile it correctly.

Thank you my friend
alimea is offline   Reply With Quote

Reply

Tags
install, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[OpenFOAM.org] OpenFOAM 2.4.x installation script for ubuntu p0kerus OpenFOAM Installation 0 June 1, 2015 15:52
[OpenFOAM.org] Installation of OpenFOAM 2.3.1 on Ubuntu 14.04 stephie OpenFOAM Installation 5 February 14, 2015 11:05
[Other] Problem in Open foam installation in ubuntu 14.04 zannatul OpenFOAM Installation 2 November 3, 2014 20:56
openFOAM installation in ubuntu 11.10 kirubhakaran OpenFOAM Installation 5 February 17, 2012 02:16


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