Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the source code into /afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/healpix
  2. untar
  3. cd into Healpix subdirectory
  4. ./configure -L   (follow the prompts)
    1. Select to set up C, C++
    2. Include our local cfitsio library (using v3370 as of Dec 3, 2015)
    3. For C++ choose "basic_gcc" rather than "generic_gcc"
    4. Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
  5. make c-all
  6. make cpp-all
  7. 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
  8. make c-test
  9. make cpp-test

RHEL5-64

  1. Copy the source code from above into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit-gcc41/healpix
  2. untar
  3. cd into Healpix subdirectory
  4. ./configure -L   (follow the prompts)
    1. Select to set up C, C++ and Python bindings
    2. Include our local cfitsio library (using v3370 as of Dec 9, 2015)
    3. For C++ choose "basic_gcc" rather than "generic_gcc"
  5. make c-all
  6. 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 )
  7. setenv LD_LIBRARY_PATH  $GLAST_EXT/healpix/3.30/lib:$GLAST_EXT/cfitsio/v3370/lib
  8. make c-test
  9. make cpp-test  This failed as with the 3.20 build:

RHEL5-32

  1. Download the source code into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/healpix
  2. untar
  3. cd into Healpix subdirectory
  4. ./configure -L   (follow the prompts)
    1. Select to set up C, C++ and Python bindings
    2. Include our local cfitsio library (using v3370 as of Dec 9, 2015)
    3. For C++ choose "basic_gcc" rather than "generic_gcc"
    4. Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
  5. make c-all
  6. 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 )
  7. setenv LD_LIBRARY_PATH  $GLAST_EXT/healpix/3.30/lib:$GLAST_EXT/cfitsio/v3370/lib
  8. make c-test
  9. make cpp-test

take a look at setting prefix

3.20-gl1

Rebuild against cfitsio v3370 and pointing to python 2.7.6-gl2

RHEL6-64

3.20

RHEL5-32

  1. Download the source code into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/healpix
  2. untar
  3. cd into Healpix subdirectory
  4. Set up your environment to point to the GLAST_EXT copy of python (we're using 2.7.6 as of March 12, 2015)
  5. ./configure -L   (follow the prompts)
    1. Select to set up C, C++ and Python bindings
    2. Include our local cfitsio library (using v3290-gl1 as of March 12, 2015)
    3. For C++ choose "basic_gcc" rather than "generic_gcc"
    4. Edit the src/cxx/config/config.basic_gcc file by adding -fPIC to the CXXCFLAGS_NO_C and CCFLAGS_NO_C lines
  6. make

take a look at setting prefix

RHEL5-64

  1. Copy the source code from above into /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit-gcc41/healpix
  2. untar
  3. cd into Healpix subdirectory
  4. Set up your environment to point to the GLAST_EXT copy of python (we're using 2.7.6 as of March 12, 2015)
  5. ./configure -L   (follow the prompts)
    1. Select to set up C, C++ and Python bindings
    2. Include our local cfitsio library (using v3290-gl1 as of March 12, 2015)
    3. For C++ choose "basic_gcc" rather than "generic_gcc"
  6. make c-all
  7. make cpp-all
  8. 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
  9. make c-test
  10. make cpp-test  This failed with the error message below:

...