Skip to Content.
Sympa Menu

charm - Re: [charm] Configure fails for Cray RCA test

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Configure fails for Cray RCA test


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: dog AT lanl.gov
  • Cc: charm <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Configure fails for Cray RCA test
  • Date: Thu, 25 Feb 2016 13:45:25 -0600

Hi David,

This is probably a result of a deficiency in our documentation. To build using the Intel compilers on a Cray system, there's no need to specify the 'iccstatic' build option. Instead, a suitable PrgEnv-intel module should be loaded, and the default Cray CC compiler wrappers will take care of everything from there.

Phil

On Thu, Feb 25, 2016 at 10:15 AM, <dog AT lanl.gov> wrote:
I am trying to build charm++ on a Cray XC system with the following options:

./build charm++ gni-crayxc iccstatic  smp  -j16  -g -O0

The configure step hangs at this line:

checking "whether Cray ****** rca_has get_max_dimension"... "no"

The test code under evaluation is

#include <rca_lib.h>

int main() {
    rca_mesh_coord_t xyz;
    rca_get_max_dimension(&xyz);

    return 0;
}

And the link test does this

icc -D_REENTRANT -I../include -I. -c rca_has_test.c -o test.o -L/opt/cray/rca/
1.0.0-4.70/lib64 -lrca -lrca

The problem is that the include file lives in

/opt/cray/rca/1.0.0-4.70/include

but the configure script has no way of know about it. There is an environment
variable set by Cray's RCA module file that contains the necessary info

echo $CRAY_RCA_INCLUDE_OPTS

-I/opt/cray/rca/1.0.0-4.70/include -I/opt/cray/krca/1.0.0-4.56/include -I/opt/
cray-hss-devel/8.0.0/include

But how do I pass this along to the configure phase?

Thanks,
david




Archive powered by MHonArc 2.6.16.

Top of Page