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

Installing OpenFOAM 1.7.x on CAElinux without Internet Connection

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 13, 2011, 08:54
Default Installing OpenFOAM 1.7.x on CAElinux without Internet Connection
  #1
New Member
 
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 14
joel.lehikoinen is on a distinguished road
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()
I don't really have an idea what's happening here. I have OpenFOAM 1.7.1 installed and working. Sourcing the 1.7.1-version of bashrc works fine. My install directory is the standard $HOME/OpenFOAM/ where the different versions are in their respective folders.

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
joel.lehikoinen is offline   Reply With Quote

 

Tags
bashrc, caelinux, install


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
Installing OpenFOAM 1.7.1 on AIX 5.3 hrn OpenFOAM Installation 3 October 30, 2010 07: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 05:51
Installing OpenFOAM 1.6 on Ubuntu 10.4 sda OpenFOAM Installation 5 May 27, 2010 20:19
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 02:58.