Skip to Content.
Sympa Menu

charm - Re: [charm] Trouble compiling charm++ on ANL-Theta

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Trouble compiling charm++ on ANL-Theta


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Brian Radak <brian.radak AT gmail.com>
  • Cc: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Trouble compiling charm++ on ANL-Theta
  • Date: Thu, 30 Nov 2017 11:41:05 -0600
  • Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=unmobile AT gmail.com

Hi Brian,

On Thu, Nov 30, 2017 at 11:33 AM, Brian Radak <brian.radak AT gmail.com> wrote:
Hello,

I recently pulled the latest charm++ in order to recompile NAMD on the Argonne Theta supercomputer - the prescribed process (from Jim Philips) now fails.

The specific build command is
$ ./build charm++ gni-crayxc-persistent-smp -j8 --no-build-shared --with-production -xMIC-AVX512

We previously had issues with icc version 17, but this happens with 17, 16, and even a beta of 18. The particular (abridged) errors that stick out are:

gmake[1]: Entering directory 'charm/gni-crayxc-persistent-smp/tmp/topomanager'
gcc: error: language MIC-AVX512 not recognized
Fatal Error by charmc in directory charm/gni-crayxc-persistent-smp/tmp
   Command gcc -D_REENTRANT -I../bin/../include -D__CHARMC__=1 -U_FORTIFY_SOURCE -D_REENTRANT -I./../include -D__CHARMC__=1 -xMIC-AVX512 -O2 -U_FORTIFY_SOURCE -c conv-cpm.c -o conv-cpm.o returned error code 1


This is a known bug in our configure/build scripts:
It has a patch here:

 
and later

global-elfgot.C(78): error: #error directive: "Global-elfgot won't work properly under smp version: -swapglobals disabled"
  #  error "Global-elfgot won't work properly under smp version: -swapglobals disabled"
compilation aborted for global-elfgot.C (code 2)
Fatal Error by charmc in directory /home/radak/Software/namd/charm/gni-crayxc-persistent-smp/tmp
   Command CC -D_REENTRANT -I../bin/../include -D__CHARMC__=1 -xMIC-AVX512 -O2 -U_FORTIFY_SOURCE -std=c++11 -D_REENTRANT -I./../include -D__CHARMC__=1 -xMIC-AVX512 -O2 -U_FORTIFY_SOURCE -c global-elfgot.C -o global-elfgot.o returned error code 2
charmc exiting...
Warning: building shared library is not supported, recompile charm++ with '--build-shared'.

This won't actually fail the build, and doesn't affect NAMD at all.


Phil



Archive powered by MHonArc 2.6.19.

Top of Page