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

installing openfoam1.5 on opensuse 10.3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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
[Gmsh] Installing Gmsh on OpenSUSE 11.2 nick.parziale@gmail.com OpenFOAM Meshing & Mesh Conversion 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 Siemens 12 December 3, 2007 00:54


All times are GMT -4. The time now is 09:34.