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: "Bak, Seonmyeong" <sbak5 AT illinois.edu>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Trouble compiling charm++ on ANL-Theta
  • Date: Thu, 30 Nov 2017 12:25:12 -0600
  • Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=unmobile AT gmail.com

Did you try removing the gni-crayxc-persistent-smp directory and re-building from scratch?

On Thu, Nov 30, 2017 at 12:23 PM, Brian Radak <brian.radak AT gmail.com> wrote:
Thanks for the fast response.

I checked out patch 3339:

$ git pull https://charm.cs.illinois.edu/gerrit/charm refs/changes/39/3339/2

(I also tried)
$ git fetch https://charm.cs.illinois.edu/gerrit/charm refs/changes/39/3339/2 && git checkout FETCH_HEAD

and made sure of my environment

$ module load PrgEnv-intel

but still seem to get the same error. charmrun is also not produced. Sorry if I'm making a naive mistake here.

Brian


On Thu, Nov 30, 2017 at 12:50 PM, Bak, Seonmyeong <sbak5 AT illinois.edu> wrote:
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

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