### Declare the library content
###
-if HAVE_RUBY
- libruby=simgrid_ruby.la
-else
- libruby=
-endif
-
-lib_LTLIBRARIES= libsimgrid.la libgras.la libsmpi.la $(libruby)
+lib_LTLIBRARIES= libsimgrid.la libgras.la libsmpi.la
gras_sources=$(XBT_SRC) $(GRAS_COMMON_SRC) $(GRAS_RL_SRC) $(AMOK_SRC)
simgrid_sources=$(XBT_SRC) $(SURF_SRC) $(GTNETS_USED) \
libsmpi_la_LDFLAGS = $(VERSION_INFO) @SMPI_DEP@ @LD_DYNAMIC_FLAGS@ -lm
if HAVE_RUBY
+lib_LTLIBRARIES += simgrid_ruby.la
simgrid_ruby_la_LIBADD = libsimgrid.la
simgrid_ruby_la_SOURCES = bindings/ruby/simgrid_ruby.c
simgrid_ruby_la_LDFLAGS = $(VERSION_INFO) @LD_DYNAMIC_FLAGS@ -lm -module
EXTRA_DIST+=$(JMSG_C_SRC) $(JMSG_JAVA_SRC) $(MSG_SRC)
endif
-LUA_SRC= simix/smx_context_lua.c bindings/lua/Msglua.c
+LUA_SRC= simix/smx_context_lua.c bindings/lua/simgrid_lua.c #bindings/lua/Msglua.c
if HAVE_LUA
simgrid_sources += $(LUA_SRC)
else
else
process = SIMIX_process_create(parse_argv[0], parse_code, NULL, parse_host, parse_argc, parse_argv, /*the props */
current_property_set);
- /* verify if process has been created */
+ /* verify if process has been created (won't be the case if the host is currently dead, but that's fine) */
if (!process) {
xbt_free(parse_host);
return;
if (xbt_swag_size(simix_global->process_to_run) && (elapsed_time > 0)) {
DEBUG0("**************************************************");
}
+ DEBUG1("%d processes in the to_run list",xbt_swag_size(simix_global->process_to_run));
while ((process = xbt_swag_extract(simix_global->process_to_run))) {
DEBUG2("Scheduling %s on %s", process->name, process->smx_host->name);