I wanted to run gnu_parallel
on one of my servers(nproc=48). When I try to run the command,
seq 1 5000 | parallel --eta 'echo {} > /dev/null'
I was getting some errors,
Can't load '/usr/local/lib64/perl5/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/local/lib64/perl5/auto/Fcntl/Fcntl.so: wrong ELF class: ELFCLASS32 at /usr/lib64/perl5/XSLoader.pm line 70.
at /usr/local/lib64/perl5/Fcntl.pm line 215
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/Fcntl.pm line 216.
Compilation failed in require at /usr/local/lib64/perl5/POSIX.pm line 19.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/POSIX.pm line 19.
Compilation failed in require at /usr/bin/parallel line 24.
BEGIN failed--compilation aborted at /usr/bin/parallel line 24.
I don’t want to re-install Perl on the server as there are many servers using it.
I can do anything which will not harm current applications running on my servers.
Please tell me a way to run parallel.
OS: Cent-OS 6.4 64 bit
nproc: 48
RAM: 512 GB
EDIT:
Else Will I be able to use App::Fatpacker ? for solving the issue ?
EDIT 2
I tried and failed using Fatpacker.
EDIT: 3 I tried Installing perlbrew: got following errors of wrong ELFClASS
Can't load '/usr/local/lib64/perl5/auto/PerlIO/scalar/scalar.so' for module PerlIO::scalar: /usr/local/lib64/perl5/auto/PerlIO/scalar/scalar.so: wrong ELF class: ELFCLASS32 at /usr/lib64/perl5/XSLoader.pm line 70.
at /usr/local/lib64/perl5/PerlIO/scalar.pm line 4
Compilation failed in require at (eval 1) line 3.
FatPacker error loading App/perlbrew.pm (could be a perl installation issue?) at perlbrew-23345 line 551.
BEGIN failed--compilation aborted at perlbrew-23345 line 562.