Skip to content

Commit 674f20d

Browse files
committed
Update headers to BSD license
1 parent 35a8070 commit 674f20d

29 files changed

+819
-427
lines changed

HPCCG.cpp

+27-15
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,37 @@
88
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
99
// license for use of this work by or on behalf of the U.S. Government.
1010
//
11-
// This library is free software; you can redistribute it and/or modify
12-
// it under the terms of the GNU Lesser General Public License as
13-
// published by the Free Software Foundation; either version 2.1 of the
14-
// License, or (at your option) any later version.
15-
//
16-
// This library is distributed in the hope that it will be useful, but
17-
// WITHOUT ANY WARRANTY; without even the implied warranty of
18-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19-
// Lesser General Public License for more details.
20-
//
21-
// You should have received a copy of the GNU Lesser General Public
22-
// License along with this library; if not, write to the Free Software
23-
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24-
// USA
11+
// BSD 3-Clause License
12+
//
13+
// Redistribution and use in source and binary forms, with or without
14+
// modification, are permitted provided that the following conditions are met:
15+
//
16+
// * Redistributions of source code must retain the above copyright notice, this
17+
// list of conditions and the following disclaimer.
18+
//
19+
// * Redistributions in binary form must reproduce the above copyright notice,
20+
// this list of conditions and the following disclaimer in the documentation
21+
// and/or other materials provided with the distribution.
22+
//
23+
// * Neither the name of the copyright holder nor the names of its
24+
// contributors may be used to endorse or promote products derived from
25+
// this software without specific prior written permission.
26+
//
27+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
//
2538
// Questions? Contact Michael A. Heroux ([email protected])
2639
//
2740
// ************************************************************************
2841
//@HEADER
29-
3042
/////////////////////////////////////////////////////////////////////////
3143

3244
// Routine to compute an approximate solution to Ax = b where:

HPCCG.hpp

+27-14
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,33 @@
88
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
99
// license for use of this work by or on behalf of the U.S. Government.
1010
//
11-
// This library is free software; you can redistribute it and/or modify
12-
// it under the terms of the GNU Lesser General Public License as
13-
// published by the Free Software Foundation; either version 2.1 of the
14-
// License, or (at your option) any later version.
15-
//
16-
// This library is distributed in the hope that it will be useful, but
17-
// WITHOUT ANY WARRANTY; without even the implied warranty of
18-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19-
// Lesser General Public License for more details.
20-
//
21-
// You should have received a copy of the GNU Lesser General Public
22-
// License along with this library; if not, write to the Free Software
23-
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24-
// USA
11+
// BSD 3-Clause License
12+
//
13+
// Redistribution and use in source and binary forms, with or without
14+
// modification, are permitted provided that the following conditions are met:
15+
//
16+
// * Redistributions of source code must retain the above copyright notice, this
17+
// list of conditions and the following disclaimer.
18+
//
19+
// * Redistributions in binary form must reproduce the above copyright notice,
20+
// this list of conditions and the following disclaimer in the documentation
21+
// and/or other materials provided with the distribution.
22+
//
23+
// * Neither the name of the copyright holder nor the names of its
24+
// contributors may be used to endorse or promote products derived from
25+
// this software without specific prior written permission.
26+
//
27+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
//
2538
// Questions? Contact Michael A. Heroux ([email protected])
2639
//
2740
// ************************************************************************

HPC_Sparse_Matrix.cpp

+41
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
2+
//@HEADER
3+
// ************************************************************************
4+
//
5+
// HPCCG: Simple Conjugate Gradient Benchmark Code
6+
// Copyright (2006) Sandia Corporation
7+
//
8+
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
9+
// license for use of this work by or on behalf of the U.S. Government.
10+
//
11+
// BSD 3-Clause License
12+
//
13+
// Redistribution and use in source and binary forms, with or without
14+
// modification, are permitted provided that the following conditions are met:
15+
//
16+
// * Redistributions of source code must retain the above copyright notice, this
17+
// list of conditions and the following disclaimer.
18+
//
19+
// * Redistributions in binary form must reproduce the above copyright notice,
20+
// this list of conditions and the following disclaimer in the documentation
21+
// and/or other materials provided with the distribution.
22+
//
23+
// * Neither the name of the copyright holder nor the names of its
24+
// contributors may be used to endorse or promote products derived from
25+
// this software without specific prior written permission.
26+
//
27+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
//
38+
// Questions? Contact Michael A. Heroux ([email protected])
39+
//
40+
// ************************************************************************
41+
//@HEADER
142
#include "HPC_Sparse_Matrix.hpp"
243

344
#ifdef USING_MPI

HPC_Sparse_Matrix.hpp

+27-14
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,33 @@
88
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
99
// license for use of this work by or on behalf of the U.S. Government.
1010
//
11-
// This library is free software; you can redistribute it and/or modify
12-
// it under the terms of the GNU Lesser General Public License as
13-
// published by the Free Software Foundation; either version 2.1 of the
14-
// License, or (at your option) any later version.
15-
//
16-
// This library is distributed in the hope that it will be useful, but
17-
// WITHOUT ANY WARRANTY; without even the implied warranty of
18-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19-
// Lesser General Public License for more details.
20-
//
21-
// You should have received a copy of the GNU Lesser General Public
22-
// License along with this library; if not, write to the Free Software
23-
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24-
// USA
11+
// BSD 3-Clause License
12+
//
13+
// Redistribution and use in source and binary forms, with or without
14+
// modification, are permitted provided that the following conditions are met:
15+
//
16+
// * Redistributions of source code must retain the above copyright notice, this
17+
// list of conditions and the following disclaimer.
18+
//
19+
// * Redistributions in binary form must reproduce the above copyright notice,
20+
// this list of conditions and the following disclaimer in the documentation
21+
// and/or other materials provided with the distribution.
22+
//
23+
// * Neither the name of the copyright holder nor the names of its
24+
// contributors may be used to endorse or promote products derived from
25+
// this software without specific prior written permission.
26+
//
27+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
//
2538
// Questions? Contact Michael A. Heroux ([email protected])
2639
//
2740
// ************************************************************************

