Browse Source

add missing copyright

Nathalie Furmento 8 years ago
parent
commit
e6e99024f7

+ 15 - 0
starpu.mk

@@ -1,3 +1,18 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016  Université de Bordeaux
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 showcheck:
 showcheck:
 	-cat $(TEST_LOGS) /dev/null
 	-cat $(TEST_LOGS) /dev/null
 	@! grep -q "ERROR: AddressSanitizer: " $(TEST_LOGS) /dev/null
 	@! grep -q "ERROR: AddressSanitizer: " $(TEST_LOGS) /dev/null

+ 15 - 0
tools/cppcheck/suppressions.txt

@@ -1,3 +1,18 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2017       CNRS
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 memleakOnRealloc
 memleakOnRealloc
 knownConditionTrueFalse
 knownConditionTrueFalse
 variableScope
 variableScope

+ 15 - 0
tools/dev/experimental/modes/fix_cocci_output.py

@@ -1,5 +1,20 @@
 #!/usr/bin/env python
 #!/usr/bin/env python
 
 
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2012 INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 import sys
 import sys
 import re
 import re
 
 

+ 15 - 0
tools/dev/experimental/modes/fix_cocci_output_test.c

@@ -1,3 +1,18 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2012 INRIA
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 struct starpu_codelet cl =
 struct starpu_codelet cl =
 {
 {
 	.where = STARPU_CPU,
 	.where = STARPU_CPU,

+ 15 - 0
tools/dev/experimental/modes/modes.cocci

@@ -1,3 +1,18 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2012 INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 /*
 /*
  * KNOWN BUGS :
  * KNOWN BUGS :
  *
  *

+ 15 - 0
tools/dev/experimental/modes/modes.sh

@@ -1,5 +1,20 @@
 #!/bin/bash
 #!/bin/bash
 
 
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2012 INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 PREFIX=tools/dev/experimental/modes/
 PREFIX=tools/dev/experimental/modes/
 tmp=`mktemp`
 tmp=`mktemp`
 
 

+ 15 - 0
tools/dev/experimental/modes/modes_test.c

@@ -1,3 +1,18 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2012 INRIA
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 /* Dont change anything ! */
 /* Dont change anything ! */
 struct starpu_codelet cummy_cl = 
 struct starpu_codelet cummy_cl = 
 {
 {

+ 17 - 0
tools/dev/experimental/unchecked_starpu_function_calls_test.c

@@ -1,3 +1,20 @@
+/*
+ * StarPU --- Runtime system for heterogeneous multicore architectures.
+ *
+ * Copyright (C) 2012 INRIA
+ *
+ * StarPU is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
+ *
+ * StarPU is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * See the GNU Lesser General Public License in COPYING.LGPL for more details.
+ */
+
 static void
 static void
 f(void)
 f(void)
 {
 {

+ 16 - 0
tools/dev/experimental/use_starpu_pthread_macros_test.c

@@ -1,3 +1,19 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2011-2012 INRIA
+// Copyright (C) 2011 CNRS
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 static void
 static void
 foo(void)
 foo(void)
 {
 {

+ 15 - 0
tools/dev/experimental/use_starpu_unlikely_test.c

@@ -1,3 +1,18 @@
+// StarPU --- Runtime system for heterogeneous multicore architectures.
+//
+// Copyright (C) 2012 INRIA
+//
+// StarPU is free software; you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation; either version 2.1 of the License, or (at
+// your option) any later version.
+//
+// StarPU is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+//
+// See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 void
 void
 foo(void)
 foo(void)
 {
 {

+ 15 - 0
tools/dev/internal/starpu_check_braces.sh

@@ -1,5 +1,20 @@
 #!/bin/sh
 #!/bin/sh
 
 
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016 CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 for d in tools src tests examples
 for d in tools src tests examples
 do
 do
     for ext in c h cl cu
     for ext in c h cl cu

+ 47 - 28
tools/dev/starpu_check_public.sh

@@ -4,7 +4,7 @@
 
 
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
 #
-# Copyright (C) 2011, 2012, 2015 CNRS
+# Copyright (C) 2011, 2012, 2015, 2017 CNRS
 # Copyright (C) 2011 INRIA
 # Copyright (C) 2011 INRIA
 #
 #
 # StarPU is free software; you can redistribute it and/or modify
 # StarPU is free software; you can redistribute it and/or modify
@@ -22,43 +22,62 @@ stcolor=$(tput sgr0)
 redcolor=$(tput setaf 1)
 redcolor=$(tput setaf 1)
 greencolor=$(tput setaf 2)
 greencolor=$(tput setaf 2)
 
 
-functions=$(spatch -very_quiet -sp_file doc/doxygen/dev/starpu_funcs.cocci $(find include -name '*.h'))
-for func in $functions ; do
+test_()
+{
+    INCLUDE=$1
+    INCLUDE_FILES=$(find $INCLUDE -name '*.h')
+    shift
+    echo "Check include files in directory <$INCLUDE> against $*"
+    ok=1
+
+    functions=$(spatch -very_quiet -sp_file doc/doxygen/dev/starpu_funcs.cocci $INCLUDE_FILES)
+    for func in $functions ; do
 	fname=$(echo $func|awk -F ',' '{print $1}')
 	fname=$(echo $func|awk -F ',' '{print $1}')
 	location=$(echo $func|awk -F ',' '{print $2}')
 	location=$(echo $func|awk -F ',' '{print $2}')
-	x=$(grep -rs "$fname" examples tests mpi starpufft gcc-plugin tools src/sched_policies)
+	x=$(grep -rs "$fname" $*)
 	if test "$x" == "" ; then
 	if test "$x" == "" ; then
+	    ok=0
 	    echo "function ${redcolor}${fname}${stcolor} at location ${redcolor}$location${stcolor} is not used in any examples or tests"
 	    echo "function ${redcolor}${fname}${stcolor} at location ${redcolor}$location${stcolor} is not used in any examples or tests"
 	fi
 	fi
-done
+    done
 
 
-echo
+    echo
 
 
-structs=$(grep "struct starpu" $(find include -name '*.h') | grep -v "[;|,|(|)]" | awk '{print $2}')
-for struct in $structs ; do
-    x=$(grep -rs "struct $struct" examples tests mpi starpufft gcc-plugin tools src/sched_policies)
-    if test "$x" == "" ; then
-	echo "struct ${redcolor}${struct}${stcolor} is not used in any examples or tests"
-    fi
-done
+    structs=$(grep "struct starpu" $INCLUDE_FILES | grep -v "[;|,|(|)]" | awk '{print $2}')
+    for struct in $structs ; do
+	x=$(grep -rs "struct $struct" $*)
+	if test "$x" == "" ; then
+	    ok=0
+	    echo "struct ${redcolor}${struct}${stcolor} is not used in any examples or tests"
+	fi
+    done
 
 
-echo
+    echo
 
 
-enums=$(grep "enum starpu" $(find include -name '*.h') | grep -v "[;|,|(|)]" | awk '{print $2}')
-for enum in $enums ; do
-    x=$(grep -rs "enum $enum" examples tests mpi starpufft gcc-plugin tools src/sched_policies)
-    if test "$x" == "" ; then
-	echo "enum ${redcolor}${enum}${stcolor} is not used in any examples or tests"
-    fi
-done
+    enums=$(grep "enum starpu" $INCLUDE_FILES | grep -v "[;|,|(|)]" | awk '{print $2}')
+    for enum in $enums ; do
+	x=$(grep -rs "enum $enum" $*)
+	if test "$x" == "" ; then
+	    ok=0
+	    echo "enum ${redcolor}${enum}${stcolor} is not used in any examples or tests"
+	fi
+    done
+
+    echo
 
 
-echo
+    macros=$(grep "define\b" $INCLUDE_FILES|grep -v deprecated|grep "#" | grep -v "__" | sed 's/#[ ]*/#/g' | awk '{print $2}' | awk -F'(' '{print $1}' | sort|uniq)
+    for macro in $macros ; do
+	x=$(grep -rs "$macro" $*)
+	if test "$x" == "" ; then
+	    ok=0
+	    echo "macro ${redcolor}${macro}${stcolor} is not used in any examples or tests"
+	fi
+    done
 
 
-macros=$(grep "define\b" include/*|grep -v deprecated|grep "#" | grep -v "__" | sed 's/#[ ]*/#/g' | awk '{print $2}' | awk -F'(' '{print $1}' | sort|uniq)
-for macro in $macros ; do
-    x=$(grep -rs "$macro" examples tests mpi starpufft gcc-plugin tools src/sched_policies)
-    if test "$x" == "" ; then
-	echo "macro ${redcolor}${macro}${stcolor} is not used in any examples or tests"
+    if test "$ok" == "1" ; then
+	echo "All OK"
     fi
     fi
-done
+}
 
 
+test_ include examples tests mpi/src starpufft gcc-plugin tools src/sched_policies
+test_ mpi/include mpi/src mpi/examples

+ 16 - 0
tools/lsan/libc.suppr

@@ -1 +1,17 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016  Université de Bordeaux
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 leak:lt__malloc
 leak:lt__malloc

+ 15 - 0
tools/lsan/openmpi.suppr

@@ -1,3 +1,18 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016-2017  Université de Bordeaux
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 leak:ompi_free_list_grow
 leak:ompi_free_list_grow
 leak:opal_dss_unpack_value
 leak:opal_dss_unpack_value
 leak:opal_dss_copy_value
 leak:opal_dss_copy_value

+ 17 - 0
tools/perfmodels/README

@@ -1,3 +1,20 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2014-2016  Université de Bordeaux
+# Copyright (C) 2014       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 This directory contains performance models for given architectures and
 This directory contains performance models for given architectures and
 examples.
 examples.
 
 

+ 19 - 5
tools/starpu_mlr_analysis.Rmd

@@ -1,3 +1,17 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016  Inria
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
 
 ```{r Setup, echo=FALSE}
 ```{r Setup, echo=FALSE}
 opts_chunk$set(echo=FALSE)
 opts_chunk$set(echo=FALSE)
@@ -18,7 +32,7 @@ print_codelet <- function(reg,codelet){
    cat(paste("\t if (", codelet, ".model->combinations)", "\n", "\t {\n", sep=""))
    cat(paste("\t if (", codelet, ".model->combinations)", "\n", "\t {\n", sep=""))
    cat(paste("\t   for (unsigned i = 0; i < ", codelet, ".model->ncombinations; i++)", "\n", "\t   {\n", sep=""))
    cat(paste("\t   for (unsigned i = 0; i < ", codelet, ".model->ncombinations; i++)", "\n", "\t   {\n", sep=""))
    cat(paste("\t     ", codelet, ".model->combinations[i] = (unsigned *) malloc(", codelet, ".model->nparameters*sizeof(unsigned))", ";\n", "\t   }\n", "\t }\n\n", sep=""))
    cat(paste("\t     ", codelet, ".model->combinations[i] = (unsigned *) malloc(", codelet, ".model->nparameters*sizeof(unsigned))", ";\n", "\t   }\n", "\t }\n\n", sep=""))
-   
+
    # Computing combinations
    # Computing combinations
    df <- data.frame(attr(reg$terms, "factors"))
    df <- data.frame(attr(reg$terms, "factors"))
    df <- df/2
    df <- df/2
@@ -41,7 +55,7 @@ print_codelet <- function(reg,codelet){
    options(warn=0)
    options(warn=0)
 
 
    i=1
    i=1
-   j=1 
+   j=1
    for(j in (2:length(df)))
    for(j in (2:length(df)))
    {
    {
      for(i in (1:nrow(df)))
      for(i in (1:nrow(df)))
@@ -79,7 +93,7 @@ task.
 
 
 In order to run the analysis you need to have R installed:
 In order to run the analysis you need to have R installed:
 
 
-    sudo apt-get install r-base 
+    sudo apt-get install r-base
 
 
 In order to compile this document, you need *knitr* (although you can
 In order to compile this document, you need *knitr* (although you can
 perfectly only use the R code from this document without knitr). If
 perfectly only use the R code from this document without knitr). If
@@ -140,7 +154,7 @@ model is perfect and we should always inspect the adjusted R^2 value
 are not common to the multiple linear regression analysis and R tools,
 are not common to the multiple linear regression analysis and R tools,
 we suggest to the R documentation. Some explanations are also provided
 we suggest to the R documentation. Some explanations are also provided
 in the following article https://hal.inria.fr/hal-01180272.
 in the following article https://hal.inria.fr/hal-01180272.
-       
+
 In this example, all parameters M, N, K are very important. However,
 In this example, all parameters M, N, K are very important. However,
 it is not clear if there are some relations between them or if some of
 it is not clear if there are some relations between them or if some of
 these parameters should be used with an exponent. Moreover, adjusted
 these parameters should be used with an exponent. Moreover, adjusted
@@ -239,4 +253,4 @@ print_codelet(model4, "mlr_cl")
 We have computed the model for our benchmarked data using multiple
 We have computed the model for our benchmarked data using multiple
 linear regression. After encoding this model into the task code,
 linear regression. After encoding this model into the task code,
 StarPU will be able to automatically compute the coefficients and use
 StarPU will be able to automatically compute the coefficients and use
-the model to predict task duration.
+the model to predict task duration.

+ 28 - 13
tools/starpu_paje_summary.Rmd

@@ -1,3 +1,18 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016  Inria
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 <div id="table-of-contents">
 <div id="table-of-contents">
 <h2>Table of Contents</h2>
 <h2>Table of Contents</h2>
 <div id="text-table-of-contents">
 <div id="text-table-of-contents">
@@ -26,7 +41,7 @@ opts_chunk$set(echo=FALSE)
 
 
 
 
 ```{r Install_R_libraries}
 ```{r Install_R_libraries}
-InstalledPackage <- function(package) 
+InstalledPackage <- function(package)
 {
 {
     available <- suppressMessages(suppressWarnings(sapply(package, require, quietly = TRUE, character.only = TRUE, warn.conflicts = FALSE)))
     available <- suppressMessages(suppressWarnings(sapply(package, require, quietly = TRUE, character.only = TRUE, warn.conflicts = FALSE)))
     missing <- package[!available]
     missing <- package[!available]
@@ -39,12 +54,12 @@ CRANChoosen <- function()
     return(getOption("repos")["CRAN"] != "@CRAN@")
     return(getOption("repos")["CRAN"] != "@CRAN@")
 }
 }
 
 
-UsePackage <- function(package, defaultCRANmirror = "http://cran.at.r-project.org") 
+UsePackage <- function(package, defaultCRANmirror = "http://cran.at.r-project.org")
 {
 {
     if(!InstalledPackage(package))
     if(!InstalledPackage(package))
     {
     {
 	if(!CRANChoosen())
 	if(!CRANChoosen())
-	{       
+	{
 	    chooseCRANmirror()
 	    chooseCRANmirror()
 	    if(!CRANChoosen())
 	    if(!CRANChoosen())
 	    {
 	    {
@@ -60,8 +75,8 @@ UsePackage <- function(package, defaultCRANmirror = "http://cran.at.r-project.or
 
 
 # Now install desired libraries
 # Now install desired libraries
 libraries <- c("ggplot2", "plyr", "data.table", "RColorBrewer")
 libraries <- c("ggplot2", "plyr", "data.table", "RColorBrewer")
-for(libr in libraries) 
-{ 
+for(libr in libraries)
+{
     if(!UsePackage(libr))
     if(!UsePackage(libr))
     {
     {
 	stop("Error!", libr)
 	stop("Error!", libr)
@@ -74,7 +89,7 @@ for(libr in libraries)
    library(ggplot2)
    library(ggplot2)
    library(plyr)
    library(plyr)
    library(data.table)
    library(data.table)
-   library(RColorBrewer) 
+   library(RColorBrewer)
 
 
 # Defining non-computation states:
 # Defining non-computation states:
 def_states<-c("Initializing","Deinitializing","Overhead","Nothing","Sleeping","Freeing","Allocating","WritingBack","FetchingInput","PushingOutput","Callback","Progressing","Unpartitioning","AllocatingReuse","Reclaiming","DriverCopy","DriverCopyAsync","Scheduling","Executing")
 def_states<-c("Initializing","Deinitializing","Overhead","Nothing","Sleeping","Freeing","Allocating","WritingBack","FetchingInput","PushingOutput","Callback","Progressing","Unpartitioning","AllocatingReuse","Reclaiming","DriverCopy","DriverCopyAsync","Scheduling","Executing")
@@ -170,7 +185,7 @@ exactly happened during the StarPU execution.
 
 
 In order to run this analysis you need to have R installed:
 In order to run this analysis you need to have R installed:
 
 
-    sudo apt-get install r-base 
+    sudo apt-get install r-base
 
 
 Easiest way to transform *paje* traces generated by StarPU to *.csv* is to use *pjdump* program (<https://github.com/schnorr/pajeng>), so we encourage users to install it.
 Easiest way to transform *paje* traces generated by StarPU to *.csv* is to use *pjdump* program (<https://github.com/schnorr/pajeng>), so we encourage users to install it.
 
 
@@ -195,9 +210,9 @@ behavior at a certain part of the trace, we strongly suggest to zoom
 on the interval it occurred.
 on the interval it occurred.
 
 
 ```{r Gantt1}
 ```{r Gantt1}
-ggplot(df,aes(x=Start,xend=End, y=factor(ResourceId), yend=factor(ResourceId),color=Value)) + 
- theme_bw() + scale_color_manual(name="State",values=getPalette(colourCount)) + 
- geom_segment(size=8) + ylab("Resource") + xlab("Time [ms]") + 
+ggplot(df,aes(x=Start,xend=End, y=factor(ResourceId), yend=factor(ResourceId),color=Value)) +
+ theme_bw() + scale_color_manual(name="State",values=getPalette(colourCount)) +
+ geom_segment(size=8) + ylab("Resource") + xlab("Time [ms]") +
  facet_wrap(~Origin,ncol=1,scale="free_y")
  facet_wrap(~Origin,ncol=1,scale="free_y")
 ```
 ```
 
 
@@ -216,9 +231,9 @@ different from the previous one.
   df1$End <- df1$Start+df1$Duration
   df1$End <- df1$Start+df1$Duration
 
 
 # Plot
 # Plot
- ggplot(df1,aes(x=Start,xend=End, y=factor(ResourceId), yend=factor(ResourceId),color=Value)) + 
-  theme_bw() + scale_color_manual(name="State",values=getPalette(colourCount)) + 
-  geom_segment(size=8) + ylab("Resource") + xlab("Time [ms]") + 
+ ggplot(df1,aes(x=Start,xend=End, y=factor(ResourceId), yend=factor(ResourceId),color=Value)) +
+  theme_bw() + scale_color_manual(name="State",values=getPalette(colourCount)) +
+  geom_segment(size=8) + ylab("Resource") + xlab("Time [ms]") +
   facet_wrap(~Origin,ncol=1,scale="free_y")
   facet_wrap(~Origin,ncol=1,scale="free_y")
 ```
 ```
 
 

+ 15 - 0
tools/tsan/starpu.suppr

@@ -1,3 +1,18 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2015-2016  Université de Bordeaux
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
 # Disabled checking
 # Disabled checking
 race:^active_hook_cnt$
 race:^active_hook_cnt$
 race:^worker_exp_start$
 race:^worker_exp_start$

+ 16 - 0
tools/valgrind/fxt.suppr

@@ -1,3 +1,19 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    <insert_a_suppression_name_here>
    <insert_a_suppression_name_here>
    Memcheck:Leak
    Memcheck:Leak

+ 17 - 0
tools/valgrind/hwloc.suppr

@@ -1,3 +1,20 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2015  Université de Bordeaux
+# Copyright (C) 2012, 2016, 2017       CNRS
+# Copyright (C) 2012 INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
 
 
 {
 {
    <insert_a_suppression_name_here>
    <insert_a_suppression_name_here>

+ 17 - 0
tools/valgrind/libc.suppr

@@ -1,3 +1,20 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2014-2016  Université de Bordeaux
+# Copyright (C) 2014,2016  CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    Ignore libc aio-internal races
    Ignore libc aio-internal races
    Helgrind:Race
    Helgrind:Race

+ 16 - 0
tools/valgrind/libgomp.suppr

@@ -1,3 +1,19 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2015-2016       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    gomp1
    gomp1
    Memcheck:Leak
    Memcheck:Leak

+ 17 - 0
tools/valgrind/libnuma.suppr

@@ -1,3 +1,20 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2012 CNRS
+# Copyright (C) 2012 INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    libnuma error
    libnuma error
    Memcheck:Cond
    Memcheck:Cond

+ 15 - 1
tools/valgrind/madmpi.suppr

@@ -1,4 +1,18 @@
-
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
 
 
 {
 {
    <insert_a_suppression_name_here>
    <insert_a_suppression_name_here>

+ 17 - 0
tools/valgrind/opencl.suppr

@@ -1,3 +1,20 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016  Université de Bordeaux
+# Copyright (C) 2016  CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    <insert_a_suppression_name_here>
    <insert_a_suppression_name_here>
    Memcheck:Leak
    Memcheck:Leak

+ 16 - 0
tools/valgrind/openmp.suppr

@@ -1,3 +1,19 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2017       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    <insert_a_suppression_name_here>
    <insert_a_suppression_name_here>
    Memcheck:Leak
    Memcheck:Leak

+ 18 - 0
tools/valgrind/openmpi.suppr

@@ -1,3 +1,21 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2014-2016  Université de Bordeaux
+# Copyright (C) 2012-2016  CNRS
+# Copyright (C) 2012       INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    suppr1
    suppr1
    Memcheck:Param
    Memcheck:Param

+ 16 - 0
tools/valgrind/padico.suppr

@@ -1,3 +1,19 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    <insert_a_suppression_name_here>
    <insert_a_suppression_name_here>
    Memcheck:Param
    Memcheck:Param

+ 18 - 0
tools/valgrind/pthread.suppr

@@ -1,3 +1,21 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2013  Université de Bordeaux
+# Copyright (C) 2012  CNRS
+# Copyright (C) 2012  INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    pthread_create
    pthread_create
    Memcheck:Leak
    Memcheck:Leak

+ 18 - 0
tools/valgrind/starpu.suppr

@@ -1,3 +1,21 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2013-2016  Université de Bordeaux
+# Copyright (C) 2012       CNRS
+# Copyright (C) 2012       INRIA
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    don't care about cache hit stats
    don't care about cache hit stats
    Helgrind:Race
    Helgrind:Race

+ 16 - 0
tools/valgrind/valgrind.suppr

@@ -1,3 +1,19 @@
+# StarPU --- Runtime system for heterogeneous multicore architectures.
+#
+# Copyright (C) 2016       CNRS
+#
+# StarPU is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+#
+
 {
 {
    valgrind_suppr1
    valgrind_suppr1
    Memcheck:Leak
    Memcheck:Leak