File: hello.py

package info (click to toggle)
lammps 20251210%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 465,808 kB
  • sloc: cpp: 1,031,565; python: 26,771; ansic: 8,808; f90: 7,302; sh: 5,316; perl: 4,171; fortran: 2,442; xml: 1,613; makefile: 1,119; objc: 238; lisp: 188; yacc: 58; csh: 16; awk: 14; tcl: 6; javascript: 2
file content (4 lines) | stat: -rw-r--r-- 103 bytes parent folder | download | duplicates (5)
1
2
3
4
from mpi4py import MPI

comm=MPI.COMM_WORLD
print("Hello from rank %d of %d" % (comm.rank, comm.size))