[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor commands execution using system() function in C++



Can you attach the executable you created too?  There are a set of
executables
that Condor does not handle well (and this set is not well defined yet).

Regards,
-B

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Madhu Vadali
> Sent: Wednesday, April 15, 2009 10:50 AM
> To: 'Condor-Users Mail List'
> Subject: Re: [Condor-users] Condor commands execution using system()
function
> in C++
> 
> Hi Ben,
> 
> This is really weird. I tried to run the same thing as you have done and
am
> still getting the same error. For the record this is what I am doing with
the
> two programs I am attaching with the mail.
> 1. Using turbo-C++ to compile
> 2. Running them under DOS (Windows Xp)
> 
> I am not sure if one of those is a trouble causer.
> 
> Thanks for the Help.
> 
> Madhu.
> 
> P.S.  1. 'Code.c' is the actual code I am trying to use.
> 	2. 'cond.c' is the same single line code that you have tried.
> 
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ben Burnett
> Sent: Tuesday, April 14, 2009 4:10 PM
> To: 'Condor-Users Mail List'
> Subject: Re: [Condor-users] Condor commands execution using system()
function
> in C++
> 
> Hi Madhu:
> 
> I just compiled and ran:
> 
> #include <stdio.h>
> void main () {
>   system ( "c:\\condor\\bin\\condor_status.exe" ); }
> 
> And I've had no difficulties with it.  Maybe if I could see your code, it
> might make a difference.
> 
> Regards,
> -B
> 
> 
> > -----Original Message-----
> > From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> > bounces@xxxxxxxxxxx] On Behalf Of Madhu Vadali
> > Sent: Tuesday, April 14, 2009 3:36 PM
> > To: 'Condor-Users Mail List'
> > Subject: Re: [Condor-users] Condor commands execution using system()
> function
> > in C++
> >
> > Hi Ben,
> >
> > After a hint from one of the condor users that there could be a
> > problem
> with
> > the DLLs concerning the condor commands and sought the probability of
> > solving that in 7.2.2. Unfortunately the problem is persistent here as
> well.
> > I was hoping if you can help me out with the problem.
> >
> > Thank you in Advance
> >
> > Madhu
> >
> > -----Original Message-----
> > From: condor-users-bounces@xxxxxxxxxxx
> > [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of
> > burnett@xxxxxxxxxxx
> > Sent: Wednesday, April 01, 2009 7:45 PM
> > To: Condor-Users Mail List
> > Subject: Re: [Condor-users] Condor commands execution using system()
> > function in C++
> >
> > Hi Madhu:
> >
> > You should have the correct privileges to run condor_status, unless
> > you have explicitly changed the c:\condor\bin directory's permissions
> > (Everyone on the machine should at the very least have read and
> > execute permissions for the directory).
> >
> > > System("c:\\condor\\bin\\condor_status");
> >
> > Maybe a .exe extension is necessary when using your compiled program
> > from within Condor (unless that was just a typo).
> >
> > Regards,
> > -B
> >
> >
> >
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
> > with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
> > The archives can be found at:
> > https://lists.cs.wisc.edu/archive/condor-users/
> >
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx
> > with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
> > The archives can be found at:
> > https://lists.cs.wisc.edu/archive/condor-users/
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/