|
[Sponsors] |
Installing OpenFOAM 1.7.x on CAElinux without Internet Connection |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 13, 2011, 09:54 |
Installing OpenFOAM 1.7.x on CAElinux without Internet Connection
|
#1 |
New Member
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 15 |
Hi,
I need OpenFOAM 1.7.x for my work, but I'm having difficulties installing it. Unfortunately the IT regulations of my employer prohibit connecting Linux machines to the Internet, so I cannot use git to install the version 1.7.x. I have downloaded the OpenFOAM 1.7.x source code on another machine and copied it to my CAElinux machine. The first step in the installation process is setting the environment variables. But when I try to source etc/bashrc file, I just get an error message: Code:
: command not found : command not found : command not found : command not found ': not a valid identifierDIR : command not found : command not found 'ash: etc/bashrc: line 78: syntax error near unexpected token ` 'ash: etc/bashrc: line 78: `_foamSource() Do I need to do something before I can run the etc/bashrc script or why does it not work? Thank you for your help, Joel |
|
June 13, 2011, 17:03 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Joel,
Indeed, those are some very strange errors! Specially this one: Code:
: command not found OK, lets try to isolate and conquer:
In the mean time, here are two links to my blog on how to still have git on an internetless machine:
Best regards, Bruno
__________________
|
|
June 14, 2011, 06:16 |
|
#3 |
New Member
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 15 |
Hi,
thank you very much for your help. I managed to install version 1.7.x with the help of the advice from your blog post. I'd guess the files were somehow corrupted, even though at least bashrc opened fine in a text editor. I didn't actually download the non-working source myself, my boss just gave it to me. He's not here this week so I can't be sure, but it could be that maybe he tried to download directly to the USB drive, which usually has bad consequences... Anyway, thank you very much for you help! |
|
June 14, 2011, 12:09 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Joel,
Quote:
You're welcome! I'm glad I could help you so quickly Best regards, Bruno
__________________
|
||
Tags |
bashrc, caelinux, install |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OpenFOAM 1.7.1 on AIX 5.3 | hrn | OpenFOAM Installation | 3 | October 30, 2010 08:33 |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 06:51 |
Installing OpenFOAM 1.6 on Ubuntu 10.4 | sda | OpenFOAM Installation | 5 | May 27, 2010 21:19 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |