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

Re: [Condor-users] Input File Manipultaion



Hi Todd,
 
    Let me ask with an example
 
C example:
#include<stdio.h>
void main()
{
int a,b;
printf("Enter the value of a");
scanf("%d",&a);
printf("Enter the value of b");
scanf("%d",&b);
}
Input file has numbers 6 and 7. How will the program read it??
 
What will happen if it is a java prog??
Should i open a file handler and read the contents line by line or will Condor read automatically form the file??
----- Original Message ----
From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
To: condor-users@xxxxxxxxxxx
Sent: Monday, 17 September, 2007 6:04:00 AM
Subject: Re: [Condor-users] Input File Manipultaion

< Sent from a Palm Treo 680 >
-----Original Message-----
From: Preethi Chockalingam <cpreethi86@xxxxxxxxxxx>
Date: Monday, Sep 17, 2007 12:02 am
Subject: [Condor-users] Input File Manipultaion
To: condor-users@xxxxxxxxxxxxxxxxxxx: Condor-Users Mail List <condor-users@xxxxxxxxxxx>

Hi All,
>
>    I would like to know how input files are processed in Condor. Should i make provision within the source code to read the contents fromt the file or will condor take care of it automatically??
>
>Thanks in Advance.
>

Not certain what you are asking.  Condor can remap a file into the stdin (aka keyboard device) w/o you needing to change your code via the "input=" attribute in the submit file.

Hope this helps
Todd


_______________________________________________
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/



5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.