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: "Bak, Seonmyeong" <sbak5 AT illinois.edu>
  • To: Brian Radak <brian.radak AT gmail.com>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Trouble compiling charm++ on ANL-Theta
  • Date: Thu, 30 Nov 2017 17:50:14 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=sbak5 AT illinois.edu

Oh, I missed some messages in the beginning. 
Charm++ is built correctly. The message doesn’t mean that you failed to build Charm++

Seonmyeong Bak

On Nov 30, 2017, at 11:47 AM, Bak, Seonmyeong <sbak5 AT illinois.edu> wrote:

Hello, Brian, 

It seems that you tried to build charm++ with gcc and -xMIC-AVX512 is compile option only available on icc. 
And, we use compiler wrapper ‘cc/CC’ on Cray machines by loading ‘PrgEnv-* options'
Please check if you load 'PrgEnv-intel module' correctly and try to build charm++ again.

Bak, Seonmyeong
Ph.D student | Department of Computer Science
University of Illinois at Urbana-Champaign
Cell: +1 217) 402-4082 

On 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

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'.

Can you offer any suggestions? Should I go back to an older release just to be sure this is not an issue with updates on Theta (I haven't recompiled for several months).

Regards,
Brian Radak

former Theta ESP postdoc at ALCF
currently on staff at TCBG





Archive powered by MHonArc 2.6.19.

Top of Page