[GE users] can any body give some suggestion

Deval kulshrestha deval.kulshrestha at progression.com
Tue Jan 22 13:47:44 GMT 2008


    [ The following text is in the "windows-1250" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi Sandeep 

Your error file has generated useful error messages. Please resolve that
first. Your job is not able to search tcc from your default path.

And break up this activity into two pieces. 

In first phase compile your code. Than in another job submit it for
execution. You can submit the second as dependent on 1st one.

 

Thanks and regards

Deval K.

 

 

   _____  

From: Sandeep, Patel(IE10) [mailto:Sandeep.Patel2 at Honeywell.com] 
Sent: Tuesday, January 22, 2008 6:03 PM
To: Tandon, Amitabh (IE10); Duraisamy, Saravanaraj (IE10); Shashank,
Jha(IE10); Nittala.srinivas at honeywell.com; M, Vineeth (IE10); Krithivasan
SK, Muthukumar (IE10)
Cc: users at gridengine.sunsource.net
Subject: [GE users] can any body give some suggestion

 

Hi

    I m trying to integrate turboc with grid engine . my motive is to submit
a c progrrame  as a job through script(becoz grid engine only take jobs as
script only):

 

 

 For this I have created two file one is a.sh   and other is a1.c. (resides
in D drive)

 

 

 

   1 . a.sh contains

             

                          #!/bin/sh

             #$ -S /bin/sh

               Date                     // shows toay?s date

               cd /dev/fs/D             // changed to D drive

               pwd                       //shows the path

               cmd                       //call the command promt

               PATH=C:\TC\BIN;C:\TC\;    //sets the turbo C compiler path

               tcc a1.c                    //compiles the  the a1.c program
file

               a1                         //run

2. a1.c contains 

              #include<stdio.h>

              #include<conio.h>

               void main()

              {printf("sandeep");

               getch();

              }

 

 

3. than job submission

              $  qsub a.sh

                 Job is successfully submitted

 

4.output

                Always grid engine returns two file (O-job no and E-job no )

                                                                        O-
standard output

 
E-standard error

 

5. in O-job no file

            I got      

                                         jan 22 , 2008

                                         /dev/fs/D

                                        Welcome to windows command prompt

                                         C:\WINDOWS

 

                                  So DOUBT :- where is the output of the c
programme . can any body help here in this step.any suggestion.

 

6.in E-job no file

 

             I got

                             /dev/fs/D/spool/gridexecutor2/job_script[]
tcc not found

                            /dev/fs/D/spool/gridexecutor2/job_script []   a1
not found

 

 

                                     Doubt:- how is it possible.becoz the
sample jobs given by sun is able to execute.pleaseeeeeeeeeeeeeeeeeeee help
somebody.

 

Regards,

Sandeep

 

 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008
8:23 PM



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 1/21/2008
8:23 PM
 

===========================================================
Privileged or confidential information may be contained
in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the 
message to such person), please delete this message and
kindly notify the sender by an emailed reply. Opinions,
conclusions and other information in this message that
do not relate to the official business of Progression
and its associate entities shall be understood as neither
given nor endorsed by them.
  

------------------------------------------------------------------------
Progression Infonet Private Limited, Gurgaon (Haryana), India
Authorised dealer of PostMaster, by QuantumLink Communications Pvt. Ltd.
Get your free copy of PostMaster at http://www.postmaster.co.in/




More information about the gridengine-users mailing list