in reply to Re: Running Parallel Perl Script on Linux Cluster
in thread Running Parallel Perl Script on Linux Cluster
then, on the master you will have to poll from time to time to see if all the result files exist or if "fail" files are there, to requeue the jobs.#!/usr/bin/bash cd ~/some_dir (perl mycode.pl $1 $2 > ~/some_out_dir/param_set$1.out.tmp && mv ~/some_out_dir/param_set$1.out) || touch ~/some_out_dir/param_set$1.fail
Though, it should be better ways to synchronize partial jobs over the cluster.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Running Parallel Perl Script on Linux Cluster
by monkfan (Curate) on Apr 02, 2006 at 07:11 UTC | |
by salva (Canon) on Apr 02, 2006 at 14:42 UTC | |
by Anonymous Monk on Jun 20, 2007 at 15:09 UTC |