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

Updating/reinstalling swak4Foam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2013, 11:28
Default Updating/reinstalling swak4Foam
  #1
New Member
 
Micha Werne
Join Date: Feb 2013
Posts: 5
Rep Power: 3
Werne is on a distinguished road
Hello,
I have a question concerning the reinstallation of the swak4Foam library. My problem is that my current installation of this library seems to be incomplete as the size of it is approximately 1 MiB smaller than the installation on my second computer.

Is it sufficient to simply download the files again and install them with "wmake all" on top of the existing installation or do I have to delete the old files first?
Werne is offline   Reply With Quote

Old   March 20, 2013, 13:56
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,751
Rep Power: 36
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Werne View Post
Hello,
I have a question concerning the reinstallation of the swak4Foam library. My problem is that my current installation of this library seems to be incomplete as the size of it is approximately 1 MiB smaller than the installation on my second computer.

Is it sufficient to simply download the files again and install them with "wmake all" on top of the existing installation or do I have to delete the old files first?
With "size" you mean "du -sh swak4Foam" when you already compiled it? That doesn't say much. The size may vary depending on the compiler and other factors (location of the installation may be an issue as these are sometimes stored in the object files)

If ./Allwmake runs through without problems then I'd say that the the sources are complete

With "existing installation" you mean the source tree or the locations that the files are stored to (like $FOAM_USER_LIBBIN). I'd unpack the sources in a new directory to be sure. About the other: if the compilation runs through then the binaries are all replaced (no need to remove them before that. But there is a script in the maintainanceScripts directory that should do that)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 21, 2013, 03:50
Default
  #3
New Member
 
Micha Werne
Join Date: Feb 2013
Posts: 5
Rep Power: 3
Werne is on a distinguished road
Sorry if my explanations were not clear, I'm still very new to linux and it's handling.

With "size" I mean the number of files contained in the folder from which I compile swak4Foam. I manually downloaded it two times on two different computers.
One folder contains 2.547 files and the other only 2.414 files. I'm not sure if the download was incomplete or if the smaller one is an older version of it, as I downloaded it some months ago.
Werne is offline   Reply With Quote

Old   March 21, 2013, 06:11
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,751
Rep Power: 36
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Werne View Post
Sorry if my explanations were not clear, I'm still very new to linux and it's handling.

With "size" I mean the number of files contained in the folder from which I compile swak4Foam. I manually downloaded it two times on two different computers.
One folder contains 2.547 files and the other only 2.414 files. I'm not sure if the download was incomplete or if the smaller one is an older version of it, as I downloaded it some months ago.
This again depends on what the program you're using counts as "files". Seems like your program sees directories as files too, becuse when I look at the biggest archive I uploaded with this command
tar tzf ~/Temp/Swak4Foam_2.x_release_0.2.3.tar.gz| wc
I get 1807 files.

Anyway. Surest way to check whether your file is OK is to use md5 to get a hash and see if it is the same. The hashes for my latest uploads are

MD5 (/Users/bgschaid/Temp/Swak4Foam_1.x_release_0.2.2.tar.gz) = ac5f58243daaf1e8dff9bdcae0407f3c
MD5 (/Users/bgschaid/Temp/Swak4Foam_1.x_release_0.2.3.tar.gz) = 8fc1c63c4cb9b8fcbe5ea9a7253a833f
MD5 (/Users/bgschaid/Temp/Swak4Foam_2.x_release_0.2.2.tar.gz) = dbe6244c1c5417400003280d6faf8dd5
MD5 (/Users/bgschaid/Temp/Swak4Foam_2.x_release_0.2.3.tar.gz) = 3baa99bc33994a76ac48bdbe99af999d
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
swak4foam newbie29 OpenFOAM Installation 71 July 2, 2014 17:57
Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 22 January 21, 2013 11:51
About installation of swak4Foam mmkr825 OpenFOAM Programming & Development 10 December 14, 2012 01:24
swak4Foam for calculating velocity transformations santoshgoku OpenFOAM 4 June 20, 2012 05:39
swak4Foam for faceZones andrea.pasquali OpenFOAM 3 August 30, 2011 11:24


All times are GMT -4. The time now is 21:40.