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

[OpenFOAM.org] OpenFOAM-3.0.1 installation problem in ubuntu-14.04.3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2016, 02:54
Default OpenFOAM-3.0.1 installation problem in ubuntu-14.04.3
  #1
New Member
 
Chun-Han Ko
Join Date: Apr 2016
Posts: 8
Rep Power: 10
Peter Ko is on a distinguished road
Hi there,
For some reasons,
I am doing the re-install of my OF-3.0.1 and I encounter the problems as follows...

root@Linux-PC:~/OpenFOAM# uname -m
x86_64
root@Linux-PC:~/OpenFOAM# source $HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc WM_LABEL_SIZE=64
bash: /opt/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-3.0.1/etc/config/settings.sh: No such file or directory
bash: /opt/OpenFOAM-3.0.1/etc/config/aliases.sh: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-3.0.1/bin/foamCleanPath: No such file or directory
root@Linux-PC:~/OpenFOAM#


How should I do to solve this problems?? I need to create the folder "opt" myself??? or the package which I download was wrong?? I very sure that I do the some command as the "https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-3.0.1/Ubuntu" told

best regards to every one,
Peter Ko
Peter Ko is offline   Reply With Quote

Old   May 21, 2017, 13:41
Default
  #2
New Member
 
mehrdad
Join Date: Mar 2017
Posts: 3
Rep Power: 9
mehrdadzahir is on a distinguished road
i have this problem too!!! did you find the problem??? how can i overcome this problem?
mehrdadzahir is offline   Reply With Quote

Old   May 27, 2017, 07:54
Default
  #3
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!

There is a conflict of shell environments, namely another version/variant of OpenFOAM is already loaded in the shell environment and is leading the latest call to "etc/bashrc" getting confused as to where exactly the source code should be located.

@Peter Ko: My apologies, I only now noticed that you asked about this a year ago... it was around the time I was helping with things for OFW11 and I was not able to come by the forum.


Either way, all of this really depends on whether you two really want to install at "/opt" or a personal installation. Because:
  • If you want to really install at "/opt", then you need to define the environment variable "FOAM_INST_DIR" by using the following command:
    Code:
    export FOAM_INST_DIR=/opt
    then run the sourcing command:
    Code:
    source  /opt/OpenFOAM-3.0.1/etc/bashrc
  • If you want a personal installation, then get out of "root" mode and try the installation commands as a normal user.
Best regards,
Bruno
__________________
wyldckat 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
[OpenFOAM.org] OpenFOAM 3.0.1 in Ubuntu 18.04 jlr OpenFOAM Installation 4 January 3, 2019 12:57
[OpenFOAM.org] Problem during installation of openfoam 2.3.0 on ubuntu 16.04 jarvis OpenFOAM Installation 2 March 20, 2018 08:32
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 17:38
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56


All times are GMT -4. The time now is 07:19.