Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nathanael Schaeffer
SHTns
Commits
dbdf4170
Commit
dbdf4170
authored
Jun 06, 2019
by
Nathanael Schaeffer
Browse files
fix: allow single-m Legendre transforms with --enable-magic-layout
parent
8301cdc4
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
dbdf4170
...
...
@@ -66,6 +66,10 @@ DOCUMENTATION:
CHANGE LOG:
-----------
*
v3.2.2 (6 Jun 2019)
-
Ishioka's reccurence can now be used with all normalizations. Will likely become the default soon.
-
Fix: allow single-m Legendre transforms with --enable-magic-layout.
*
v3.2.1 (5 Apr 2019)
-
Fix important bugs introduced in v3.2.
-
Use of Ishioka recurrence is no more the default, but can be activated with
`--enable-ishioka`
.
...
...
configure
View file @
dbdf4170
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for SHTns 3.2.
1
.
# Generated by GNU Autoconf 2.69 for SHTns 3.2.
2
.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
...
...
@@ -577,8 +577,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME
=
'SHTns'
PACKAGE_TARNAME
=
'shtns'
PACKAGE_VERSION
=
'3.2.
1
'
PACKAGE_STRING
=
'SHTns 3.2.
1
'
PACKAGE_VERSION
=
'3.2.
2
'
PACKAGE_STRING
=
'SHTns 3.2.
2
'
PACKAGE_BUGREPORT
=
''
PACKAGE_URL
=
'https://bitbucket.org/nschaeff/shtns'
...
...
@@ -1251,7 +1251,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
\`
configure' configures SHTns 3.2.
1
to adapt to many kinds of systems.
\`
configure' configures SHTns 3.2.
2
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
...
@@ -1312,7 +1312,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of SHTns 3.2.
1
:"
;;
short
|
recursive
)
echo
"Configuration of SHTns 3.2.
2
:"
;;
esac
cat
<<
\
_ACEOF
...
...
@@ -1420,7 +1420,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
SHTns configure 3.2.
1
SHTns configure 3.2.
2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
...
...
@@ -1877,7 +1877,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by SHTns
$as_me
3.2.
1
, which was
It was created by SHTns
$as_me
3.2.
2
, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0
$@
...
...
@@ -3385,41 +3385,6 @@ else
:
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -fomit-frame-pointer"
>
&5
$as_echo_n
"checking whether C compiler accepts -fomit-frame-pointer... "
>
&6
;
}
if
${
ax_cv_check_cflags___fomit_frame_pointer
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ax_check_save_flags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fomit-frame-pointer"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
ax_cv_check_cflags___fomit_frame_pointer
=
yes
else
ax_cv_check_cflags___fomit_frame_pointer
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CFLAGS
=
$ax_check_save_flags
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ax_cv_check_cflags___fomit_frame_pointer
"
>
&5
$as_echo
"
$ax_cv_check_cflags___fomit_frame_pointer
"
>
&6
;
}
if
test
x
"
$ax_cv_check_cflags___fomit_frame_pointer
"
=
xyes
;
then
:
CFLAGS
=
"
$CFLAGS
-fomit-frame-pointer"
else
:
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether C compiler accepts -std=gnu99"
>
&5
$as_echo_n
"checking whether C compiler accepts -std=gnu99... "
>
&6
;
}
if
${
ax_cv_check_cflags___std_gnu99
+
:
}
false
;
then
:
...
...
@@ -3957,7 +3922,7 @@ if test "x$enable_magic_layout" != "xno"; then :
enable_mem
=
no
#enable_ishioka=no # workaround unexplained bug
enable_many_core
=
yes
# optimize for many-core architecture
#
enable_many_core=yes # optimize for many-core architecture
$as_echo
"#define SHTNS4MAGIC 1"
>>
confdefs.h
...
...
@@ -5480,7 +5445,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by SHTns
$as_me
3.2.
1
, which was
This file was extended by SHTns
$as_me
3.2.
2
, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
...
...
@@ -5543,7 +5508,7 @@ _ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_version="
\\
SHTns config.status 3.2.
1
SHTns config.status 3.2.
2
configured by
$0
, generated by GNU Autoconf 2.69,
with options
\\
"
\$
ac_cs_config
\\
"
...
...
configure.ac
View file @
dbdf4170
...
...
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.62])
AC_INIT([SHTns],[3.2.
1
],[],[shtns],[https://bitbucket.org/nschaeff/shtns])
AC_INIT([SHTns],[3.2.
2
],[],[shtns],[https://bitbucket.org/nschaeff/shtns])
AC_LANG([C])
AC_CONFIG_SRCDIR([sht_init.c])
AC_CONFIG_HEADERS([sht_config.h])
...
...
@@ -86,7 +86,6 @@ AS_IF([test "x$enable_knl" != "xyes"], [
AS_IF([test "x$enable_mkl" = "xdefault"], [enable_mkl=yes])
])
AX_CHECK_COMPILE_FLAG([-ffast-math],[CFLAGS="$CFLAGS -ffast-math"])
AX_CHECK_COMPILE_FLAG([-fomit-frame-pointer],[CFLAGS="$CFLAGS -fomit-frame-pointer"])
AX_CHECK_COMPILE_FLAG([-std=gnu99],[CFLAGS="$CFLAGS -std=gnu99"])
# with intel compiler, we should not use -O3 (bad performance with icc14 and icc15)
...
...
@@ -116,7 +115,7 @@ AS_IF([test "x$enable_many_core" != "xno"], [
AS_IF([test "x$enable_magic_layout" != "xno"], [
enable_mem=no
#enable_ishioka=no # workaround unexplained bug
enable_many_core=yes # optimize for many-core architecture
#
enable_many_core=yes # optimize for many-core architecture
AC_DEFINE([SHTNS4MAGIC],[1],[I need the transforms compatible with the MagIC code, to speed it up!])
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment