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

[swak4Foam] how does install swak4foam with OpenFOAM 3.0?

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2015, 04:52
Default
  #21
New Member
 
Shahabeddin
Join Date: Oct 2015
Location: Iran
Posts: 16
Rep Power: 10
lllshahablll is on a distinguished road
Hi Bruno

I used Official OpenFoam website's instruction to install OF3.0. but downloaded the deb pack separately and then tried to install it. during installation I used a proxy server since sorceforge wasn't accessible from my location.

2. No modification has been applied.
3.the command gives:

Code:
ldd $(which blockMesh)
	linux-gate.so.1 =>  (0xb7782000)
	libblockMesh.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libblockMesh.so (0xb773b000)
	libmeshTools.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libmeshTools.so (0xb73c0000)
	libdynamicMesh.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libdynamicMesh.so (0xb7060000)
	libOpenFOAM.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libOpenFOAM.so (0xb6927000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb690a000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6792000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6745000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6727000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb656c000)
	libtriSurface.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libtriSurface.so (0xb64df000)
	libsurfMesh.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libsurfMesh.so (0xb63e9000)
	libfileFormats.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libfileFormats.so (0xb6364000)
	libfiniteVolume.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libfiniteVolume.so (0xb5014000)
	libextrudeModel.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/libextrudeModel.so (0xb4ffa000)
	libPstream.so => /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/openmpi-system/libPstream.so (0xb4fec000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb4fd0000)
	/lib/ld-linux.so.2 (0x80086000)
	libmpi.so.1 => /usr/lib/libmpi.so.1 (0xb4e36000)
	libhwloc.so.5 => /usr/lib/i386-linux-gnu/libhwloc.so.5 (0xb4df3000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb4dd6000)
	libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xb4dd1000)
	libltdl.so.7 => /usr/lib/i386-linux-gnu/libltdl.so.7 (0xb4dc5000)
	libnuma.so.1 => /usr/lib/i386-linux-gnu/libnuma.so.1 (0xb4db8000)

4. And this one gives:

Code:
ls -l $FOAM_LIBBIN/$FOAM_MPI
total 128
-rw-r--r-- 1 root root 60933 نوامب  1 22:33 libPstream.so
-rw-r--r-- 1 root root 69513 نوامب  1 22:47 libptscotchDecomp.so
*نوامب=November

5.the last command results:
Code:
md5sum $FOAM_LIBBIN/$FOAM_MPI/*
147a90c44c02f769bf5a37126d91496b  /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/openmpi-system/libPstream.so
131a1a948b477403c25540b56f821141  /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/openmpi-system/libptscotchDecomp.so
really thanks for your continuous reply
lllshahablll is offline   Reply With Quote

Old   December 11, 2015, 07:18
Default
  #22
New Member
 
Shahabeddin
Join Date: Oct 2015
Location: Iran
Posts: 16
Rep Power: 10
lllshahablll is on a distinguished road
Hi,

one other question Mr.Bruno

as you said you tested the swak4Foam on Ubuntu 15.10 and OF3.0, and maybe some files are missing during OF installation on my computer.

So, is there any way to remove all footprints of installing OpenFoam and then install it again?

or its better install the Ubuntu again and then go for OpenFoam installtion?

Or both these ways are not helpful? and the problem can be resolved without any reinstallation.


I have another computer which is running Ubuntu 14.04 and OpenFoam 2.4.0
I installed swak4Foam on it and its working But it cannot perform the blockMesh.


Thanks and regards
Shahabeddin
lllshahablll is offline   Reply With Quote

Old   December 12, 2015, 15:22
Default
  #23
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
Hi Shahabeddin,

Quote:
Originally Posted by lllshahablll View Post
as you said you tested the swak4Foam on Ubuntu 15.10 and OF3.0, and maybe some files are missing during OF installation on my computer.

So, is there any way to remove all footprints of installing OpenFoam and then install it again?
There is something definitely wrong with your installation, because those 2 files I asked the m5sum for are incorrect. The correct values should be these:
Code:
5bb6c6a192b8d806d02c2c92504d9aa5  /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/openmpi-system/libPstream.so
6c5c581b8afe3032ec4567a500d24343  /opt/openfoam30/platforms/linuxGccDPInt32Opt/lib/openmpi-system/libptscotchDecomp.so
Run md5sum with the ".deb" file you downloaded:
Code:
md5sum *.deb
It should give you this hash number for the "openfoam30" package:
Code:
9a42d626a64a233d2d338700d19aed78
As for uninstalling the current version, it depends on how you installed it. Either way, detailed instructions are given here: http://openfoamwiki.net/index.php/FA...ve_OpenFOAM.3F

Best regards,
Bruno
lllshahablll likes this.

Last edited by wyldckat; December 12, 2015 at 15:23. Reason: added reference to the package name
wyldckat is offline   Reply With Quote

Old   December 19, 2015, 23:57
Default
  #24
New Member
 
Shahabeddin
Join Date: Oct 2015
Location: Iran
Posts: 16
Rep Power: 10
lllshahablll is on a distinguished road
Dear Bruno

As per your instruction I reinstalled the OpenFOAM and the swak4Foam is installed without problem at first look.

Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.4.0 (Release date: Next release)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Thank you for helping me step by step.


Regards
Shahabeddin
wyldckat likes this.
lllshahablll is offline   Reply With Quote

Old   December 29, 2015, 07:49
Default
  #25
Member
 
Milad Setareh
Join Date: Oct 2012
Location: Tehran, Iran
Posts: 35
Rep Power: 13
milad653279 is on a distinguished road
Dear wyldckat

I install swak4foam:
swak4Foam development version for OpenFOAM 2.x/3.x/dev and foam-extend 3.x

I think my problem is solved. thank you for your help.
wyldckat likes this.
milad653279 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
[OpenFOAM.org] Install OpenFOAM 2.4.x using system Scotch cbcoutinho OpenFOAM Installation 7 October 16, 2019 19:12
[swak4Foam] swak4Foam and OpenFoam 3.0.x fs82 OpenFOAM Community Contributions 38 September 10, 2018 17:44
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 mnobrega OpenFOAM Community Contributions 6 April 1, 2014 01:47
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32


All times are GMT -4. The time now is 18:28.