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

[swak4Foam] Updating/reinstalling swak4Foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2013, 10:28
Default Updating/reinstalling swak4Foam
  #1
New Member
 
Join Date: Feb 2013
Posts: 17
Rep Power: 13
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, 12:56
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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, 02:50
Default
  #3
New Member
 
Join Date: Feb 2013
Posts: 17
Rep Power: 13
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, 05:11
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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


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
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 11:59
[swak4Foam] and twoPhaseEulerFoam mnikku OpenFOAM Community Contributions 1 February 19, 2016 05:21
source term in near wall cell rajcfd OpenFOAM Pre-Processing 5 February 1, 2016 10:31
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Community Contributions 2 January 5, 2014 17:33
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 3 June 26, 2013 13:00


All times are GMT -4. The time now is 14:13.