A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve error message
[simgrid.git]
/
examples
/
smpi
/
MM
/
MM_mpi.c
diff --git
a/examples/smpi/MM/MM_mpi.c
b/examples/smpi/MM/MM_mpi.c
index df0b9bcc4db96b44bc335e772e6e8180614ae33e..871f83e4df90d92eb01b49f36693986014484be6 100644
(file)
--- a/
examples/smpi/MM/MM_mpi.c
+++ b/
examples/smpi/MM/MM_mpi.c
@@
-1,3
+1,9
@@
+/* Copyright (c) 2012, 2014. 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. */
+
/*
* Block Matrix Multiplication example
*
/*
* Block Matrix Multiplication example
*
@@
-11,11
+17,11
@@
/*int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);
int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);
*/
/*int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);
int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);
*/
+#include <stdio.h>
+#include <string.h>
#include <mpi.h>
#include <math.h>
#include <getopt.h>
#include <mpi.h>
#include <math.h>
#include <getopt.h>
-#include <stdio.h>
-#include <string.h>
XBT_LOG_NEW_DEFAULT_CATEGORY(MM_mpi,
"Messages specific for this msg example");
XBT_LOG_NEW_DEFAULT_CATEGORY(MM_mpi,
"Messages specific for this msg example");