CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   installing openfoam1.5 on opensuse 10.3 (https://www.cfd-online.com/Forums/openfoam-installation/76549-installing-openfoam1-5-opensuse-10-3-a.html)

vivek070176 May 28, 2010 08:57

installing openfoam1.5 on opensuse 10.3
 
1. while unzipping the ThirdParty.linux64Gcc.gtgz using
tar xzf ThirdParty.linux64Gcc.gtgz in the terminal, it shows :-
gzip: stdin :unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

What is the solution for this and why this problem arises??....please anybody help me since i am very new to this openfoam software


2. EITHER
if running bash or ksh (if in doubt type echo $SHELL), source the etc/bashrc file by adding the following line to the end of your $HOME/.bashrc file:
. $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc
Then update the environment variables by sourcing the $HOME/.bashrc file by typing in the terminal:

. $HOME/.bashrc

OR

if running tcsh or csh, source the etc/cshrc file by adding the following line to the end of your $HOME/.cshrc file:
source $HOME/OpenFOAM/OpenFOAM-1.6/etc/cshrc
Then update the environment variables by sourcing the $HOME/.cshrc file by typing in the terminal:

source $HOME/.cshrc


WHERE IS THIS $HOME/.bashrc file??......I MEAN IN $HOME, I HAVE ONLY OpenFOAM directory that is where all files are unpacked.

wyldckat May 28, 2010 22:06

Greetings Vivek and welcome to the forum.

Quote:

Originally Posted by vivek070176 (Post 260686)
1. while unzipping the ThirdParty.linux64Gcc.gtgz using
tar xzf ThirdParty.linux64Gcc.gtgz in the terminal, it shows :-
gzip: stdin :unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

It's quite simple: the file ThirdParty.linux64Gcc.gtgz wasn't properly downloaded. Remove it and download it again. Then, after it has finished to download and before you unpack it, run:
Code:

md5sum ThirdParty.linux64Gcc.gtgz
and compare with the md5sum that is available in the download page: http://www.openfoam.com/download/linux64.php
This way you can verify if the file downloaded properly. If it's the same, then unpack it.

Quote:

Originally Posted by vivek070176 (Post 260686)
WHERE IS THIS $HOME/.bashrc file??......I MEAN IN $HOME, I HAVE ONLY OpenFOAM directory that is where all files are unpacked.

Files and folders that start with a dot are considered as hidden files in Linux. To verify its existence, run:
Code:

ls -la $HOME/.bashrc
The "ls -la" command can be read as "list long all".

Best regards,
Bruno


All times are GMT -4. The time now is 05:03.