|
@@ -288,6 +288,9 @@ extern void *smpi_process_get_user_data();
|
|
|
#pragma weak main
|
|
|
int main(int argc, char **argv)
|
|
|
{
|
|
|
+#ifdef HAVE_SG_CONFIG_CONTINUE_AFTER_HELP
|
|
|
+ sg_config_continue_after_help();
|
|
|
+#endif
|
|
|
if (_starpu_simgrid_running_smpi())
|
|
|
{
|
|
|
if (!smpi_process_get_user_data)
|
|
@@ -345,6 +348,9 @@ static void maestro(void *data STARPU_ATTRIBUTE_UNUSED)
|
|
|
/* This is called early from starpu_init, so thread functions etc. can work */
|
|
|
void _starpu_simgrid_init_early(int *argc STARPU_ATTRIBUTE_UNUSED, char ***argv STARPU_ATTRIBUTE_UNUSED)
|
|
|
{
|
|
|
+#ifdef HAVE_SG_CONFIG_CONTINUE_AFTER_HELP
|
|
|
+ sg_config_continue_after_help();
|
|
|
+#endif
|
|
|
#if defined(HAVE_MSG_PROCESS_ATTACH) || defined(MSG_process_attach)
|
|
|
if (simgrid_started < 2 && !_starpu_simgrid_running_smpi())
|
|
|
{
|