Installing OpenFOAM 1.7.x on CAElinux without Internet Connection
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 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 |
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 |
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! :) |
Hi Joel,
Quote:
Quote:
Best regards, Bruno |
All times are GMT -4. The time now is 14:13. |