-- SandraCastro - 2015-03-09

1. Running the trunk of CASA with MPI

  • If your desktop does not have the MPI libraries installed (NRAO computers should have them), do the following:
yum install casa01-openmpi.x86_64 casa01-mpi4py.x86_64

  • Build CASA normally. Verify that mpicasa, which is a thin wrapper for mpirun/mpiexec, is installed in the correct place:
which mpicasa
/usr/lib64/casa/01/bin/mpicasa

  • Run a CASA session with the MPI executable. Run the mpi4casa functional tests for example:
mpicasa -n 4 casapy -c <install-path>/runUnitTest.py test_mpi4casa

  • Where 4 is the number of cores to run CASA in parallel.

2. Running MPI with the CASA binaries

  • Use the latest casa-stable or casa-test packages, which contain the MPI libraries. The latest today are:
https://svn.cv.nrao.edu/casa/linux_distro/stable/el6/casa-stable-4.4.94.tar.gz
https://svn.cv.nrao.edu/casa/linux_distro/test/el6/casa-test-4.4.107.tar.gz

  • Run as follows:
<path-to-casa-binaries>/mpicasa -n num_cores <path-to-casa-binaries>/casapy

  • As of today, there is still an issue with these libraries when running mpicasa in a cluster.
Topic revision: r2 - 2015-03-09, JulianTaylor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback