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

[Condor-users] Help Confuse : Condor-G and Globus Job Type



Hi there ...
Curently i'm trying to implement Condor-G in my university. When i
submitted job to globus it worked fine (on Condor or SGE as Local Job
Scheduler under Globus ) with the following simple condor-G submission
file example :

#############################################################
executable=uname
arguments=-a
universe=grid
grid_resource=gt4
https://cluster-02.petruk.grid.computer.ee.its.ac.id:8443/wsrf/services/ManagedJobFactoryService
Condor
output=grid.out
log=grid.log
MyProxyHost=myproxy.grid.computer.ee.its.ac.id:7512
MyProxyServerDN=/O=Grid Elektro
ITS/OU=Globus/OU=simpleCA-blade3.bagong.grid.computer.ee.its.ac.id/OU=grid.computer.ee.its.ac.id/CN=tonny
kusdarwanto
MyProxyPassword=*****
queue 3
#############################################################

I Read from globus manual that job type that accepted by globus job
manager are single|multiple|mpi|condor. But i didn't get a lot of
information about those jobs in the manual. I Found information at
http://bugzilla.globus.org/globus/show_bug.cgi?id=3384
that those job's are treated differently in Local Scheduler ( like
Condor,SGE,PBS,or LSF).

and it make me confused about several things :

1. is Condor really support single and multiple job ? and what is the
different between them in Condor.
2. How can i submit condor job (vanilla,java,mpi,parallel) via Condor-G
because i have Condor as Local Scheduler under Globus. Is that supported
by Condor-G ?
3. when i try to submit with job type mpi like following submission file :

##########################################################################
executable= test2
universe=grid
globusrsl= (jobtype=mpi)(count=4)
grid_resource=gt4
https://blade3.bagong.grid.computer.ee.its.ac.id:8443/wsrf/services/ManagedJobFactoryService
Condor
output=grid.out
log=grid.log
MyProxyHost=myproxy.grid.computer.ee.its.ac.id:7512
MyProxyServerDN=/O=Grid Elektro
ITS/OU=Globus/OU=simpleCA-blade3.bagong.grid.computer.ee.its.ac.id/OU=grid.computer.ee.its.ac.id/CN=tonny
kusdarwanto
MyProxyPassword=*****
queue
##########################################################################

and the source code of test2 is like this :

##########################################################################
#include <stdio.h>
#include "mpi.h"

int main(int argc,char *argv[])
{
int rank,size;
double param[16],mine;
int sndcnt,rcvcnt;
int i;
MPI_Init(&argc,&argv);
MPI_Comm_rank(MPI_COMM_WORLD,&rank);
MPI_Comm_size(MPI_COMM_WORLD,&size);
sndcnt=1;
mine=23.0+rank;
if(rank==0)rcvcnt=1;
MPI_Gather(&mine,sndcnt,MPI_DOUBLE,param,rcvcnt,MPI_DOUBLE,0,MPI_COMM_WORLD);

if(rank==0)
 {
 printf("size : %d\n",size);
 for(i=0;i<size;++i)
  printf("PE: %d param[%d] is %f\n",rank,i,param[i]);
 }

MPI_Finalize();
return 0;
}
##########################################################################

I got following Output :

size : 1
PE: 0 param[0] is 23.000000

The output should like this when i run it with command mpirun -np 4 with
mpich 1.2.4

size : 4
PE: 0 param[0] is 23.000000
PE: 0 param[1] is 24.000000
PE: 0 param[2] is 25.000000
PE: 0 param[3] is 26.000000

My Question is why the "size" output that produced by condor-G just "1" ?
Thanks before. I really need Help.