hjmangalam / parsyncfp

follow-on to parsync (parallel rsync) with better startup perf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Complete fail when iwconfig missing

lancewilson-monash opened this issue · comments

On a HPC system there is no iwconfig installed as it is not useful. Removing all reference to iwconfig fixes the fail.

which: no iwconfig in (/opt/munge-0.5.11/bin:/opt/slurm-16.05.4/bin:/opt/slurm-16.05.4/sbin:/opt/nhc-1.4.2/sbin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/ibutils/bin:/usr/local/hpcsystem/latest/sbin:/home/lancew/scripts:/home/lancew/scripts/parsync:/home/lancew/bin)
!!WARN: [iwconfig] not found. you can 'fpart' here:
http://moo.nac.uci.edu/~hjm/parsync/utils
and the rest via yum, apt-get, or google.

FATAL: [iwconfig] isn't on your PATH [/opt/munge-0.5.11/bin:/opt/slurm-16.05.4/bin:/opt/slurm-16.05.4/sbin:/opt/nhc-1.4.2/sbin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/opt/ibutils/bin:/usr/local/hpcsystem/latest/sbin:/home/lancew/scripts:/home/lancew/scripts/parsync:/home/lancew/bin]; Please install it or correct your PATH variable to include it.
Try ''module load perl'' or use cpan to install it.

Thanks. This is the next thing to address. I've commented out this code in the 6.5.2017 mods, but I'll be looking at implementing this better with code that doesn't require external utilities.