HPC_sparsemv.cpp

+27-14
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,33 @@
88
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
99
// license for use of this work by or on behalf of the U.S. Government.
1010
//
11-
// This library is free software; you can redistribute it and/or modify
12-
// it under the terms of the GNU Lesser General Public License as
13-
// published by the Free Software Foundation; either version 2.1 of the
14-
// License, or (at your option) any later version.
15-
//
16-
// This library is distributed in the hope that it will be useful, but
17-
// WITHOUT ANY WARRANTY; without even the implied warranty of
18-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19-
// Lesser General Public License for more details.
20-
//
21-
// You should have received a copy of the GNU Lesser General Public
22-
// License along with this library; if not, write to the Free Software
23-
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24-
// USA
11+
// BSD 3-Clause License
12+
//
13+
// Redistribution and use in source and binary forms, with or without
14+
// modification, are permitted provided that the following conditions are met:
15+
//
16+
// * Redistributions of source code must retain the above copyright notice, this
17+
// list of conditions and the following disclaimer.
18+
//
19+
// * Redistributions in binary form must reproduce the above copyright notice,
20+
// this list of conditions and the following disclaimer in the documentation
21+
// and/or other materials provided with the distribution.
22+
//
23+
// * Neither the name of the copyright holder nor the names of its
24+
// contributors may be used to endorse or promote products derived from
25+
// this software without specific prior written permission.
26+
//
27+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
//
2538
// Questions? Contact Michael A. Heroux ([email protected])
2639
//
2740
// ************************************************************************

HPC_sparsemv.hpp

+27-14
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,33 @@
88
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
99
// license for use of this work by or on behalf of the U.S. Government.
1010
//
11-
// This library is free software; you can redistribute it and/or modify
12-
// it under the terms of the GNU Lesser General Public License as
13-
// published by the Free Software Foundation; either version 2.1 of the
14-
// License, or (at your option) any later version.
15-
//
16-
// This library is distributed in the hope that it will be useful, but
17-
// WITHOUT ANY WARRANTY; without even the implied warranty of
18-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19-
// Lesser General Public License for more details.
20-
//
21-
// You should have received a copy of the GNU Lesser General Public
22-
// License along with this library; if not, write to the Free Software
23-
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24-
// USA
11+
// BSD 3-Clause License
12+
//
13+
// Redistribution and use in source and binary forms, with or without
14+
// modification, are permitted provided that the following conditions are met:
15+
//
16+
// * Redistributions of source code must retain the above copyright notice, this
17+
// list of conditions and the following disclaimer.
18+
//
19+
// * Redistributions in binary form must reproduce the above copyright notice,
20+
// this list of conditions and the following disclaimer in the documentation
21+
// and/or other materials provided with the distribution.
22+
//
23+
// * Neither the name of the copyright holder nor the names of its
24+
// contributors may be used to endorse or promote products derived from
25+
// this software without specific prior written permission.
26+
//
27+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
//
2538
// Questions? Contact Michael A. Heroux ([email protected])
2639
//
2740
// ************************************************************************

Makefile

+39-26
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,44 @@
1-
#@HEADER
2-
# ************************************************************************
3-
#
4-
# HPCCG: Simple Conjugate Gradient Benchmark Code
5-
# Copyright (2006) Sandia Corporation
6-
#
7-
# Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
8-
# license for use of this work by or on behalf of the U.S. Government.
9-
#
10-
# This library is free software; you can redistribute it and/or modify
11-
# it under the terms of the GNU Lesser General Public License as
12-
# published by the Free Software Foundation; either version 2.1 of the
13-
# License, or (at your option) any later version.
1+
2+
# @HEADER
3+
# ***********************************************************************
144
#
15-
# This library is distributed in the hope that it will be useful, but
16-
# WITHOUT ANY WARRANTY; without even the implied warranty of
17-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
# Lesser General Public License for more details.
5+
# HPCCG: Simple Conjugate Gradient Benchmark Code
6+
# Copyright (2006) Sandia Corporation
197
#
20-
# You should have received a copy of the GNU Lesser General Public
21-
# License along with this library; if not, write to the Free Software
22-
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23-
# USA
24-
# Questions? Contact Michael A. Heroux ([email protected])
25-
#
26-
# ************************************************************************
27-
#@HEADER
28-
8+
# Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
9+
# license for use of this work by or on behalf of the U.S. Government.
10+
#
11+
# BSD 3-Clause License
12+
#
13+
# Redistribution and use in source and binary forms, with or without
14+
# modification, are permitted provided that the following conditions are met:
15+
#
16+
# * Redistributions of source code must retain the above copyright notice, this
17+
# list of conditions and the following disclaimer.
18+
#
19+
# * Redistributions in binary form must reproduce the above copyright notice,
20+
# this list of conditions and the following disclaimer in the documentation
21+
# and/or other materials provided with the distribution.
22+
#
23+
# * Neither the name of the copyright holder nor the names of its
24+
# contributors may be used to endorse or promote products derived from
25+
# this software without specific prior written permission.
26+
#
27+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37+
#
38+
# Questions? Contact Michael A. Heroux ([email protected])
39+
#
40+
# ************************************************************************
41+
# @HEADER
2942

3043
# Simple hand-tuned makefile. Modify as necessary for your environment.
3144
# Questions? Contact Mike Heroux ([email protected]).

0 commit comments

Comments
 (0)