Htc test grid

From T2B Wiki
Revision as of 13:45, 31 July 2020 by Admin (talk | contribs) (Created page with "=== HTC grid submission test === First create a proxy and copy it into your home directory: <pre> voms-proxy-init --voms beapps cp -a -p /tmp/x509up_u`id -u` ./ </pre> Why is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HTC grid submission test

First create a proxy and copy it into your home directory:

voms-proxy-init --voms beapps
cp -a -p /tmp/x509up_u`id -u` ./

Why is it needed to have your proxy in your homedir? Because it must be available to the schedd and that the /user has also been mounted on the schedd machine for this reason. (The picture that you have to keep in mind here is that you are using a remote schedd that will submit the job on your behalf to the CE.)

Now let's create the *.sub file (ce_test.sub):

# Required for remote HTCondor-CE submission                                                                    
universe = grid
use_x509userproxy = true
x509userproxy = /user/sgerard/x509up_u20533
grid_resource = condor testumd-htcondorce.iihe.ac.be testumd-htcondorce.iihe.ac.be:9619

# Files
executable = ce_test.sh
output = ce_test.out
error = ce_test.err
log = ce_test.log

# File transfer behavior
ShouldTransferFiles = YES
WhenToTransferOutput = ON_EXIT

# Optional resource requests
#+xcount = 4            # Request 4 cores
#+maxMemory = 4000      # Request 4GB of RAM
#+maxWallTime = 120     # Request 2 hrs of wall clock time
#+remote_queue = "osg"  # Request the OSG queue

# Run job once
queue