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

[foam-extend.org] Cannot source bashrc for foam-extend-3.2 installation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2018, 20:04
Default Cannot source bashrc for foam-extend-3.2 installation
  #1
New Member
 
David Buentello
Join Date: Jan 2017
Posts: 15
Rep Power: 4
pyroWinter is on a distinguished road
Fellow foamers,
I have been trying to install foam-extend 3.2 in Ubuntu 16, however whenever I try to source the bashrc file I get the following error:

Quote:
bash: /home/david/foam/foam-extend-3.2/bin/foamGetSystemInfo: No such file or directory
bash: /home/david/foam/foam-extend-3.2/bin/foamCleanPath: No such file or directory
bash: /home/david/foam/foam-extend-3.2/bin/foamCleanPath: No such file or directory
bash: /home/david/foam/foam-extend-3.2/bin/foamCleanPath: No such file or directory
bash: /home/david/foam/foam-extend-3.2/etc/settings.sh: No such file or directory
bash: /home/david/foam/foam-extend-3.2/etc/aliases.sh: No such file or directory
bash: /home/david/foam/foam-extend-3.2/bin/foamCleanPath: No such file or directory
bash: /home/david/foam/foam-extend-3.2/bin/foamCleanPath: No such file or directory
bash: /home/david/foam/foam-extend-3.2/bin/foamCleanPath: No such file or directory
as a note I have other OF installations (4.2 and 5), however the sourcing/alias/etc is commented out in my .bashrc
Quote:
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
#if ! shopt -oq posix; then
# if [ -f /usr/share/bash-completion/bash_completion ]; then
# . /usr/share/bash-completion/bash_completion
# elif [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
# fi
#fi
#source /opt/openfoam4/etc/bashrc
#source /opt/openfoam5/etc/bashrc
Thanks in advance for your help.
Regards,
David
pyroWinter is offline   Reply With Quote

Old   January 18, 2018, 06:10
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,887
Rep Power: 34
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Where is source code of the software located? Is it in /home/david/foam/foam-extend-3.2?
alexeym is offline   Reply With Quote

Old   January 18, 2018, 07:24
Default
  #3
New Member
 
David Buentello
Join Date: Jan 2017
Posts: 15
Rep Power: 4
pyroWinter is on a distinguished road
Hi Alex,
Thank you for your post. Indeed, the installation path was the problem. I was using the default path for OpenFOAM 4 onwards. I changed from home/david/OpenFOAM/foam-extend-3.2 to home/david/foam/foam-extend-3.2 and it worked.
pyroWinter is offline   Reply With Quote

Reply

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
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 94 September 18, 2019 04:34
[Other] OpenFOAM Installation for navalFoam sachinlb OpenFOAM Community Contributions 22 July 28, 2017 06:26
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44


All times are GMT -4. The time now is 10:39.