StarCluster - Mailing List Archive

32-bit executable binary files on 64-bit platform

From: David Mrva <no email>
Date: Mon, 02 Jun 2014 16:05:47 +0100


I have 32-bit binaries that I need to run on my StarCluster (which uses
64-bit Ubuntu 13.04 AMIs). After some searching I found that I can run
32-bit binaries after executing these lines in an terminal on the master:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386

However, when I list libc6:i386 in the package installer plugin to
ensure that all my cluster nodes have the required package, "starcluster
start" ends with an error and the generated crash report ends with:

Traceback (most recent call last):
line 48, in run
line 80, in run
     r = self.method(self.args, **self.kwargs)
line 1148, in apt_install
     self.apt_command('install %s' % pkgs)
line 1138, in apt_command
"/home/davidm/scenv/lib/python2.7/site-packages/starcluster/", line
578, in execute
     msg, command, exit_status, out_str)
RemoteCommandFailed: remote command 'source /etc/profile &&
DEBIAN_FRONTEND='noninteractive' apt-get -o
Dpkg::Options::='--force-confnew' -y --force-yes install libc6:i386'
failed with status 100:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libc6

Is there a way of installing packages for i386 platform on a 64-bit
nodes with the package installer plugin? Or is my only hope a custom
plugin? I should mention that most of my executables are 64-bit and the
32-bit binaries are from a third-party package compiled from source that
compiles as 32-bit even on 64-bit machines.

Many thanks,
Received on Mon Jun 02 2014 - 11:05:54 EDT
This archive was generated by hypermail 2.3.0.


Sort all by: