Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dl_open priv: manually copy the file w/o using cp
[simgrid.git] / src / smpi / smpi_main.c
1 /* Copyright (c) 2007-2015. 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
10 #include <smpi/smpi.h>
11
12 int main(int argc, char **argv)
13 {
14   if (argc < 2) {
15     fprintf(stderr, "Missing SMPI program to launch\n");
16     exit(1);
17   }
18   return smpi_main(argv[1], argc - 1, argv + 1);
19 }