
13 Dec
2006
13 Dec
'06
4:34 p.m.
Dear boost users, I am using Boost.MPI for a python module so there is no argc, argv that can be provided to boost::parallel::mpi::environment(int & argc, char ** & argv) Because an environment object has to exist during the life time of the module, I have to define a global variable in an awkward way: int fake_argc = 0; char * fake_argv = ""; char ** ptr_argv = &fake_argv; boost::parallel::mpi::environment env(fake_argc, ptr_argv); Can a default constructor be provided? Bo