git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@972
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
/* 1. Init the GRAS's infrastructure */
gras_init(&argc, argv, NULL);
/* 1. Init the GRAS's infrastructure */
gras_init(&argc, argv, NULL);
- /* 2. Get the server's address from the command line, if specified */
+ /* 2. Get the server's address.
+ If in simulation, the default is not the same. In any case, the command line override defaults when specified */
+ if (gras_if_SG())
+ host = "Tremblay";
if (argc == 3) {
host=argv[1];
port=atoi(argv[2]);
if (argc == 3) {
host=argv[1];
port=atoi(argv[2]);