I just finished installing OpenMDAOv1.3 on our super computer. The installation was successful and all tests either passed or skipped. However, when I ran the tests I got the following warning:
*path/OpenMDAO/openmdao/core/driver.py:228: UserWarning: parallel derivs %s specified but not running under MPI
warnings.warn("parallel derivs %s specified but not running under MPI")
I'm not sure what to do about this (if anything) and so I am looking for information about the implications of the warning message. We are planning on running in parallel with the built in MPI functionality of OpenMDAO. I currently have openmpi-1.8.4 loaded on the system.
You can ignore that warning... it's just because the test is not running under MPI. (The test will be fixed to suppress the warning).
There are additional steps you need to take to run in parallel. This has not yet been documented, but some of us have been using the following steps when working in an anaconda environment:
To verify you are good to go, you can run the tests in the mpitests directory as follows:
Alternatively you can use the testflo package from
and from the OpenMDAO directory, issue the following command:
Note that this assumes a Linux type operating system.. Parallel execution on Windows is not currently supported
To get OpenMDAO succesfully running in parallel using Conda, OpenMPI, mpi4py, PETSc and petsc4py I have adapted this procedure for OS X to Ubuntu:
Prerequisites
Ubuntu
Install OpenMPI
Download OpenMPI: https://www.open-mpi.org/software/ompi/v1.10/
Extract and configure
Add the following to your bash profile
OS X
Ubuntu
Activate your conda environment
Install mpi4py
Install PETSc
Install petsc4py