Skip to Content.
Sympa Menu

charm - [charm] Fwd: charmc: eval: line 1: /lib/cpp: not found

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Fwd: charmc: eval: line 1: /lib/cpp: not found


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT gmail.com>
  • To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: [charm] Fwd: charmc: eval: line 1: /lib/cpp: not found
  • Date: Thu, 5 May 2016 10:32:06 -0600

Forgot to CC the list.

---------- Forwarded message ----------
From: Jozsef Bakosi <jbakosi AT gmail.com>
Date: Thu, May 5, 2016 at 10:27 AM
Subject: Re: [charm] charmc: eval: line 1: /lib/cpp: not found
To: Phil Miller <mille121 AT illinois.edu>


It's an Alpine linux with the following packages above the minimal base system: bash, m4, file, git, cmake, gfortran, gcc, g++, make, perl, grep, boost-dev zlib-dev, libexecinfo-dev. (Attempting to build minimal, fully statically linked executables, based on musl-libc instead of glibc, inside a docker container.)

I'm suspecting it is a shell issue, since on this system /bin/sh points to /bin/busybox, even after installing bash and attempting the run the build inside bash and still fails with the same error. What shell features does the build script rely on?

I'm not sure if this is of any help, but this used to work on a fairly old Charm++, released around Jun, 2015.

On Thu, May 5, 2016 at 10:08 AM, Phil Miller <mille121 AT illinois.edu> wrote:
What operating system and version is that? Does it have whatever standard packages for development utilities installed (e.g. build-essential on Debian derivatives)?

On Thu, May 5, 2016 at 11:03 AM, Jozsef Bakosi <jbakosi AT gmail.com> wrote:
Hi folks,

Building charm++, using the follwing command:

$ build;charm++;mpi-linux-x86_64;mpicxx;--disable-charmdebug;-j36;-O3 -DNDEBUG"

I'm getting this error:

../bin/charmc: eval: line 1: /lib/cpp: not found
Fatal Error by charmc in directory /quinoa/tpl/install/gnu-x86_64/charm/mpi-linux-x86_64-mpicxx/tmp
   Command /lib/cpp -P -DNDEBUG ckcallback.ci returned error code 2
charmc exiting...

Does someone have a clue what could be the problem?

Please let me know what other information I can give you to diagnose the problem.

Thanks,
Jozsef






Archive powered by MHonArc 2.6.16.

Top of Page