Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86004837
mpi_Bcast.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Oct 3, 15:04
Size
164 B
Mime Type
text/x-python
Expires
Sat, Oct 5, 15:04 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21319328
Attached To
rPNBODY pNbody
mpi_Bcast.py
View Options
from
pNbody
import
*
if
mpi
.
mpi_IsMaster
():
msg
=
"hello from the master"
else
:
msg
=
"hello from a slave"
msg
=
mpi
.
mpi_Bcast
(
0
,
msg
)
mpi
.
mpi_iprint
(
msg
)
Event Timeline
Log In to Comment