The source code is available here: http://sourceforge.net/projects/healpix/
3.30
RHEL6-64
- Download the source code into /afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/healpix
- untar
- cd into Healpix subdirectory
- ./configure -L (follow the prompts)
- Select to set up C, C++
- Include our local cfitsio library (using v3370 as of Dec 3, 2015)
- For C++ choose "basic_gcc" rather than "generic_gcc"
- Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
- make c-all
- make cpp-all
- setenv LD_LIBRARY_PATH /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/healpix/3.30/lib:$GLAST_EXT/cfitsio/v3370/lib:$LD_LIBRARY_PATH
- make c-test
- make cpp-test
RHEL5-64
- Copy the source code from above into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit-gcc41/healpix
- untar
- cd into Healpix subdirectory
- ./configure -L (follow the prompts)
- Select to set up C, C++ and Python bindings
- Include our local cfitsio library (using v3370 as of Dec 9, 2015)
- For C++ choose "basic_gcc" rather than "generic_gcc"
- Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
- make c-all
- make cpp-all ( I had to fix a few issues with std::complex in the alice3.cc and hpxtest.cc programs to get them to compile )
- setenv LD_LIBRARY_PATH $GLAST_EXT/healpix/3.30/lib:$GLAST_EXT/cfitsio/v3370/lib
- make c-test
- make cpp-test This failed at the vizualization step as with with the 3.20 build.
RHEL5-32
- Download the source code into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/healpix
- untar
- cd into Healpix subdirectory
- ./configure -L (follow the prompts)
- Select to set up C, C++ and Python bindings
- Include our local cfitsio library (using v3370 as of Dec 9, 2015)
- For C++ choose "basic_gcc" rather than "generic_gcc"
- Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
- make c-all
- make cpp-all ( I had to fix a few issues with std::complex in the alice3.cc and hpxtest.cc programs to get them to compile )
- setenv LD_LIBRARY_PATH $GLAST_EXT/healpix/3.30/lib:$GLAST_EXT/cfitsio/v3370/lib
- make c-test
- make cpp-test This failed at the vizualization step as with the 3.20 build.
3.20-gl1
Rebuild against cfitsio v3370 and pointing to python 2.7.6-gl2
RHEL6-64
3.20
RHEL5-32
- Download the source code into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/healpix
- untar
- cd into Healpix subdirectory
- Set up your environment to point to the GLAST_EXT copy of python (we're using 2.7.6 as of March 12, 2015)
- ./configure -L (follow the prompts)
- Select to set up C, C++ and Python bindings
- Include our local cfitsio library (using v3290-gl1 as of March 12, 2015)
- For C++ choose "basic_gcc" rather than "generic_gcc"
- Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
- make
take a look at setting prefix
RHEL5-64
- Copy the source code from above into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit-gcc41/healpix
- untar
- cd into Healpix subdirectory
- Set up your environment to point to the GLAST_EXT copy of python (we're using 2.7.6 as of March 12, 2015)
- ./configure -L (follow the prompts)
- Select to set up C, C++ and Python bindings
- Include our local cfitsio library (using v3290-gl1 as of March 12, 2015)
- For C++ choose "basic_gcc" rather than "generic_gcc"
- make c-all
- make cpp-all
- setenv LD_LIBRARY_PATH /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit-gcc41/healpix/Healpix_3.20/lib:$GLAST_EXT/cfitsio/v3290-gl1/lib:$LD_LIBRARY_PATH
- make c-test
- make cpp-test This failed with the error message below:
Error encountered at /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit-gcc41/healpix/Healpix_3.20/src/cxx/cxxsupport/ls_image.cc, line 130
(function void LS_Image::write_TGA(const std::string&) const)
error writing output file 'test.tga'
terminate called after throwing an instance of 'PlanckError'
./runtest.sh: line 19: 7773 Aborted $BINPATH/map2tga test.fits test.tga -bar -title "Synthesized Map"
I (echarles) have not tried to install the python version yet.
RHEL6-64
- Copy the source code from above into /afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/healpix
- untar
- cd into Healpix subdirectory
- Set up your environment to point to the GLAST_EXT copy of python (we're using 2.7.6 as of March 12, 2015)
- ./configure -L (follow the prompts)
- Select to set up C, C++ and Python bindings
- Include our local cfitsio library (using v3290-gl1 as of March 12, 2015)
- For C++ choose "basic_gcc" rather than "generic_gcc"
- Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
- make c-all
- make cpp-all
- setenv LD_LIBRARY_PATH /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/healpix/Healpix_3.20/lib:$GLAST_EXT/cfitsio/v3290-gl1/lib:$LD_LIBRARY_PATH
- make c-test
- make cpp-test
I (echarles) have not tried to install the python version yet.