Skip to Content.
Sympa Menu

charm - Re: [charm] Alpine build with v6.9.0-rc2

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Alpine build with v6.9.0-rc2


Chronological Thread 
  • From: Evan Ramos <evan AT hpccharm.com>
  • To: Jozsef Bakosi <jbakosi AT lanl.gov>
  • Cc: charm <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Alpine build with v6.9.0-rc2
  • Date: Mon, 29 Oct 2018 17:26:39 -0500
  • Authentication-results: illinois.edu; spf=none smtp.mailfrom=evan AT hpccharm.com; dkim=pass header.d=hpccharm-com.20150623.gappssmtp.com header.s=20150623; dmarc=none

If you run `grep -i charmdebug config.log charmconfig.out conv-mach-opt.*`, what is printed?

--
Evan A. Ramos
Software Engineer
Charmworks, Inc.


On Mon, Oct 29, 2018 at 4:45 PM Jozsef Bakosi <jbakosi AT lanl.gov> wrote:
On 10.29.2018 12:38, Evan Ramos wrote:
> Hi Jozsef,
>
> I believe this patch should fix the __malloc_hook problem:
> https://charm.cs.illinois.edu/gerrit/c/charm/+/4744

Applying the patch and re-building with

$ ./build charm++ mpi-linux-x86_64 --enable-error-checking --build-shared --with-production -j36 -w -fpermissive -O3 -DNDEBUG

I get, in tmp/config.log:

  $ ./configure --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats --enable-error-checking

and the error:

In file included from memory.C:677:
memory-charmdebug.c:30:2: error: #error "charmdebug is not enabled (e.g. when building with-production)"
 #error "charmdebug is not enabled (e.g. when building with-production)"
  ^~~~~

I guess, charmdebug is disabled even without me passing
--disable-charmdebug to it, so that turns out to be a problem.

> I am confused by the charmdebug error. I looked at the build system and
> don't see how memory-charmdebug would be included from any file if
> --disable-charmdebug was passed. Does the configure script say "CharmDebug
> is disabled"?

Here are the first few lines of tmp/config.log for when I explicitly
disable charmdebug:

==========
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Charm++ configure 60900, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats --enable-error-checking --disable-charmdebug
==========

I guess --disable-charmdebug is triggered by --with-production, so both
will do the same and for some reason this breaks on alpine.

Thanks,
Jozsef



Archive powered by MHonArc 2.6.19.

Top of Page