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

installing openfoam1.5 on opensuse 10.3

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2010, 08:57
Default installing openfoam1.5 on opensuse 10.3
  #1
Member
 
Vivek Gupta
Join Date: May 2010
Posts: 36
Rep Power: 6
vivek070176 is on a distinguished road
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.
vivek070176 is offline   Reply With Quote

Old   May 28, 2010, 22:06
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,981
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Vivek and welcome to the forum.

Quote:
Originally Posted by vivek070176 View Post
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 View Post
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
wyldckat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Gmsh on OpenSUSE 11.2 nick.parziale@gmail.com Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 March 1, 2010 02:04
Installing OpenFOAM 1.3 on openSUSE 10.3 aliakbar82 OpenFOAM Installation 1 December 31, 2009 03:35
Installing OpenFOAM-1.6.x on OpenSUSE 11.2, A question to the developers Ahmed OpenFOAM Installation 0 December 5, 2009 05:03
OpenFOAM 1.5-dev installation in OpenSuSe 10.3 darenyang OpenFOAM Installation 0 April 28, 2009 04:30
Suitable Intel Fortran under OpenSuse 10.3 Christoph Meyer CD-adapco 12 December 3, 2007 00:54


All times are GMT -4. The time now is 15:33.