<commit_before>#!/usr/bin/env python
# -*- coding: latin-1; -*-
# test mpi4py

# exc:   mpiexec.openmpi -n 6 ./test01.py


import mpi4py.MPI as mpi

comm = mpi.COMM_WORLD
rank = comm.rank

if rank==1:
    v = 1000
    print "[%d]" % rank, " j'envoie", v
    comm.send(v, dest = 5)
elif rank==5:
    v = comm.recv(source=1)
    print "[%d]" % rank, " recu!", v
<commit_msg>correction mineure<commit_after>#!/usr/bin/env python
# -*- coding: latin-1; -*-
# test mpi4py

# exc:   mpiexec.openmpi -n 6 ./test01_send.py


import mpi4py.MPI as mpi

comm = mpi.COMM_WORLD
rank = comm.rank

if rank==1:
    v = 1000
    print "[%d]" % rank, " j'envoie", v
    comm.send(v, dest = 5)
elif rank==5:
    v = comm.recv(source=1)
    print "[%d]" % rank, " recu!", v

{'fraction_non_alphanumeric': 0.1856763925729443, 'fraction_numerical': 0.03713527851458886, 'mean_word_length': 2.775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3697251', 'n_tokens_mistral': 356, 'n_tokens_neox': 329, 'n_words': 81}