IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of IPPInstallStepByStep-2.6.1-RHEL5.1-Odyssey


Ignore:
Timestamp:
Apr 6, 2009, 7:38:51 AM (17 years ago)
Author:
welling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IPPInstallStepByStep-2.6.1-RHEL5.1-Odyssey

    v2 v3  
    99 * The installation directories for IPP are under /odyssey/apps/ipp ; the source code resides under /odyssey/apps/src/ipp .
    1010
    11 == IPP User Setup on Odyssey ==
     11== IPP User Setup on Odyssey for the SVN top-of-tree version ==
     12
     13This is called the ipp-SVN_top version, and is the best-supported version of IPP on Odyssey.
     14
     15 * The general description of Odyssey is here: [wiki:Odyssey_Cluster_Configuration Odyssey_Cluster_Configuration]
     16 * The binaries for ipp-SVN_top reside in /odyssey/apps/ipp/ipp-SVN_top/psconfig, with source in /odyssey/apps/src/ipp/ipp-SVN_top .
     17 * This system uses [http://www.ece.utexas.edu/it/modules/ Modules] for environment management, so there is a small change in setup compared to most IPP installations.  Instead of the usual modification to .bashrc or .cshrc, for which the .cshrc version looks like:
     18
     19   {{{
     20   if (-e /path/to/psconfig.csh) then
     21      alias psconfig "source /path/to/psconfig.csh"
     22   else
     23      alias psconfig "echo psconfig not available"
     24   endif
     25   }}}
     26
     27the following code suffices for both .bashrc and .cshrc:
     28
     29   {{{module load hpc/ipp/ipp-SVN_top}}}
     30   
     31 * To finish setting up the shell environment, libcfitsio doesn't seem to work properly unless the environment variable CFITSIO points to the library itself.  Thus the user's .bashrc should include:
     32
     33   {{{
     34   module load hpc/ipp
     35   export CFITSIO=${PSCONFDIR}/${PSCONFIG}/lib/libcfitsio.a
     36   }}}
     37
     38   .cshrc should include:
     39
     40   {{{
     41   module load hpc/ipp
     42   setenv CFITSIO ${PSCONFDIR}/${PSCONFIG}/lib/libcfitsio.a}
     43   }}}
     44
     45   '''There is no need to use a psconfig command with this version'''.   
     46
     47 * Users must set up several config files in their home directories:
     48
     49   {{{
     50   cd ${HOME}
     51   cp /odyssey/apps/src/ipp/ipp-SVN_top/ipp/ippconfig/ipprc.config ./.ipprc
     52   cp /odyssey/apps/src/ipp/ipp-SVN_top/ipp/ippconfig/dvo.site ./.ptolemyrc
     53   }}}
     54
     55Edit ${HOME}/.ipprc to uncomment the line near the top of the file which includes $HOME/.ippconfig in the config search path.  These files can be customized to implement your preferred config options.
     56
     57<b>DO NOT</b> set the environment variable PSCONFIG in your ${HOME}/.psconfigrc file.  The <em>module load</em> command handles that for you; setting it separately in ${HOME}/.psconfigrc will interfere with the function of the <em>module</em> commands.
     58
     59
     60
     61
     62== Build Notes for ipp-SVN_top ==
     63
     64 * The modulefile /odyssey/apps/modules-3.2.6/Modules/modulefiles/hpc/ipp/ipp-SVN_top is used to implement the 'module load' behavior described above.
     65 * There is a file named source_me.csh in /odyssey/apps/src/ipp/ipp-SVN_top which sets appropriate environment variables for the build.
     66 * Commands for a complete update and rebuild under tcsh would thus be:
     67
     68   {{{
     69   cd /odyssey/apps/src/ipp/ipp-SVN_top/ipp/psconfig
     70   source ../../source_me.csh
     71   svn update
     72   psbuild -dev -rebuild -clean -optimize >& /tmp/psbuild.log
     73   }}}
     74
     75 
     76 * Errors with messages like:
     77
     78   libtool: link: `/odyssey/apps/ipp/default.linrh64/lib/libgsl.la' is not a valid libtool archive
     79
     80seem to be the result of broken libtool archive (.la) files left over from failed earlier compiles.  The fix is to remove all .la files from both the /odyssey/apps/src/ipp/ipp-2.6.1 and /odyssey/apps/ipp/ipp-2.6.1/psconfig/default.linrh64 trees and do a 'psbuild -clean -rebuild -extbuild'.
     81
     82== IPP User Setup for IPP 2.6.1 on Odyssey ==
     83
     84This version is somewhat out-of-date.  Note especially the fact that the 'module load' command must be followed by a 'psconfig' command for this version.
    1285
    1386 * The general description of Odyssey is here: [wiki:Odyssey_Cluster_Configuration Odyssey_Cluster_Configuration]
     
    1588 * This system uses [http://www.ece.utexas.edu/it/modules/ Modules] for environment management, so there is a small change in setup compared to most IPP installations.  Instead of the usual modification to .bashrc or .cshrc, for which the .cshrc version looks like:
    1689
     90   {{{
    1791   if (-e /path/to/psconfig.csh) then
    1892      alias psconfig "source /path/to/psconfig.csh"
     
    2094      alias psconfig "echo psconfig not available"
    2195   endif
     96   }}}
    2297
    2398the following code suffices for both .bashrc and .cshrc:
    2499
     100   {{{
    25101   module load hpc/ipp
     102   }}}
    26103   
    27104 * To finish setting up the shell environment, the usual 'psconfig default' command is needed.  In addition, libcfitsio doesn't seem to work properly unless the environment variable CFITSIO points to the library itself.  Thus the user's .bashrc should include:
    28105
     106   {{{
    29107   module load hpc/ipp
    30108   psconfig default
    31109   export CFITSIO=${PSCONFDIR}/default.linrh64/lib/libcfitsio.a
     110   }}}
    32111
    33112.cshrc should include:
    34113
     114   {{{
    35115   module load hpc/ipp
    36116   psconfig default
    37117   setenv CFITSIO ${PSCONFDIR}/default.linrh64/lib/libcfitsio.a
     118   }}}
    38119
    39120 * Users must set up several config files in their home directories:
    40121
     122   {{{
    41123   cd ${HOME}
    42124   cp /odyssey/apps/src/ipp/ipp-2.6.1/ippconfig/ipprc.config ./.ipprc
    43125   cp /odyssey/apps/src/ipp/ipp-2.6.1/ippconfig/dvo.site ./.ptolemyrc
     126   }}}
    44127
    45128Edit ${HOME}/.ipprc to uncomment the line near the top of the file which includes $HOME/.ipp in the config search path.  These files can be customized to implement your preferred config options.
     
    47130<b>DO NOT</b> set the environment variable PSCONFIG in your ${HOME}/.psconfigrc file.  The <em>module load</em> command handles that for you; setting it separately in ${HOME}/.psconfigrc will interfere with the function of the <em>module</em> commands.
    48131
    49 == Build Notes ==
     132== Build Notes for IPP 2.6.1 ==
    50133
    51134 * The modulefile /odyssey/apps/modules-3.2.6/Modules/modulefiles/hpc/ipp is used to implement the 'module load' behavior described above.
     
    66149
    67150== Known Problems ==
    68  * There is not yet a MySQL server running, so it is not yet possible to run pantasks or simtest.
    69  * We don't yet have a convention for the naming of user's data directories.
    70151 * It's unclear how to integrate pantasks with the queueing system.
    71152 * site.config needs to be kept up to date as additional data directories are established.