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: Jeff Hammond <jeff.science AT gmail.com>
  • To: Jozsef Bakosi <jbakosi AT gmail.com>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] PGI build
  • Date: Wed, 26 Apr 2017 08:37:46 -0700

Possibilities:

1) alias pgCC=pgc++ in ~/.$(YOURSHELL)rc or ~/.profile

2) edit makefile to invoke pgc++ instead.

Jeff

On Tue, Apr 25, 2017 at 9:31 AM, Jozsef Bakosi <jbakosi AT gmail.com> 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?

Thanks,
Jozsef



--



Archive powered by MHonArc 2.6.19.

Top of Page