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, run.sh
, which sets the environment and runs the cuda code.
run.sh
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/libcudart.so.5.0, main
The argument to run.sh
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 libcudart.so.5.0 on your system.