You would use one thread per core (or even less) and use e.g. MPI to do the communication. Any MPI transfer between cores on the same processor will probably automatically be done using shared memory or some memory mapping operation. Coding this explicitly (your 'mixed-mode' model) would gain you nothing or very little.
Mattijs > They would need to be ported to use MPI on a cluster. However, I do not > understand > what happens when you have multi-processor/multi-core nodes in a > cluster. Do you > just use MPI (with each thread using its own non-shared memory) or is > there any > way to do "mixed-mode" programming which takes advantage of shared > memory within a > node (like, an MPI/OpenMP hybrid?). > > Peter Wainwright -- Mattijs Janssens OpenCFD Ltd. The Mews, Picketts Lodge, Picketts Lane, Salfords, Surrey RH1 5RG. Tel: +44 (0)1293 821272 Email: [EMAIL PROTECTED] URL: http://www.OpenCFD.co.uk _______________________________________________ Beowulf mailing list, [email protected] To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
