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

[HTCondor-users] How can I resolve this permission error?



Hello, I'm a newbie on HTCondor, so I installed it and am doing the tutorial.

However, when I submit a job, the job was held because of 'permission denied error(errno 13)'.
The data representing my situation is below:

1.the result of submitting a job:

Inline image 2

2. I think my 'condor_config' file in /etc/condor/ is too long so that I attach it

3. the submit file:
 1 Universe  = vanilla
 2 Executable = test
 3 Arguments Â= 10 20
 4 Log    Â= test.log
 5 Output   = test.out
 6 Error   Â= test.error
 7 Queue


4. test.c file used to make the 'test' binary:
 1 #include <stdio.h>
 2
 3 int main(int argc, char **argv) {
 4
 5     int sleep_time;
 6     int input;
 7     int failure;
 8
 9     if(argc != 3) {
Â10 Â Â Â Â Â Â Â Â printf("Usage: test <sleep-time> <integer>\n");
Â11 Â Â Â Â Â Â Â Â failure = 1;
Â12 Â Â Â Â } else {
Â13 Â Â Â Â Â Â Â Â sleep_time = atoi(argv[1]);
Â14 Â Â Â Â Â Â Â Â input = atoi(argv[2]);
Â15
Â16 Â Â Â Â Â Â Â Â printf("Thinking really hard for %d seconds...\n", sleep_time);
Â17 Â Â Â Â Â Â Â Â sleep(sleep_time);
Â18 Â Â Â Â Â Â Â Â printf("We calculated: %d\n", input * 2);
Â19 Â Â Â Â Â Â Â Â failure = 0;
Â20 Â Â Â Â }
Â21
Â22 Â Â Â Â return failure;
Â23 }


5. Of course, I've made 'condor' account and made its home directory shared to every users:

Inline image 1

Is there anything which I missed?
I'm really exhausted.
I'm waiting for your help.

Thanks!


Attachment: condor_config
Description: Binary data