Hello World

Description

These hello.m and submit_hello.txt files demonstrate the most simple example of running a Matlab job on HTCondor using Matlab 2013a.

Points To Note

  1. The Requirements line in the submit file specifies that the job be run on a Condor node that supports Matlab 2013a by requesting the ClassAd HAS_MATLAB_2013.
  2. The Matlab script does not use checkpointing and so there is no benefit in copying intermediate results files back to the HTCondor submit node if our job is evicted. Hence we specify that WhenToTransferOutput files should only happen when our job successfully completes (ON_EXIT as opposed to ON_EXIT_OR_EVICT).

Instructions For Running Sample

  1. module load matlab/2013a
  2. mcc -R -singleCompThread -m hello.m
  3. condor_submit submit_hello.txt

Last modified on February 21, 2025 at 12:09 pm by Chris Paul