Opened 11 years ago

Last modified 9 years ago

#606 new defect

IZ2813: DRMAA_PLACEHOLDER_HD as working directory causes the job to fail

Reported by: szalik Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2
Severity: Keywords: drmaa
Cc:

Description

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

        Issue #:      2813             Platform:     All      Reporter: szalik (szalik)
       Component:     gridengine          OS:        All
     Subcomponent:    drmaa            Version:      6.2         CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    dagru (dagru)
      QA Contact:     templedf
          URL:
       * Summary:     DRMAA_PLACEHOLDER_HD as working directory causes the job to fail
   Status whiteboard:
      Attachments:
                      Date/filename:                        Description:                                                                                             Submitted by:
                      Mon Dec 1 09:58:00 -0700 2008: test.c Simple DRMAA program that fails because of DRMAA_PLACEHOLDER_HD usage as DRMAA_WD attribute (text/plain) szalik

     Issue 2813 blocks:
   Votes for issue 2813:


   Opened: Mon Dec 1 09:57:00 -0700 2008 
------------------------


Hi,

If I use DRMAA_PLACEHOLDER_HD (home directory) as working directory (DRMAA_WD)
the job fails and the GE log contains:

12/01/2008 17:36:55|  main|photon|E|shepherd of job 3392.1 exited with exit
status = 26
12/01/2008 17:36:55|  main|photon|E|can't open usage file
"active_jobs/3392.1/usage" for job 3392.1: No such file or directory
12/01/2008 17:36:55|  main|photon|E|12/01/2008 17:36:55 [1000:14282]: error:
can't open output file "$HOME/": Is a directory

Here's a sample DRMAA program that fails because of this bug:
http://szalik.net/tmp/drmaa_test.c

   ------- Additional comments from szalik Mon Dec 1 09:58:19 -0700 2008 -------
Created an attachment (id=185)
Simple DRMAA program that fails because of DRMAA_PLACEHOLDER_HD usage as DRMAA_WD attribute

   ------- Additional comments from szalik Mon Dec 1 10:09:57 -0700 2008 -------
Oops, the attached program has a buggy line setting DRMAA_V_ARGV. Use the
program to start a simple binary, e.g.

cc test.c
./a.out /bin/date

or fix setting DRMAA_V_ARGV if more arguments are to be supplied.

Attachments (1)

185 (2.1 KB) - added by dlove 9 years ago.

Download all attachments as: .zip

Change History (1)

Changed 9 years ago by dlove

Note: See TracTickets for help on using tickets.