Hi all
I'm around this code, I've gone from serial to parallel with MPI, from
F77 to F95+2003... and now I'm adding OpenMP to easy the communication
side of things.
One of the constructs I'm looking is:
$!OMP SECTIONS < this creates a SECTIONS area.
$!OMP SECTION < this is a SECTION. it can only be executed by one
thread
call MPI_ALLTOALL
$!OMP SECTION
call MPI_ALLTOALL
$!OMP SECTION
do somelocalstuff
$!OMP END SECTIONS
I figure I have to use
MPI_Init_threads(MPI_THREADS_MULTIPLE, provided, ierr)
Is there something I should be on the watch to make this work? I've
already taken care of making the send and receive buffers THREAD_PRIVATE
cheers and thanks for your input,
Ricardo Reis
'Non Serviam'
PhD candidate @ Lasef
Computational Fluid Dynamics, High Performance Computing, Turbulence
http://www.lasef.ist.utl.pt
Cultural Instigator @ Rádio Zero
http://www.radiozero.pt
Keep them Flying! Ajude a/help Aero Fénix!
http://www.aeronauta.com/aero.fenix
http://www.flickr.com/photos/rreis/
< sent with alpine 2.00 >