[4.7, RFC, Fortran] Coarray: Moving towards real parallelization

Richard Guenther richard.guenther@gmail.com
Thu Mar 3 09:55:00 GMT 2011


2011/3/3 Tobias Burnus <burnus@net-b.de>:
> Hello Ralf,
>
> thanks for your comments.
>
> Ralf Wildenhues wrote:
>>
>> The library will depend on the MPI installation, obviously.
>> You can make a new target directory and overwrite CC with MPICC
>> for that directory.  For choosing the latter, the AX_MPI macro from
>> the Autoconf Macro Archive can help.  (I can help with the configure
>> setup if needed, just not timely).
>
> OK. Though as it should be a relatively small library with little
> dependency, I assume many users/system administrators will compile it
> separately.

You will definitely need to wrap the part of the MPI interface you are using.
I think unconditionally using a static library for this is probably best,
both for performance and binary deployment reasons (ok, HPC users
always link statically anyways ...).

That said, don't emit calls following the MPI API but instead use a
(possibly more optimization friendly) gfortran private API that wraps MPI.

Richard.



More information about the Fortran mailing list