hjmangalam / parsyncfp

follow-on to parsync (parallel rsync) with better startup perf
Other
164 stars 19 forks source link

Complete fail when iwconfig missing #2

Open lancewilson-monash opened 7 years ago

lancewilson-monash commented 7 years ago

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.

hjmangalam commented 7 years ago

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.