The batchfarm uses SLURM to perform a job scheduling. It can only process scripts. Here's an example script how to submit 10 times the script "" to the farm by running ""


#initialize the same conditions as on your environment
. ~/.profile
. ~/.bashrc

# run your program (here, a simple line is piped into a file)
echo "hello again" > ~/output.txt


nJobs=10 #define the number of jobs
cpu=20 #define the cpu time in minutes
ram=200 #define the reserved ram in mb

for counter in `seq 1 $nJobs`;
sbatch --mem-per-cpu=${ram} --time=${cpu} --job-name="Job-$counter"