Skip to content

Instantly share code, notes, and snippets.

View ggouaillardet's full-sized avatar

Gilles Gouaillardet ggouaillardet

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(10)
for i in range(1, 4):
plt.plot(x, i * x**2, label='Group %d' % i)
plt.legend(loc='best')
plt.show()
@ggouaillardet
ggouaillardet / autoconf.diff
Created July 22, 2019 08:09
autoconf patch for Homebrew
diff -ruN orig/autoconf-2.69/lib/autoconf/c.m4 autoconf-2.69/lib/autoconf/c.m4
--- orig/autoconf-2.69/lib/autoconf/c.m4 2012-01-21 22:46:39.000000000 +0900
+++ autoconf-2.69/lib/autoconf/c.m4 2019-07-22 17:01:36.000000000 +0900
@@ -1204,11 +1204,11 @@
# variable length arrays.
AC_DEFUN([_AC_PROG_CC_C99],
[_AC_C_STD_TRY([c99],
-[[#include <stdarg.h>
+[[#include <stdio.h>
+#include <stdarg.h>
diff --git a/ompi/mca/osc/rdma/osc_rdma.h b/ompi/mca/osc/rdma/osc_rdma.h
index b3743f2..ca578ab 100644
--- a/ompi/mca/osc/rdma/osc_rdma.h
+++ b/ompi/mca/osc/rdma/osc_rdma.h
@@ -13,6 +13,8 @@
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved.
* Copyright (c) 2016-2018 Intel, Inc. All rights reserved.
+ * Copyright (c) 2019 Triad National Security, LLC. All rights
+ * reserved.
diff --git a/ompi/datatype/ompi_datatype_args.c b/ompi/datatype/ompi_datatype_args.c
index 737d3e5..cc50bc9 100644
--- a/ompi/datatype/ompi_datatype_args.c
+++ b/ompi/datatype/ompi_datatype_args.c
@@ -13,8 +13,8 @@
* Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
* Copyright (c) 2013-2017 Los Alamos National Security, LLC. All rights
* reserved.
- * Copyright (c) 2015-2017 Research Organization for Information Science
- * and Technology (RIST). All rights reserved.
diff --git a/ompi/mca/osc/rdma/osc_rdma_accumulate.c b/ompi/mca/osc/rdma/osc_rdma_accumulate.c
index 31c3fc29be..c94c739e15 100644
--- a/ompi/mca/osc/rdma/osc_rdma_accumulate.c
+++ b/ompi/mca/osc/rdma/osc_rdma_accumulate.c
@@ -2,9 +2,11 @@
/*
* Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
* reserved.
- * Copyright (c) 2016-2017 Research Organization for Information Science
- * and Technology (RIST). All rights reserved.