df1715e2108d52af29622c07ab73bfaba0cb4a99,theano/tensor/tests/test_mpi.py,,test_mpi_roundtrip,#,45

Before Change


    d = {}
    if PY3:
        // Is some not understood cases, the subprocess never finish.
        d = dict(timeout=5*60)
    p = subprocess.Popen("mpiexec -np 2 python " + theano_root +
                         "tensor/tests/_test_mpi_roundtrip.py",
                         stdin=subprocess.PIPE,
                         stdout=subprocess.PIPE,

After Change


        raise SkipTest("MPI not enabled")
    theano_root = theano.__file__.split("__init__")[0]
    env = os.environ.copy()
    flags = env["THEANO_FLAGS"]
    keep_flags = ",".join((f for f in flags.split(",") if not f.startswith("init_gpu_device")))
    env["THEANO_FLAGS"] = keep_flags
    p = subprocess.Popen("mpiexec -np 2 python " + theano_root +
                         "tensor/tests/_test_mpi_roundtrip.py",
                         stdin=subprocess.PIPE,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: Theano/Theano
Commit Name: df1715e2108d52af29622c07ab73bfaba0cb4a99
Time: 2017-10-13
Author: abergeron@gmail.com
File Name: theano/tensor/tests/test_mpi.py
Class Name:
Method Name: test_mpi_roundtrip


Project Name: okfn-brasil/serenata-de-amor
Commit Name: ed82e27fef3c21f0d86e0e8efdc923f527da37ae
Time: 2017-05-11
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: serialize


Project Name: deepdrive/deepdrive
Commit Name: 65dd2e98c5b8280e00433e698ad78cd8df3f76e5
Time: 2019-02-23
Author: cquiter@gmail.com
File Name: config.py
Class Name:
Method Name: