-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Zhen,

On 24/04/2015 14:38, Zhen Zhang wrote:
> My question is, if we are using PyFR with multiple processes, or
> in parallel execution, it is apparent that we needs MPI and launch
> with "mpirun ....".
> 
> But even the default launching as a single process, using the `pyfr
> run ...` directly, will launch MPI as well, even if there is only
> one rank.
> 
> So, why is that? And does this has any relation to OpenMP's threads
> or CUDA or somethings else?

PyFR is an MPI and so always calls MPI_Init irrespective of how it is
launched; indeed, often PyFR has no idea how it was launched.  It is
this call that brings in the MPI library.

A future version of PyFR may have the capability to run on a single
node without MPI/mpi4py being available.

It has no relation to OpenMP or CUDA.

Regards, Freddie.

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVOkiHAAoJEJ5wYUFIoPof01wP/1B9bE2l8B5g2DxEIbRciTHn
zEuOkPWLWcfJnidlKdeZE7BKVR23AHPfVt0HApoAmSL4Iat+hvqxBUt7RPM6dNk3
+MojQ1UBnOGJfk20qpNu57Hh8hGCcm250lmqCbWB+amEKdZQXgpR2v0+A5HL5K/l
QI18Ldkd+/IHVwms+V2ZXIqOayY1BB/ljvTVTAXeB66VJUMS7dZ2dGw1WKkPViD8
T47Cks0erJ4zzxtJ+6aZHG4go7EEMo/tOZLFMEJIW0svKgyqb4H/J34ocSmVABOv
QvlR1z6l0iQ6jv0Nh4vEM8jTmdFLBIn9BlXvpFsAupm/cSNHoADrKYZDsz7lvVBq
V7R0wPY49vBXoFkXZ4AzfCciGyblRXM7K8pTX6EGmE0gQ614aF98SEPUo5SXqkr4
0hZcOhLfpwQU9AI2zw6LwO8A6ZA0uCsIexILRp7rGwjfcrxce4GQ6jv7T0aRnuAr
xJncQThO/6ACV2tgIeOmpHUqD7Izm8bP4CSUhL4KOiC67OKdnoGnfVpgUgTooWVV
XumKBAMm0J1zARR5KfQ5zlgPqVNYMPMxYh4qJopwZ4mJHLz3rUmJyDN8Rbb1nMez
fH5Zq6RCtO08j30O+ZjSAh6MhqveE7btCbNU61wbsjtjH9o3B3VheDGgpzaUa7Zx
8lJy4oDRo3ax8i+2Ym4o
=H4Jd
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to