Build: #3 failed

Job: Build and Package ManyLinux 2014 failed

Stages & jobs

  1. Default Stage

2 applycal fluxscale gcal bcal async mode: Test case result

The below summarizes the result of the test "2 applycal fluxscale gcal bcal async mode" in build 3 of CASA - CMake MPI - Build and Package ManyLinux 2014.
Description
2 applycal fluxscale gcal bcal async mode
Test class
src.casampi.tests.test_casampi.test_mpi_applycal
Method
test2_applycal_fluxscale_gcal_bcal_async_mode
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

RuntimeError: MPI is not enabled. To use the MPI client this process needs to be run as an MPI program, under mpiexec, mpirun or similar
self = <casampi.tests.test_casampi.test_mpi_applycal testMethod=test2_applycal_fluxscale_gcal_bcal_async_mode>

    def setUp(self):
    
        # Set-up MMS
        self.vis = "ngc5921.applycal.mms"
        self.vis_sorted = "ngc5921.applycal.sorted.mms"
        setUpFile(self.vis,'vis')
    
        # Set-up reference MMS
        self.ref = "ngc5921.applycal.ms"
        self.ref_sorted = "ngc5921.applycal.sorted.ms"
        setUpFile(self.ref,'ref')
    
        # Set-up auxiliary files
        self.aux = ["ngc5921.fluxscale", "ngc5921.gcal", "ngc5921.bcal"]
        setUpFile(self.aux ,'aux')
    
        # Repository caltables are pre-v4.1, and we
        # must update them _before_ applycal to avoid contention
        casalog.post("Updating pre-v4.1 caltables: %s" % str(self.aux),"WARN","test1_applycal_fluxscale_gcal_bcal")
        cblocal = calibrater()
        for oldct in self.aux:
            cblocal.updatecaltable(oldct)
        casalog.post("Pre-v4.1 caltables updated","INFO","test_mpi_applycal")
    
        # Tmp files
        self.vis2 = self.vis + '.2'
        self.vis3 = self.vis + '.3'
        self.vis_sorted2 = self.vis_sorted + '.2'
        self.vis_sorted3 = self.vis_sorted + '.3'
    
        # Tmp aux files
        self.aux2 = []
        self.aux3 = []
        for file in self.aux:
            self.aux2.append(file + '.2')
            self.aux3.append(file + '.3')
    
        # Set up cluster
>       self.client = MPICommandClient()

/casampi/src/casampi/tests/test_casampi.py:1646: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <casampi.MPICommandClient.MPICommandClient object at 0x7f90c17a1850>
start_services = False

    def __init__(self,start_services=False):
        """ Create MPICommandClient singleton instance """
    
        casalog_call_origin = "MPICommandClient::__init__"
    
        # Check if MPI is effectively enabled
        if not MPIEnvironment.is_mpi_enabled:
            msg = ('MPI is not enabled. To use the MPI client this process needs to be run '
                   'as an MPI program, under mpiexec, mpirun or similar')
            casalog.post(msg, 'SEVERE', casalog_call_origin)
>           raise RuntimeError(msg)
E           RuntimeError: MPI is not enabled. To use the MPI client this process needs to be run as an MPI program, under mpiexec, mpirun or similar

/casampi/src/casampi/MPICommandClient.py:53: RuntimeError