Difference between revisions of "V02Add IPv6 Support to Condor"

From CDOT Wiki
Jump to: navigation, search
(New page: '''V0.2 Release – Add IPV6 Support to Condor''' '''Installation and configuration of Condor on the laptop(Fedora 9)''' I finally installed and configured Condor on my laptop successfull...)
 
 
Line 2: Line 2:
  
 
'''Installation and configuration of Condor on the laptop(Fedora 9)'''
 
'''Installation and configuration of Condor on the laptop(Fedora 9)'''
 +
 
I finally installed and configured Condor on my laptop successfully. I submitted jobs on the Condor and the Condor worked well. The following is my steps.
 
I finally installed and configured Condor on my laptop successfully. I submitted jobs on the Condor and the Condor worked well. The following is my steps.
  
Line 55: Line 56:
  
 
'''Installation and configuration of Condor on X86_64 system(Fedora 9)'''
 
'''Installation and configuration of Condor on X86_64 system(Fedora 9)'''
 +
 
I installed Condor on X64_86 system with three methods. The first method is that download and install  the rpm package. The second one is that download the src rpm package, compile and install it. The third one is that using the yum command. The effect is the same. They all lack of two release directories sql and man when I configured the Condor. Not like my laptop, I cannot find them in another directories. Comparing with  my laptop, I found that the X86_64 lack of planner package. Then  I installed the planner package, and I could configure the Condor.  
 
I installed Condor on X64_86 system with three methods. The first method is that download and install  the rpm package. The second one is that download the src rpm package, compile and install it. The third one is that using the yum command. The effect is the same. They all lack of two release directories sql and man when I configured the Condor. Not like my laptop, I cannot find them in another directories. Comparing with  my laptop, I found that the X86_64 lack of planner package. Then  I installed the planner package, and I could configure the Condor.  
  
Line 60: Line 62:
  
 
'''Conclusion'''
 
'''Conclusion'''
 +
 
The installation package of Condor does not consider the dependency of planner package. We need to manually install planner package and symbolic link the sql and man directories to the Condor release directories.
 
The installation package of Condor does not consider the dependency of planner package. We need to manually install planner package and symbolic link the sql and man directories to the Condor release directories.

Latest revision as of 13:58, 14 November 2008

V0.2 Release – Add IPV6 Support to Condor

Installation and configuration of Condor on the laptop(Fedora 9)

I finally installed and configured Condor on my laptop successfully. I submitted jobs on the Condor and the Condor worked well. The following is my steps.

I downloaded the Condor package from the web site http://rpm.pbone.net, the package name is condor-7.0.5-1.fc9.i386.src.rpm. When I compiled it, it reminded me of lacking several packages. I used yum command to install the packages required and installed it on the laptop.


Then I wanted to configure my laptop as central manager, the command as below:


/usr/sbincondor_config –install –type=execute,submit,manager --local-dir=/home/condor


It occurred errors that missing release directoies sql and man. I searched these two directories in my laptop. I found sql directory is in the /usr/share/planner and man directory is in /usr/kerberos. I used symbolic link command to link them to the release directory. I configured again, successful!!!

I wrote a small program in C, file name is simple.c stored in /home/condor directory(Code is as below) and compiled successfully.

#include <stdio.h> 
main(int argc, char **argv) { 
int sleep_time; 
int input; 
int failure; 
if (argc != 3) { 
printf("Usage: simple <sleep-time> <integer>\n"); 
failure = 1;
} else {
sleep_time = atoi(argv[1]); 
input = atoi(argv[2]); 
printf("Thinking really hard for %d seconds...\n", sleep_time); 
sleep(sleep_time); 
printf("We calculated: %d\n", input * 2); 
failure = 0; 		
}
return failure;
}

I created a submit file named simple.sub as below.

Universe = vanilla 
Executable = simple 
Arguments = 4 10 
Log = simple.log 
Output = simple.out 
Error = simple.error 
Queue 

I submitted the job using command condor_submit

$condor_submit simple.sub


I checked the queue(condor_q command), it successfully run. I checked the simple.out file, the calculate result is there. Wow!

Installation and configuration of Condor on X86_64 system(Fedora 9)

I installed Condor on X64_86 system with three methods. The first method is that download and install the rpm package. The second one is that download the src rpm package, compile and install it. The third one is that using the yum command. The effect is the same. They all lack of two release directories sql and man when I configured the Condor. Not like my laptop, I cannot find them in another directories. Comparing with my laptop, I found that the X86_64 lack of planner package. Then I installed the planner package, and I could configure the Condor.

I compiled the simple.c, created the submit file simple.sub as above section, and submitted the job. But it didn't work. I am looking for the resolution now.

Conclusion

The installation package of Condor does not consider the dependency of planner package. We need to manually install planner package and symbolic link the sql and man directories to the Condor release directories.