From 9a224759aef472620ab1d88e93b78ba734155f67 Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Fri, 6 Dec 2019 14:27:56 +0100 Subject: [PATCH 1/2] update library name --- python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index f70ef07..52a7d0b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -52,7 +52,7 @@ def get_extension_modules(): sources=['pysharp.cc'], include_dirs=include_dirs, extra_compile_args=extra_cc_compile_args, - libraries=["sharp"], + libraries=["sharp2"], library_dirs=[sharp_libpath], extra_link_args=python_module_link_args)] From 91f27c54b60ed4de1758ea762b0583604b6aaa03 Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Fri, 6 Dec 2019 21:21:20 +0100 Subject: [PATCH 2/2] add copyright headers --- fortran/sharp.f90 | 24 ++++++++++++++++++++++++ fortran/test_sharp.f90 | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/fortran/sharp.f90 b/fortran/sharp.f90 index d6b5eee..e777da6 100644 --- a/fortran/sharp.f90 +++ b/fortran/sharp.f90 @@ -1,3 +1,27 @@ +! This file is part of libsharp2. +! +! libsharp2 is free software; you can redistribute it and/or modify +! it under the terms of the GNU General Public License as published by +! the Free Software Foundation; either version 2 of the License, or +! (at your option) any later version. +! +! libsharp2 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 General Public License for more details. +! +! You should have received a copy of the GNU General Public License +! along with libsharp2; if not, write to the Free Software +! Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +! libsharp2 is being developed at the Max-Planck-Institut fuer Astrophysik + +! \file sharp.f90 +! Fortran wrapper module +! +! Copyright (C) 2019 Max-Planck-Society +! \author Dag Sverre Seljebotn, Martin Reinecke + module sharp use iso_c_binding implicit none diff --git a/fortran/test_sharp.f90 b/fortran/test_sharp.f90 index 78e6c16..1eb3ca1 100644 --- a/fortran/test_sharp.f90 +++ b/fortran/test_sharp.f90 @@ -1,3 +1,27 @@ +! This file is part of libsharp2. +! +! libsharp2 is free software; you can redistribute it and/or modify +! it under the terms of the GNU General Public License as published by +! the Free Software Foundation; either version 2 of the License, or +! (at your option) any later version. +! +! libsharp2 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 General Public License for more details. +! +! You should have received a copy of the GNU General Public License +! along with libsharp2; if not, write to the Free Software +! Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +! libsharp2 is being developed at the Max-Planck-Institut fuer Astrophysik + +! \file test_sharp.f90 +! Demo Fortran code +! +! Copyright (C) 2019 Max-Planck-Society +! \author Martin Reinecke + program test_sharp use mpi use sharp