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

[OpenFOAM.org] Complete removal and reinstallation issues

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2015, 02:51
Default Complete removal and reinstallation issues
  #1
New Member
 
Rachael Aganetti
Join Date: Sep 2014
Location: Between Melbourne, Australia and Marseille, France
Posts: 1
Rep Power: 0
raychoul is on a distinguished road
Hi OpenFOAM users,

This is my first post and I am fairly new to OpenFOAM so I will try to be clear and concise with my problem:

I recently upgraded my laptop to a MacbookPro with VirtualBox to run Ubuntu 12.04.

I thought I would give OpF v2.3.0 a go. After installation I attempted to compile one of my solvers and ran into a problem with the IObasicSourceList.H. After following a few threads with no luck I decided I would go back to OpF v2.1.1 knowing that my solvers should be able to compile as is.

Without uninstalling v2.3.0 I installed v2.1.1, because I had read that it wasn't a problem to have two versions running. While following all installation steps I ran into problems when running the command:

Code:
mkdir -p $FOAM_RUN
I was returned the following:

Code:
mkdir: missing operand
Try `mkdir --help' for more information.
I then proceeded to remove v.2.30 and attempted removing and reinstalling v2.1.1 but am still unable to get the folder working.

I fear I may have accidentally removed something important in the process.

I haven't been able to find a similar problem while trolling these threads. So I hope someone might be able to help walk me through it.

Many thanks in advance,

Rachael
raychoul is offline   Reply With Quote

Old   February 27, 2015, 16:40
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Rachael and welcome to posting on this forum!

Fortunately, most of the solutions for your questions are already answered on the wiki:
  1. On this page: http://openfoamwiki.net/index.php/In...with_the_Shell - check the subsection "Using aliases to help manage multiple OpenFOAM versions"
  2. How to uninstall a version of OpenFOAM is explained here: http://openfoamwiki.net/index.php/FA...ve_OpenFOAM.3F

Beyond this, I would need to know how exactly you installed each version, namely which installation instructions you followed.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 1, 2015, 14:56
Default
  #3
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
My guess is that you are not properly sourcing the environmental variables in your .bashrc. If you installed from the deb pack, try

Code:
source /opt/openfoam231/etc/bashrc
__________________
Home | Twitter | GitHub
pbachant 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



All times are GMT -4. The time now is 09:18.