Commit 718cd86e authored by Jean-Eric Campagne's avatar Jean-Eric Campagne
Browse files

(JEC) 13/4/15 adapt Readme

parent b5c384a6
......@@ -61,8 +61,6 @@ CXXHDR = lagsht_exceptions.h \
CPPFLAGS += -I$(SHARPINC)
LDFLAGS += -L$(SHARPLIB) $(SHARPLIBN) -lm
#CXXCOMPILE = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
#CXXLINK = $(CXX) $(CXXFLAGS) -bind_at_load
#C++ rule for compiling
......
......@@ -13,7 +13,7 @@ git clone https://gitlab.in2p3.fr/campagne/LagSHT.git
* walltimer.h (.cc): utilities to profile the program.
* lagsht_utils.h: code by David Robert Nadeau to get the avalable memory
* lagsht_testsuite.c : a simple program to test different piece of the code
* Makefile that should be tuned to the local platform
* Makefile that should be tuned to the local platform (*.inc files)
* doxydoc / footer.html : input file to doxygen tool to generate the class documentation
# Required Librairy
......@@ -28,9 +28,18 @@ Look at the `libsharp-code/libsharp/sharp_cxx.h` file and add if necessary
# Compilation
> edit Makefile and adapat to local platform
> edit Makefile and adapat to local platform :
1) adapt to the type of Machine MacOSX (Darwin) vs Linux
2) adapt the location of the libsharp library (SHARPDIR)
> mkdir Objs
> make
> make check
runs a computation of the Nodes & Weights for N=1024
and compare to the xxx.txt.TEST files to produce a
Numerical Error estimate.
# Plateform tested
Mac OS X 10.9.5 + gcc 4.8.4
Linux SLC 6.6 + gcc 4.9.1 20140922
# Running
> ./Objs/lagsht_testsuite -t <test number> [1]
......@@ -50,9 +59,6 @@ Look at the `libsharp-code/libsharp/sharp_cxx.h` file and add if necessary
Healpix: use the Healpix map with Ntheta giving the Nside parameter.
> nphi: libsharp works faster if this number is increased (compared to the minimal number required by the geometry) up to a power of 2 number. Eg. for Lmax = 1024, Nphi_min = 2L-1 = 2047, so Nphi = 2048 will run faster.
# Plateform tested
Mac OS X 10.9.5 + gcc 4.8.4
Linux SLC 6.6 + gcc 4.9.1 20140922
# Examples
* ./Objs/lagsht_testsuite -n 1024
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment