X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1b6e2902ec901add541414c951f3e4bf7e27c24d..4148ba9dc31c0ddf0e1b9bc520d67a6ee8970d56:/src/smpi/smpi_main.c diff --git a/src/smpi/smpi_main.c b/src/smpi/smpi_main.c new file mode 100644 index 0000000000..d19415627c --- /dev/null +++ b/src/smpi/smpi_main.c @@ -0,0 +1,19 @@ +/* Copyright (c) 2007-2015. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + +#include +#include + +#include + +int main(int argc, char **argv) +{ + if (argc < 2) { + fprintf(stderr, "Missing SMPI program to launch\n"); + exit(1); + } + return smpi_main(argv[1], argc - 1, argv + 1); +}