Transfer Data with Job Methods and Properties
To transfer data to the cloud cluster, you can use the AttachedFiles
or
JobData
properties, in the same way you use these for other clusters. For
example:
Place all required executable and data files in the same folder.
Specify that folder in the
AttachedFiles
property of the job.When you submit your job, the files are transferred to the cloud and made available to the workers running on the cloud cluster.
Data that is stored in job and task properties is available to the client, so your task or
batch function results are accessible from the finished job’s fetchOutputs
function or the tasks’ OutputArguments
property. For batch jobs that run on
the cloud, you can access the job’s workspace variables with the load
function in your client session.