Skip to Content.
Sympa Menu

charm - Re: [charm] setarch: failed to set personality to x86_64: Operation not permitted

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] setarch: failed to set personality to x86_64: Operation not permitted


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT lanl.gov>
  • To: charm AT lists.cs.illinois.edu
  • Subject: Re: [charm] setarch: failed to set personality to x86_64: Operation not permitted
  • Date: Sat, 27 Oct 2018 21:45:18 -0600
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=jbakosi AT lanl.gov; dkim=pass header.d=lanl.gov header.s=lanl; dmarc=pass header.from=lanl.gov

As I suspected, this is really a docker-related and not a
charm++-related problem.

If I pass the --privileged command line argument to 'docker run',
charmrun works, because docker then allows calling the setarch utility.
However, I need to run tests during 'docker build' and not 'docker run',
and the docker folks do not seem to be going to allow --privileged for
'docker build' in the future due to security considerations.

So I just put in a work-around to my build system that allows overriding
the runner from charmrun to mpirun and that is an okay work-around for
this problem and also useful in general.

Jozsef

On 10.27.2018 10:12, Jozsef Bakosi wrote:
> Hi folks,
>
> I get the above error out of charmrun on debian linux inside a docker
> container and charmrun does not run my executable. This is on MPI-build.
> Replacing charmrun with mpirun runs the executable fine. Is there some
> easy fix for charmrun or a work-around?
>
> Please let me know if you need more info.
>
> Thanks,
> Jozsef



Archive powered by MHonArc 2.6.19.

Top of Page