Revision 73ed6728c0cff90db8f1624e52ed91dfc1704915 authored by Amos Egel on 03 December 2020, 11:17:58 UTC, committed by Amos Egel on 03 December 2020, 12:26:37 UTC
1 parent 3dfcc22
__init__.py
import sys
from smuthi.version import __version__
try:
from mpi4py import MPI
mpi_comm = MPI.COMM_WORLD
mpi_rank = mpi_comm.Get_rank()
except:
mpi_rank = 0
def print_smuthi_header():
welcome_msg = ("\n" + "*" * 32 + "\n SMUTHI version " + __version__ + "\n" + "*" * 32 + "\n")
sys.stdout.write(welcome_msg)
sys.stdout.flush()
#if mpi_rank == 0:
# print_smuthi_header()
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...