Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tag cluster test
[simgrid.git] / teshsuite / simdag / platforms / basic_parsing_test.c
1 /* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include "simdag/simdag.h"
10
11 int main(int argc, char **argv)
12 {
13   /* initialisation of SD */
14   SD_init(&argc, argv);
15
16   /* creation of the environment */
17   SD_create_environment(argv[1]);
18
19   printf("\n\nWorkstation number: %d, link number: %d\n\n",
20          SD_workstation_get_number(), SD_link_get_number());
21
22   SD_exit();
23   return 0;
24 }