Skip to Content.
Sympa Menu

charm - [charm] problem compiling w/ mpi PGI

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] problem compiling w/ mpi PGI


Chronological Thread 
  • From: "Eros Albertazzi" <alb AT bo.imm.cnr.it>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] problem compiling w/ mpi PGI
  • Date: Wed, 25 Jun 2008 15:53:07 +0200 (CEST)
  • Importance: Normal
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

I have an error in compiling mpi-limux-and64 with PGI
any clue or suggestion on what I did wrong?
Regards.

gmake[3]: Entering directory
`/home/alb/NAMD_2.6_Source/charm-5.9/mpi-linux-amd64/tmp/QuickThreads'
rm -f qtmd.h
../system_ln md/setjmp_d.h qtmd.h
../../bin/charmc -seq -I. -O -DCMK_OPTIMIZE=1 -nobs -c -o qt.o qt.c
mpiCC for 1.2.6 (release) of : 2004/08/04 11:10:38

/opt/cluster/pgi72/linux86-64/7.2-1/bin/pgcpp1 --llalign -Dunix -D__unix
-D__unix__ -Dlinux -D__linux -D__linux__ -D__NO_MATH_INL
INES -D__x86_64__ -D__LONG_MAX__=9223372036854775807L
'-D__SIZE_TYPE__=unsigned long int' '-D__PTRDIFF_TYPE__=long int'
-D__THROW
= -D__extension__= -D__amd64__ -D__SSE__ -D__MMX__ -D__SSE2__ -D__SSE3__
-D__PGI -I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0
.3/include/mpi2c++ -I../../bin/../include -I.
-I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0.3/include -DUSE_STDARG
-DHAVE_STDL
IB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1
-DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -DHAVE_MPI_CPP -DCMK_SEQUENTIAL=1
-D__CHARMC__=1 -DCMK_OPTIMIZE=1
-I/opt/cluster/pgi72/linux86-64/7.2-1/include/CC
-I/opt/cluster/pgi72/linux86-64/7.2-1/include-g
cc33 -I/opt/cluster/pgi72/linux86-64/7.2-1/include -I/usr/local/include
-I/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include -I/u
sr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include -I/usr/include -q -o
/tmp/pgCCf4bdpe3ofkEW.il qt.c

/opt/cluster/pgi72/linux86-64/7.2-1/bin/pgcpp2 qt.c -opt 2 -x 119 0xa10000
-x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x4
00000 -x 28 0x40000 -x 70 0x8000 -x 122 1 -quad -x 59 4 -x 59 4 -tp k8-64e
-astype 0 -fn qt.c -il /tmp/pgCCf4bdpe3ofkEW.il -x 123
4 -x 2 0x400 -x 123 0x80000000 -x 119 0x20 -alwaysinline
/opt/cluster/pgi72/linux86-64/7.2-1/lib/libintrinsics.il 4 -x 120 0x200
000 -cmdline '+pgCC /tmp/pgCCf4bdpe3ofkEW.il -DUSE_STDARG
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1
-DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -DHAVE_MPI_CPP
-I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0.3/include/mpi2c++ -v
-DCMK_SE
QUENTIAL=1 -I../../bin/../include -D__CHARMC__=1 -I. -DCMK_OPTIMIZE=1 -O
-c -o qt.o -I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx
1.0.3/include' -asm /tmp/pgCCT4bdhMpC8-v2.s
PGCC/x86 Linux 7.2-1: compilation successful

/usr/bin/as /tmp/pgCCT4bdhMpC8-v2.s
-I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0.3/include/mpi2c++
-I../../bin/../include -I.
-I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0.3/include -o qt.o
Action(ReadTIFile(./qt.ti))
Unlinking /tmp/pgCCf4bdpe3ofkEW.il
Unlinking /tmp/pgCCT4bdhMpC8-v2.s
../../bin/charmc -seq -I. -O -DCMK_OPTIMIZE=1 -nobs -c -o qtmds.o
md/setjmp64.c
mpiCC for 1.2.6 (release) of : 2004/08/04 11:10:38

/opt/cluster/pgi72/linux86-64/7.2-1/bin/pgcpp1 --llalign -Dunix -D__unix
-D__unix__ -Dlinux -D__linux -D__linux__ -D__NO_MATH_INL
INES -D__x86_64__ -D__LONG_MAX__=9223372036854775807L
'-D__SIZE_TYPE__=unsigned long int' '-D__PTRDIFF_TYPE__=long int'
-D__THROW
= -D__extension__= -D__amd64__ -D__SSE__ -D__MMX__ -D__SSE2__ -D__SSE3__
-D__PGI -I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0
.3/include/mpi2c++ -I../../bin/../include -I.
-I///usr/local/ibgd/mpi/pgi/mvapich-0.9.5-mlx1.0.3/include -DUSE_STDARG
-DHAVE_STDL
IB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1
-DUSE_STDARG=1 -DMALLOC_RET_VOID=1 -DHAVE_MPI_CPP -DCMK_SEQUENTIAL=1
-D__CHARMC__=1 -DCMK_OPTIMIZE=1
-I/opt/cluster/pgi72/linux86-64/7.2-1/include/CC
-I/opt/cluster/pgi72/linux86-64/7.2-1/include-g
cc33 -I/opt/cluster/pgi72/linux86-64/7.2-1/include -I/usr/local/include
-I/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include -I/u
sr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include -I/usr/include -q -o
/tmp/pgCCfaddpe3ofkEW.il md/setjmp64.c
"md/setjmp64.c", line 15: error: expected an identifier
struct helpdesc { qt_helper_t *hfn; qt_t *jb; void *old; void *new; };
^
"md/setjmp64.c", line 52: error: identifier "alloca" is undefined
SHIFTSP(rjb);
"md/setjmp64.c", line 53: error: argument of type "unsigned long *" is
incompatible with parameter of type "__jmp_buf_tag *"
longjmp((unsigned long*)rjb, push_buf((void *)jb));
^
"md/setjmp64.c", line 55: error: expected a member name
rhelp->hfn(rhelp->jb, rhelp->old, rhelp->new);
^
"md/setjmp64.c", line 57: error: identifier "write" is undefined
write(2,"Never get here 2.\n",18);
^
"md/setjmp64.c", line 68: error: identifier "alloca" is undefined
SHIFTSP(sp);
^
"md/setjmp64.c", line 70: error: identifier "write" is undefined
write(2,"Never get here 1.\n",18);
^
"md/setjmp64.c", line 75: error: expected a ")"
void *qt_block(qt_helper_t *hfn, void *old, void *new, qt_t *sp)
^
"md/setjmp64.c", line 83: error: expected a member name
help.new = new;
^
"md/setjmp64.c", line 87: error: identifier "alloca" is undefined
SHIFTSP(sp);
^
"md/setjmp64.c", line 87: error: identifier "sp" is undefined
SHIFTSP(sp);
^
"md/setjmp64.c", line 88: error: identifier "sp" is undefined
longjmp((unsigned long*)sp, push_buf((void *)&help));
"md/setjmp64.c", line 90: error: expected a member name
rhelp->hfn(rhelp->jb, rhelp->old, rhelp->new);
^
==cutted===

18 errors detected in the compilation of "md/setjmp64.c".
pgCC-Fatal-cpp1 completed with exit code 2

Fatal Error by charmc in directory
/home/alb/NAMD_2.6_Source/charm-5.9/mpi-linux-amd64/tmp/QuickThreads
Command mpicxx -v -DCMK_SEQUENTIAL=1 -I../../bin/../include
-D__CHARMC__=1 -I. -DCMK_OPTIMIZE=1 -O -c md/setjmp64.c -o qtmds.o
returned error code 2
charmc exiting...

--
Eros Albertazzi
CNR-IMM Bologna
Via P.Gobetti 101
I-40129 Bologna, Italy
Tel: (+39)-051-639 9179
Fax: (+39)-051-639 9216







  • [charm] problem compiling w/ mpi PGI, Eros Albertazzi, 06/25/2008

Archive powered by MHonArc 2.6.16.

Top of Page