Compiling open MPI application on Windows Feb 12, 2013 loginacrocontext, email, display_nameacrocontext, first_name, last_name When you compile OpenMPI on Windows, you should define the following preprocessor. OMPI_IMPORTS\ OPAL_IMPORTS\ ORTE_IMPORTS Example)\ c:\mpicxx test.cpp -DOMPI_IMPORTS -DOPAL_IMPORTS -DORTE_IMPORTS