diff --git a/fortran/sharp.f90 b/fortran/sharp.f90 index d6b5eee3cd8e99946739afcf4e211958a09ca20f..e777da6d93ba7faf900773234b74301cd3bcd2c7 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 78e6c169d254c714956a042dfcd5372643ca26ed..1eb3ca172dc91aca63314e93ee5cc0f0e9de8590 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 diff --git a/python/setup.py b/python/setup.py index f70ef07e5bf9b8cedde979f93c47bedc3f88f87b..52a7d0bc2e5d814e934ab11d96cda852cfd2fc7e 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)]