Menu

Tree [607780] master /
 History

HTTPS access


File Date Author Commit
 c_utils 2012-11-29 Martin Reinecke Martin Reinecke [5f9dc9] be more paranoid with ALLOC2D
 config 2012-06-27 Martin Reinecke Martin Reinecke [294242] initial import
 docsrc 2012-06-27 Martin Reinecke Martin Reinecke [294242] initial import
 fortran 2015-03-29 Dag Sverre Seljebotn Dag Sverre Seljebotn [9a839b] Fortran wrapper for libsharp
 libfftpack 2012-11-27 Martin Reinecke Martin Reinecke [17dcfd] fix documentation
 libsharp 2015-04-20 Martin Reinecke Martin Reinecke [607780] add some inquiry functions
 .gitignore 2013-01-08 Martin Reinecke Martin Reinecke [32ddca] Merge branch 'packed' of git://github.com/dagss...
 COPYING 2012-06-27 Martin Reinecke Martin Reinecke [294242] initial import
 Makefile 2013-01-02 Martin Reinecke Martin Reinecke [5a7709] adjust Makefile test targets
 README.compilation 2013-04-15 Martin Reinecke Martin Reinecke [40ca46] work around ICE in gcc 4.4.x
 configure.ac 2013-04-15 Martin Reinecke Martin Reinecke [40ca46] work around ICE in gcc 4.4.x

Read Me

GNU make is required for compilation.

Libsharp compilation has been successfully tested with GNU and Intel compilers.
When using gcc, version 4.x is required [1].
Since libsharp was written in standard C99, other compilers should work fine,
but SSE2/AVX support will most likely be deactivated.

If you obtained libsharp directly from the git repository, you will also
need a copy of the GNU autotools. In this case, run "autoconf" in libsharp's
main directory before any other steps.
For libsharp releases distributed as a .tar.gz file, this step is not necessary.

Afterwards, simply run "./configure"; if this fails, please refer to the output
of "./configure --help" for additional hints and, if necessary, provide
additional flags to the configure script.
Once the script finishes successfully, run "make"
(or "gmake"). This should install the compilation products in the
subdirectory "auto/".

Documentation can be created by the command "(g)make doc".
However this requires the doxygen application to be installed
on your system.
The documentation will be created in the subdirectory doc/.


[1] Some versions of the gcc 4.4.x release series contain a bug which causes
the compiler to crash during libsharp compilation. This appears to be fixed
in the gcc 4.4.7 release. It is possible to work around this problem by adding
the compiler flag "-fno-tree-fre" after the other optimization flags - the
configure script should do this automatically.