Opened 10 years ago

Closed 7 years ago

#455 closed defect (fixed)

IZ2363: settings.sh has problems if SGE_ROOT/util/arch is missing

Reported by: olesen Owned by:
Priority: high Milestone:
Component: sge Version: current
Severity: minor Keywords: install
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2363]

        Issue #:      2363             Platform:     All       Reporter: olesen (olesen)
       Component:     gridengine          OS:        All
     Subcomponent:    install          Version:      current      CC:    None defined
        Status:       NEW              Priority:     P2
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    dom (dom)
      QA Contact:     dom
          URL:
       * Summary:     settings.sh has problems if SGE_ROOT/util/arch is missing
   Status whiteboard:
      Attachments:
                      Date/filename:                                     Description:                           Submitted by:
                      Mon Sep 17 02:13:00 -0700 2007: create_settings.sh create_settings.sh script (text/plain) olesen

     Issue 2363 blocks:
   Votes for issue 2363:


   Opened: Mon Sep 17 02:12:00 -0700 2007 
------------------------


The settings.{csh,sh} files created by the installation fail if
$SGE_ROOT/util/arch cannot be found.

Fix: check 'if [ -x $SGE_ROOT/util/arch ]' within scripts.

I will attempt to submit a suitably modified script util/create_settings.sh script.

   ------- Additional comments from olesen Mon Sep 17 02:13:11 -0700 2007 -------
Created an attachment (id=118)
create_settings.sh script

   ------- Additional comments from olesen Wed Nov 12 05:59:15 -0700 2008 -------
Instead of using the temporary variable 'ARCH', the SGE_ARCH variable should be
set and exported. This is particularly useful when a script may also need to be
called outside of a job script - eg, for testing load sensors, or for using any
of the $SGE_ROOT/utilbin/$SGE_ARCH/ utilities within other maintenance and admin
scripts.

Attachments (1)

118 (8.1 KB) - added by dlove 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by dlove

comment:1 Changed 7 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed

Fixed by [3597]

Note: See TracTickets for help on using tickets.