|
[Sponsors] |
August 7, 2007, 08:22 |
Hi Eric!
Thanks for the fee
|
#41 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Eric!
Thanks for the feedback. In the next days I'll try compile 1.4.1 on my notebook. I hope that I can then provide a unified patch (which incorporates the additions you suggested. I guess I missed those because I never tested the stuff in parallel) @Rick: Have you tried setting the processor affinity with mpirun (https://www.sun.com/products-n-solutions/hardware/docs/html/819-7480-10/mca-para ms.html havn't tried it myself yet) to see if it really is the cache? (another possibility would be to set the affinity with the taskset-command afterwards, but that would make it hard to get accurate measurments) But I'm betting on the memory bandwidth
__________________
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 |
|
August 10, 2007, 09:40 |
Just before I run into the wee
|
#42 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Just before I run into the weekend: I uploaded a patch for 1.4.1 to the Wiki-page. All the nexessary changes are in that patch (I hope)
It compiles with an OpenMPI from DarwinPorts. Havn't done too much testing on it. Give me a word if you have problems (or if it works for you)
__________________
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 |
|
August 15, 2007, 14:18 |
Hi Eric!
I guess you may ha
|
#43 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Eric!
I guess you may have noticed this thread: http://www.cfd-online.com/cgi-bin/Op...how.cgi?1/4323 (conclusion: cores sharing memory bandwith is bad) But I would have expected a decent speedup at least for the 2CPU-case. Have you had a chance to do parallel benchmarks with non-OpenFOAM software?
__________________
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 |
|
August 15, 2007, 15:37 |
Hi Bernhard,
I wrote a smal
|
#44 |
Senior Member
|
Hi Bernhard,
I wrote a small C++ code to compute Pi (e.g., see Using MPI, 2nd ed, by Gropp et al.) over 1e9 intervals. Parallel performance is almost perfect, 1 proc = 10.6 secs 2 proc = 5.3 3 proc = 3.5 4 proc = 2.8 5 proc = 2.1 6 proc = 1.8 7 proc = 1.5 8 proc = 1.6 However, there is almost no data being passed for this test case, which means that the performance doesn't suffer. Also, I did the timing using MPI::Wtime, which gave very different results from the command line "time -p mpirun -np ...". Eric |
|
August 15, 2007, 15:56 |
Hi Eric!
Have you tried a "
|
#45 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Eric!
Have you tried a "pure" MPI-Benchmark? I think I once used this one: http://www.dhpc.adelaide.edu.au/projects/MPIBench/ (don't know for sure if it's that one) and I think from the results one can judge the memory-throughput Bernhard
__________________
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 |
|
September 18, 2007, 20:20 |
It was pointed out to me, that
|
#46 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
It was pointed out to me, that the first 1.4.1-patch that I uploaded to the Wiki was incomplete (very incomplete in fact). I uploaded a new version.
Sorry to everyone who tried and failed
__________________
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 |
|
September 28, 2007, 09:27 |
Hi guys,
thanks a lot for t
|
#47 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi guys,
thanks a lot for the patch and all the instructions ! I was able to compile everything including Paraview 2-4 on my MacBook Pro and it works really well ! I have only one remaining question : - Is it possible to use a pre-compiled binary of Paraview3 and link it in order to build paraFoam ? Best regards, PO Dallaire |
|
October 1, 2007, 08:08 |
Hi PO!
Look for discussions
|
#48 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi PO!
Look for discussions elsewhere on this board concerning ParaView3. Short answer is no, because a) Paraview3 is not yet supported by paraFoam b) to compile the PVReader you need at least the Paraview-headers and the CMakeCache.txt that was used to build the binary and none of those is distributed with the binaries If you want to use paraview3 your options are: a) use foamToVTK b) use the OpenFOAM-filter built into (but not always enabled) in Paraview3 (see discussions elsewhere) Bernhard
__________________
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 |
|
October 3, 2007, 10:25 |
Thanks for the infos Bernhard
|
#49 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Thanks for the infos Bernhard !
Have a nice day PO |
|
October 17, 2007, 21:27 |
It appears that a new version
|
#50 |
Member
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
It appears that a new version of operating system (v10.5 Leopard) wll be released on Oct. 26. Can I surmise it'll become much easier to install OF on Mac?
|
|
October 17, 2007, 21:33 |
It appears that a new version
|
#51 |
Member
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
It appears that a new version of operating system (v10.5 Leopard) wll be released on Oct. 26. Can I surmise it'll become much easier to install OF on Mac?
|
|
October 17, 2007, 21:33 |
Hey, it is already easy becaus
|
#52 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hey, it is already easy because of all the work those guys did here :-) Everything work so far on my Macs.
No, it will be exactly the same. Regards, PO Dallaire |
|
October 17, 2007, 21:39 |
Might be easier, because new L
|
#53 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Might be easier, because new Leopard is going to use new Sun Microsystems disc partition, which if I'm not mistaken is called ZFS. It might have happened that Apple switched in Leopard to case sensitive operating system, but I'm just guessing.
|
|
October 17, 2007, 21:51 |
Hi,
from what I saw in the
|
#54 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi,
from what I saw in the previous developer builds, ZFS was not the default file system. Hopefully, that will change for the final version. |
|
October 17, 2007, 21:54 |
If I'm right, last two builds
|
#55 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
If I'm right, last two builds were suppose to have ZFS, but I'm not sure.
|
|
October 18, 2007, 01:57 |
Well, I already ordered it. W
|
#56 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Well, I already ordered it. When the pack comes, I will re-port OpenFOAM-1.4.1-dev to Mac OS X Leopard and report. If people are interested I can do the mountable disc partition again - is anyone actually using this at the moment?
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
October 18, 2007, 05:09 |
Aloha Hrvoje,
Yes, definite
|
#57 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Aloha Hrvoje,
Yes, definitely the mountable package would be great. I know couple people working on it. Thanks, Krystian |
|
October 28, 2007, 20:52 |
Hi guys,
I installed Leopar
|
#58 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi guys,
I installed Leopard and made some quick checks for OpenFOAM : 1) Mac OS X does not use ZFS in the installation - still does use the mac os x extended journaled - I do not see ZFS in disk utility 2) I can use my OpenFOAM disk image from Tiger, no problem 3) I tried to recompile but I saw an error somewhere with uint function - I'll try again later this week when I'll have more time 4) I did not compile paraview 2-6; in fact, I compiled Paraview 3 from scratch since it is Mac os X native - no problem here 5) FYI, I found a problem with X11 when compiling and linking opengl library with other programs (see http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_B ug). Don't know if this useful for the OpenFOAM project - just an info ... Best regards, PODallaire |
|
October 30, 2007, 12:33 |
Hi,
The error I saw when I
|
#59 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi,
The error I saw when I tried to recompile is : primitives/uint/uintIO.C: In function 'Foam::Istream& Foam::operator>>(Foam::Istream&, unsigned int&)': primitives/uint/uintIO.C:69: error: 'uint' was not declared in this scope make: *** [Make/darwinDPOpt/uintIO.o] Error 1 PO |
|
October 30, 2007, 15:34 |
Hi!
Don't have Leopard, so
|
#60 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi!
Don't have Leopard, so I can only guess how to fix this (BTW: which version of g++ comes with Leopard/XCode3 ?): Try to replace the offending line i = uint(t.labelToken()); with i = (unsigned int)(t.labelToken()); (you WILL get a warning about an old-style cast) Bernhard
__________________
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 06:06 |
VTK errors in ParaFOAM on OpenFOAM14 | stevemchale | OpenFOAM Installation | 5 | August 29, 2007 16:39 |
Compilation from source failed OpenFOAM14 | hsieh | OpenFOAM Installation | 1 | June 20, 2007 11:06 |
Probes in OpenFOAM14 | otsuki | OpenFOAM Running, Solving & CFD | 2 | May 16, 2007 07:18 |
Port of OpenFOAM14 to FreeBSD | thierry | OpenFOAM Installation | 0 | April 28, 2007 10:36 |