Versions Compared

Key

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

Table of Contents

2.

...

8

  1. Download heasoft source from: http://heasarc.nasa.gov/lheasoft/download.html
  2. Unpack the tarball
  3. cd BUILD_DIR
  4. ./configure --prefix=blah --with-components="heacore" >& config.out &
  5. make heacore >& build.log &
  6. make install

 

2.6

These are instructions for building APE 2.6 for the various supported OSes.

redhat5-i686-64bit-gcc41

These instructions should be performed as the

These are instructions for building APE 2.6 for the various supported OSes.

redhat5-i686-32bit

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

  1. Obtain APE 2.6 source code from James Peachey and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686x86_64-32bit64bit-gcc41/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686x86_64-32bit64bit-gcc41/ape
  3. Unzip and Untar the file ape-2.6-src.tar.gz
  4. Change directory to ape-2.6
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686x86_64-32bit64bit-gcc41/ape/2.6/gcc41
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.6 directory

...

redhat5-i686-32bit-gcc41

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

  1. Obtain APE 2.6 source code from James Peachey and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bitredhat5-i686-32bit-gcc41/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bitredhat5-i686-32bit-gcc41/ape
  3. Unzip and Untar the file ape-2.6-src.tar.gz
  4. Change directory to ape-2.6
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bitredhat5-i686-32bit-gcc41/ape/2.6/gcc34gcc41
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.6 directory

Windows-i386-32bit

redhat4-x86_64-64bit-gcc34

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

  1. Obtain APE 2.6 source code from James Peachey and save to Obtain the source from James Peachey or from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs
  2. Unzip and Untar
  3. Create bin and lib directories - otherwise the resulting binaries will not be stored in the appropriate directories and will be written under the vc7 or vc8 directory.
  4. Open the vc7 sln solution file in Microsoft Visual C++ 7.1 or open vc8 solution file for Visual Studio 9
  5. Set to Release mode
  6. Set Multi-threaded for all libraries and executables
  7. Build the solution resulting in the apelib and associated applications
  8. Create a new zip file containing bin, doc, include, and lib

...

  1. redhat4-x86_64-64bit/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/ape
  3. Unzip and Untar the file ape-2.6-src.tar.gz
  4. Change directory to ape-2.6
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/ape/2.6/gcc34
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.6 directory

Windows-i386-32bit

  1. Obtain the source from James Peachey or from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs
  2. Unzip and Untar
  3. Create bin and lib directories - otherwise the resulting binaries will not be stored in the appropriate directories and will be written under the vc7 or vc8 directory.
  4. Open the vc7 sln solution file in Microsoft Visual C++ 7.1 or open vc8 solution file for Visual Studio 9
  5. Set to Release mode
  6. Set Multi-threaded for all libraries and executables
  7. Build the solution resulting in the apelib and associated applications
  8. Create a new zip file containing bin, doc, include, and lib

redhat4-i686-32bit-gcc34

These instructions should be performed as the glastrm user on a machine running rhel4 in 32bit mode (noric09 as of this writing).

  1. Obtain APE 2.6 source code from James Peachey or from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/ape
  3. Unzip and Untar the file ape-2.6-src.tar.gz
  4. Change directory to ape-2.6
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/ape/2.6/gcc34
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.6 directory

tiger-i386-32bit-gcc40

These instructions should be performed as the glastrm user on a machine running rhel4 tiger in 32bit mode (noric09 bldmac01 as of this writing).

  1. Obtain APE 2.6 source code from James Peachey or from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4tiger-i686i386-32bit-gcc34gcc40/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4tiger-i686i386-32bit-gcc34gcc40/ape
  3. Unzip and Untar the file ape-2.6-src.tar.gz
  4. Change directory to ape-2.6
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4tiger-i686i386-32bit-gcc34gcc40/ape/2.6/gcc34gcc40
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.6 directory

...

  1. Obtain APE 2.5.3 source code from James Peachey and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/ape
  3. Unzip and Untar the file ape-2.5.3-src.tar.gz
  4. Change directory to ape-2.5.3
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-x86_64-64bit/ape/2.5.3/gcc41
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.5.3 directory

redhat5-i686-32bit

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

...

  1. Obtain APE 2.5.3 source code from James Peachey and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ape
  3. Unzip and Untar the file ape-2.5.3-src.tar.gz
  4. Change directory to ape-2.5.3
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ape/2.5.3/gcc34
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.5.3 directory

redhat4-x86_64-64bit

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

...

These are instructions for building APE 2.5.1 for the various supported OSes.

redhat5-i686-32bit

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

...

  1. Obtain APE 2.5.1 source code from James Peachey and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ape if it doesn't already exist
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ape
  3. Unzip and Untar the file ape-2.5.1-src.tar.gz
  4. Change directory to ape-2.5.1
  5. Execute ./configure --prefix=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit/ape/2.5.1/gcc34
  6. Execute make
  7. Execute make install
  8. Leave and erase the ape-2.5.1 directory

redhat4-x86_64-64bit

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

...