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

[Condor-users] Globus & Condors



I have a heterogeneous condor cluster (windows/linux)
If I just submit the condor job posted , it works fine, the scheduler
takes a windows machine and runs the sample.

If I submit the globus job, I have to put the classpath
/usr/condor-6.8.1/lib:/home/aolias
Why? I don not the reason, but  /home/aolias is where the class file
is copied, and
/usr/condor-6.8.1 is needed due to condor java classes

So the problem is, when the java job is executed in a windows machine,
that classpath is WRONG, but  my question is Why do I have to write
this classpath?

I suppose globus just creates a new condor description file with the
similar to the one I have writen for condor.

Any body has got ever this problem ?
Thanks in advance
Alfonso
#######################
# CONDOR Submit description file for hello program
########################
Executable     = HelloWorld.class
Arguments      = HelloWorld hello.java.in
Universe       = java
Output         = hello.java.out
Log            = hello.java.log
Error          = hello.java.err
java_vm_args   = -Xmx64M
transfer_files = always
transfer_input_files = hello.java.in
when_to_transfer_output = ON_EXIT
Requirements   = Memory >= 64 && OpSys == "WINNT51"
Queue

####################################
GLOBUS GRAM job description
####################################
<job>
   <executable>/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin/java</executable>
   <directory>${GLOBUS_USER_HOME}</directory>
   <argument>HelloWorld</argument>
   <stdout>${GLOBUS_USER_HOME}/java.stdout</stdout>
   <stderr>${GLOBUS_USER_HOME}/java.stderr</stderr>

<extensions>
  <condorsubmit name="Universe">Java</condorsubmit>
  <condorsubmit name="Requirements">True</condorsubmit>
  <condorsubmit name="java_vm_args">-classpath
/usr/condor-6.8.1/lib:/home/aolias -Xmx64M</condorsubmit>
  <condorsubmit name="when_to_transfer_output">ON_EXIT</condorsubmit>
  <condorsubmit name="transfer_files">ALWAYS</condorsubmit>
</extensions>
</job>