#include <boost/mpi/environment.hpp>
#include <boost/mpi/communicator.hpp>
#include <iostream>
int main( int argc, char *argv[] )
{
boost::mpi::environment env(argc, argv);
boost::mpi::communicator world;
std::cout << "I am process " << world.rank() << " of " << world.size() << "." << std::endl;
return 0;
}
libboost_mpi-vc110-mt-gd-1_54.lib(environment.obj) : error LNK2001: unresolved external symbol ompi_mpi_comm_world
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2019: unresolved external symbol ompi_mpi_comm_world referenced in function "public: char & __cdecl std::vector<char,class boost::mpi::allocator<char> >::operator[](unsigned __int64)" (??A?$vector@DV?$allocator@D@mpi@boost@@@std@@QEAAAEAD_K@Z)
1>libboost_mpi-vc110-mt-gd-1_54.lib(environment.obj) : error LNK2001: unresolved external symbol ompi_mpi_errors_return
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2019: unresolved external symbol ompi_mpi_errors_return referenced in function "protected: unsigned __int64 __cdecl std::vector<char,class boost::mpi::allocator<char> >::_Grow_to(unsigned __int64)const " (?_Grow_to@?$vector@DV?$allocator@D@mpi@boost@@@std@@IEBA_K_K@Z)
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2001: unresolved external symbol ompi_mpi_comm_null
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2001: unresolved external symbol ompi_mpi_group_empty
1>libboost_mpi-vc110-mt-gd-1_54.lib(group.obj) : error LNK2001: unresolved external symbol ompi_mpi_group_empty
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2001: unresolved external symbol ompi_request_null
1>libboost_mpi-vc110-mt-gd-1_54.lib(request.obj) : error LNK2001: unresolved external symbol ompi_request_null
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2001: unresolved external symbol ompi_mpi_unsigned_long_long
1>libboost_mpi-vc110-mt-gd-1_54.lib(point_to_point.obj) : error LNK2001: unresolved external symbol ompi_mpi_unsigned_long_long
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2001: unresolved external symbol ompi_mpi_packed
1>libboost_mpi-vc110-mt-gd-1_54.lib(point_to_point.obj) : error LNK2001: unresolved external symbol ompi_mpi_packed
1>libboost_mpi-vc110-mt-gd-1_54.lib(communicator.obj) : error LNK2001: unresolved external symbol ompi_mpi_info_null
1>libboost_mpi-vc110-mt-gd-1_54.lib(point_to_point.obj) : error LNK2001: unresolved external symbol ompi_mpi_info_null
1>libboost_mpi-vc110-mt-gd-1_54.lib(mpi_datatype_cache.obj) : error LNK2001: unresolved external symbol ompi_mpi_datatype_null
1>C:\Workspace\Whale\x64\Debug\SimpleClusterJobDispatcher.exe : fatal error LNK1120: 9 unresolved externals