Skip to Content.
Sympa Menu

charm - Re: [charm] PGI build

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] PGI build


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Jozsef Bakosi <jbakosi AT lanl.gov>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] PGI build
  • Date: Tue, 25 Apr 2017 11:38:49 -0500

On Tue, Apr 25, 2017 at 11:32 AM, Jozsef Bakosi <jbakosi AT lanl.gov> wrote:
Hi folks,

I'm trying to compile with the PGI compilers and I get:

Error checking is enabled
Statistics collection is enabled
Charm tracing is enabled
Charm tracing communication thread is disabled
CharmDebug is enabled
Charm record/replay is enabled
CCS is enabled
Charm control point is enabled
Charm LB user data is disabled
Setting load balancing timer type as 'double'
### whether C++ compiler works
#include <stdio.h>
void foo(void) {
        printf("Hello, world!\n");
}
pgCC -fPIC -DCMK_FIND_FIRST_OF_PREDICATE=1 --no_using_std -I../include -I. -c
test.cpp -o test.o
./configure: line 2145: pgCC: command not found

This is with PGI 16.10, which only provides pgc++ and not pgCC. I tried setting
the shell env var pgCC=pgc++ but that does not help. My build command is:

./build charm++ mpi-linux-x86_64 pgcc --build-shared

What is the recommended way to build with the pgi compilers?

Apparently we're going to have to update our scripts some, to point at the new compiler name.

In the meanwhile, you can edit the name from pgCC to pgc++ in src/arch/common/cc-pgcc.sh and then your build should at least be able to try to proceed.
 

Thanks,
Jozsef




Archive powered by MHonArc 2.6.19.

Top of Page