Skip to Content.
Sympa Menu

charm - Re: [charm] Build with address sanitizer

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Build with address sanitizer


Chronological Thread 
  • From: Sam White <white67 AT illinois.edu>
  • To: "Nelli, Kyle C." <knelli AT caltech.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Build with address sanitizer
  • Date: Fri, 25 Feb 2022 14:17:28 -0600
  • Authentication-results: ppops.net; spf=softfail smtp.mailfrom=samt.white AT gmail.com; dkim=pass header.d=illinois-edu.20210112.gappssmtp.com header.s=20210112; dmarc=fail header.from=illinois.edu

The build is failing when trying to configure ROMIO on top of AMPI. Since AFAIK you aren't using AMPI at all, you can pass "--without-romio" as an additional parameter to your build command in order to not build it, as in:

./build LIBS mpi-linux-x86_64 smp gcc --with-production --enable-error-checking --without-romio -fsanitize=address -j24

Let us know if there is still another issue. You also might need to get rid of the "gcc" option and instead rely on mpicc wrapping gcc.

Thanks,
Sam

On Fri, Feb 25, 2022 at 2:05 PM Nelli, Kyle C. <knelli AT caltech.edu> wrote:
Hello,

I'm with the SpECTRE team and I'm trying to build the LIBS target of v6.10.2 with the address sanitizer, but there's always an error. This build command works fine:

./build LIBS mpi-linux-x86_64 smp gcc --with-production --enable-error-checking -j24

However, once I add in the address sanitizer and build like:

./build LIBS mpi-linux-x86_64 smp gcc --with-production --enable-error-checking -fsanitize=address -j24

I get an error (attached file is all output from the build command). Is there a way to make this work?

Best,
Kyle Nelli



Archive powered by MHonArc 2.6.19.

Top of Page