Skip to content
Advertisement

How to feed a large number of samples in parallel to linux?

I’m trying run following command on a large number of samples.

JavaScript

I have:

JavaScript

but I have thousands of these samples to process.

Each sample takes about a day or two to finish on my local computer.

I’m using a shared linux cluster and a job scheduling system called Slurm, if that helps.

Advertisement

Answer

Write a submission script such as the following and submit it with the sbatch command.

JavaScript

This is totally untested, and only aims at giving you a first direction.

I am sure the administrators of the cluster you use have written some documentation, the first step would be to read it cover to cover.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement