v3370

  1. Download heasoft source from: http://heasarc.nasa.gov/lheasoft/download.html
  2. Unpack the tarball
  3. cd BUILD_DIR
  4. ./configure --prefix=blah >& config.out &
  5. make heacore >& build.log &
  6. make install
  7. libcfitsio.a is located in the src heacore/cfitsio

redhat7-x86_64-64bit-gcc48

Downloaded cfitsio source from: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/

  • ./configure --prefix=blah >& config.out &
  • make >& build.log &
  • make shared
  • make install

v3290

These are instructions for building CFITSIO v3290 for the various OSes supported.

redhat5-i686-64bit

These instructions should be performed as the glastrm user on a machine running rhel5 in 64 bit mode (noric15 as of this writing).

  1. Copy CFITSIO v3.290 (cfitsio-v3.290.tar.gz) from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/cfitsio
  3. Unzip and Untar the file cfitsio-v3.290.tar.gz
  4. Change directory to cfitsio
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/cfitsio/v3290/gcc41
  6. Execute make shared
  7. Create the directory /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/cfitsio/v3290/gcc41
  8. Execute make install
  9. Create a symlink between libcfitsio.so and create libcfitsio-v3.290.so
  10. Erase and leave the cfitsio directory

v3060A

These are instructions for building CFITSIO v3060A for the various OSes supported.

redhat5-i686-64bit

These instructions should be performed as the glastrm user on a machine running rhel5 in 64 bit mode (noric15 as of this writing).

  1. Copy CFITSIO v3.060A (cfitsio-v3.060A-src.tar.gz) from one of the other GLAST_EXT locations and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/cfitsio if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/cfitsio
  3. Unzip and Untar the file cfitsio-v3.060A-src.tar.gz
  4. Change directory to cfitsio-v3.060A/
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/cfitsio/v3060A/gcc41
  6. Execute make shared
  7. Create the directory /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/cfitsio/v3060A/gcc41
  8. Execute make install
  9. Erase and leave the cfitsio-v3.060A directory

leopard-i386-32bit

These instructions should be performed as the glastrm user on a machine running leopard (bldmac02 as of this writing).

  1. Copy CFITSIO v3.060A (cfitsio-v3.060A-src.tar.gz) from one of the other GLAST_EXT locations and save to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/cfitsio if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/cfitsio
  3. Unzip and Untar the file cfitsio-v3.060A-src.tar.gz
  4. Change directory to cfitsio-v3.060A/
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/cfitsio/v3060A/gcc40
  6. Execute make shared
  7. Create the directory /afs/slac/g/glast/ground/GLAST_EXT/leopard-i386-32bit/cfitsio/v3060A/gcc40
  8. Execute make install
  9. Erase and leave the cfitsio-v3.060A directory

tiger-i386-32bit

These instructions should be performed as the glastrm user on a machine running leopard (bldmac01 as of this writing).

  1. Copy CFITSIO v3.060A (cfitsio-v3.060A-src.tar.gz) from one of the other GLAST_EXT locations and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/cfitsio if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/cfitsio
  3. Unzip and Untar the file cfitsio-v3.060A-src.tar.gz
  4. Change directory to cfitsio-v3.060A/
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/cfitsio/v3060A/gcc40
  6. Execute make shared
  7. Create the directory /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/cfitsio/v3060A/gcc40
  8. Execute make install
  9. Erase and leave the cfitsio-v3.060A directory

redhat5-i686-32bit

These instructions should be performed as the glastrm user on a machine running leopard (bldmac01 as of this writing).

  1. Copy CFITSIO v3.060A (cfitsio-v3.060A-src.tar.gz) from one of the other GLAST_EXT locations and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/cfitsio if it doesn't already exist.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/cfitsio
  3. Unzip and Untar the file cfitsio-v3.060A-src.tar.gz
  4. Change directory to cfitsio-v3.060A/
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/cfitsio/v3060A/gcc41
  6. Execute make shared
  7. Create the directory /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/cfitsio/v3060A/gcc41
  8. Execute make install
  9. Erase and leave the cfitsio-v3.060A directory
  • No labels