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

Re: [Condor-users] Jobs retuning blank output



Hi

I wonder why you are not getting the output. I am getting the output.

Try this way:[simply copy and paste it and check the path of the hostname command on your system] 

test.submit

executable = /usr/bin/hostname
universe = vanilla
#TransferExecutable = false
output=results.output.$(Process)
error=results.error.$(Process)
log=results.log
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
queue 5

#requirements = (Arch == "X86_64") && (OpSys == "LINUX")

#output  = process_$(Process).out
#error = error.log
#log = master.log

#queue 5


Now submit this file to your cluster and see whether you get the results or not. I am getting the result.

Here is the result I am getting:
bash-2.03$ ls -lrt results.output.*
-rw-r--r--   1 lal     lal       7 Oct  5 11:03 results.output.0
-rw-r--r--   1 lal     lal       7 Oct  5 11:03 results.output.1
-rw-r--r--   1 lal     lal       7 Oct  5 11:03 results.output.2
-rw-r--r--   1 lal     lal       7 Oct  5 11:03 results.output.3
-rw-r--r--   1 lal     lal       7 Oct  5 11:03 results.output.4

and if I cat any of these files it will display my machine name:
bash-2.03$ cat results.output.3
alpha

After trying this try out with requirements options. It will work.

***Note : check where hostname command is on your machine and the put it accordingly in the test.submit.

On Wed, 2005-10-05 at 00:37 +0100, Chris Miles wrote:
I have tried your method with no luck also.

condor@thebeast:~/jobs/test> cat test.sub
executable = /bin/hostname
universe = vanilla

TransferExecutable = false
should_transfer_files = YES
when_to_transfer_output = ON_EXIT

requirements = (Arch == "X86_64") && (OpSys == "LINUX")

output  = process_$(Process).out
error = error.log
log = master.log

Queue 5

After submitting and all jobs completing still the same. no output.

condor@thebeast:~/jobs/test> ls -l
total 16
drwxr-xr-x  2 condor users   80 2005-10-05 00:26 error
-rw-r--r--  1 condor users    0 2005-10-05 00:32 error.log
drwxr-xr-x  2 condor users   80 2005-10-05 00:26 log
-rw-r--r--  1 condor users 3020 2005-10-05 00:32 master.log
drwxrwxrwx  2 condor users  328 2005-10-05 00:21 output
-rw-r--r--  1 condor users    0 2005-10-05 00:32 process_0.out
-rw-r--r--  1 condor users    0 2005-10-05 00:32 process_1.out
-rw-r--r--  1 condor users    0 2005-10-05 00:32 process_2.out
-rw-r--r--  1 condor users    0 2005-10-05 00:32 process_3.out
-rw-r--r--  1 condor users    0 2005-10-05 00:32 process_4.out
-rw-r--r--  1 condor users  274 2005-10-05 00:32 test.sub


----- Original Message ----- 
From: "Matt Hope" <matthew.hope@xxxxxxxxx>
To: "Condor-Users Mail List" <condor-users@xxxxxxxxxxx>
Sent: Tuesday, October 04, 2005 3:52 PM
Subject: Re: [Condor-users] Jobs retuning blank output


> On 10/4/05, Chris Miles <chrismiles@xxxxxxxxxxxxxxxx> wrote:
>> The directories all exist and permissions are correct.
>>
>> I have been using it without the log entry anyway and its still
>> the same problem so I dont think thats anything to do with it.
>>
>
>>UserLog = "/home/condor/jobs/test/log/4.log"
>>OutOrig = "output/4.out"
>>Out = "_condor_stdout_40.4"
>>ErrOrig = "error/4.err"
>>Err = "_condor_stderr_40.4"
>
> suggest you try without the output and error directoris and see what 
> happens.
>
> I would also suggest including the cluster id in the name for
> uniqueness (well for the purposes of your testing at least...)
>
> Matt
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 

_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
--
Prashant Lal <lal@cadence.com>
Cadence Design Systems