Create a gist now

Instantly share code, notes, and snippets.

@djw8605 /
Last active Aug 29, 2015

What would you like to do?
Submission for CUDA 5.0 to Tusker

In order to submit a previous version of CUDA to Tusker's GPU nodes, you need to bring along the CUDA library. Additionally, you need to append the LD_LIBRARY_PATH to include the current directory. In order to accomplish this, we used a wrapper script,, which sets the environment and runs the cuda code. is set as the executable. The transfer input files includes the library (from the system path), and the main CUDA executable.

transfer_input_files = /util/opt/cuda/5.0/lib64/, main

The argument to is simply the executable to run, main.

NOTE: You will need to modify the transfer_input_files line to point to the location of the on your system.

universe = grid
grid_resource = condor
executable =
arguments = ./main
transfer_input_files = /util/opt/cuda/5.0/lib64/, main
output = jm.out.condorc
error = jm.err.condorc
log = jm.log
WhenToTransferOutput = ON_EXIT
x509userproxy = x509up_u1384
# Request the gpu
Request_GPUs = 1
exec "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment