double start = 0.0;
double now = 0.0;
- gras_init(&argc, argv, NULL);
+ gras_init(&argc, argv);
A = malloc(n*n*sizeof(double));
B = malloc(n*n*sizeof(double));
int multiplier (int argc,char *argv[])
{
- gras_init(&argc, argv, NULL);
+ gras_init(&argc, argv);
mat_mult(10);
mat_mult(20);
int port = 4000;
/* 1. Init the GRAS infrastructure and declare my globals */
- gras_init(&argc,argv, NULL);
+ gras_init(&argc,argv);
globals=gras_userdata_new(server_data_t);
/* 2. Get the port I should listen on from the command line, if specified */
int port = 4000;
/* 1. Init the GRAS's infrastructure */
- gras_init(&argc, argv, NULL);
+ gras_init(&argc, argv);
/* 2. Get the server's address. The command line override defaults when specified */
if (argc == 3) {
int cpt;
my_globals *globals;
- gras_init(&argc,argv,NULL);
+ gras_init(&argc,argv);
globals=gras_userdata_new(my_globals);
globals->still_to_do = -1;
/* 1. Init the GRAS infrastructure and declare my globals */
- gras_init(&argc,argv, NULL);
+ gras_init(&argc,argv);
globals=gras_userdata_new(node_data_t);
free(globals);
gras_exit();
- INFO0("Done");
return no_error;
} /* end_of_node */
typedef int (*xbt_module_finalize_fct_t)(void);
void xbt_init(int *argc,char **argv);
-void xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog);
void xbt_exit(void);
#endif /* _XBT_MODULE_H */
#define XBT_MODINTER_H
/* Modules definitions */
-void xbt_log_init(int *argc,char **argv, const char *defaultlog);
+void xbt_log_init(int *argc,char **argv);
void xbt_log_exit(void);
#endif /* XBT_MODINTER_H */