Skip to Content.
Sympa Menu

charm - Re: [charm] Charm 6.2.2 build

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Charm 6.2.2 build


Chronological Thread 
  • From: "Chao Mei" <chaomei2 AT illinois.edu>
  • To: "Swartz, Brent A. \(GSFC-610.3\)[ADVANCED MANAGEMENT TECHNOLOGY]" <brent.a.swartz AT nasa.gov>, <charm AT cs.uiuc.edu>
  • Cc: "Oloso, Amidu O. \(GSFC-610.3\)\[ADVANCED MANAGEMENT TECHNOLOGY\]" <amidu.o.oloso AT nasa.gov>
  • Subject: Re: [charm] Charm 6.2.2 build
  • Date: Mon, 27 Sep 2010 17:33:49 -0500
  • Importance: Normal
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Please try "mpi-linux-x86_64" instead of "mpi-linux".

-Chao Mei

--------------------------------------------------
From: "Swartz, Brent A. (GSFC-610.3)[ADVANCED MANAGEMENT TECHNOLOGY]" <brent.a.swartz AT nasa.gov>
Sent: Monday, September 27, 2010 5:11 PM
To:
<charm AT cs.uiuc.edu>
Cc: "Oloso, Amidu O. (GSFC-610.3)[ADVANCED MANAGEMENT TECHNOLOGY]" <amidu.o.oloso AT nasa.gov>
Subject: [charm] Charm 6.2.2 build

Hello,

In order to install the latest NAMD on our cluster here I am attempting to
build charm for our Intel Xeon EM64T processor (Nehamlem, Harpertown,
Woodcrest, Dempsey) cluster running SUSE Linux here at NASA GSFC. I want to
use the Intel compilers (icc, ifort) and Intel MPI to communicate between
the nodes. So I have the following modules loaded on our system:

module load comp/intel-11.1.072 mpi/impi-3.2.2.006

baswartz@discover08:/discover/nobackup/baswartz/bench/NAS_BM_PGK/NAMD/NAMD_2
.7b4_Source/charm-6.2.2> uname -a
Linux discover08 2.6.16.60-0.42.5-smp #1 SMP Mon Aug 24 09:41:41 UTC 2009
x86_64 x86_64 x86_64 GNU/Linux

Then I attempt to build charm:

env MPICXX=mpicxx ./build charm++ mpi-linux icc ifort --no-build-shared
--with-production >& build.out.3

If you like I can email you the entire build.out.3 file, but the main
problems appear to be:

...

../bin/charmc -optimize -nobs -I. -o ../lib/libmemory-charmdebug.o
-DCMK_MEMORY_BUILD_CHARMDEBUG memory.c || touch
../lib/libmemory-charmdebug.o
memory-charmdebug.c(388): warning #181: argument is incompatible with
corresponding format string conversion
printf("scanning stack from %p (%d) to %p
(%d)\n",begin_stack,begin_stack,end_stack,end_stack);
^

memory-charmdebug.c(388): warning #181: argument is incompatible with
corresponding format string conversion
printf("scanning stack from %p (%d) to %p
(%d)\n",begin_stack,begin_stack,end_stack,end_stack);

^

memory-charmdebug.c(401): warning #181: argument is incompatible with
corresponding format string conversion
printf("scanning data from %p (%d) to %p
(%d)\n",info->begin_data,info->begin_data,info->end_data,info->end_data);
^

memory-charmdebug.c(401): warning #181: argument is incompatible with
corresponding format string conversion
printf("scanning data from %p (%d) to %p
(%d)\n",info->begin_data,info->begin_data,info->end_data,info->end_data);

^

memory-charmdebug.c(416): warning #181: argument is incompatible with
corresponding format string conversion
printf("scanning bss from %p (%d) to %p
(%d)\n",info->begin_bss,info->begin_bss,info->end_bss,info->end_bss);
^

memory-charmdebug.c(416): warning #181: argument is incompatible with
corresponding format string conversion
printf("scanning bss from %p (%d) to %p
(%d)\n",info->begin_bss,info->begin_bss,info->end_bss,info->end_bss);

^

memory-charmdebug.c(1321): warning #181: argument is incompatible with
corresponding format string conversion
sprintf(buf,"slot size %d\n",sizeof(Slot));
^

memory-charmdebug.c(1542): error: expected an identifier
void setMemoryTypeChare(void *ptr) {
^

memory-charmdebug.c(1542): error: expected a ";"
void setMemoryTypeChare(void *ptr) {
^

memory-isomalloc.h(17): warning #12: parsing restarts here after previous
syntax error
void *malloc_nomigrate(size_t size);
^

compilation aborted for memory.c (code 2)
Fatal Error by charmc in directory
/discover/nobackup/baswartz/bench/NAS_BM_PGK/NAMD/NAMD_2.7b4_Source/charm-6.
2.2/mpi-linux-ifort-icc/tmp
Command icc -fpic -I../bin/../include -D__CHARMC__=1 -I.
-DCMK_MEMORY_BUILD_CHARMDEBUG -O -c memory.c -o
../lib/libmemory-charmdebug.o returned error code 2

...

Running configure on i386-gcc
( cd QuickThreads ; /usr/bin/gmake qt OPTS='-optimize -nobs' ) || ( echo
"Did you try to build net-linux on a 64-bit system? Try net-linux-x86_64" &&
false )
gmake[1]: Entering directory
`/gpfsm/dnb33/baswartz/bench/NAS_BM_PGK/NAMD/NAMD_2.7b4_Source/charm-6.2.2/m
pi-linux-ifort-icc/tmp/QuickThreads'
rm -f qtmd.h
ln -s md/i386.h qtmd.h
../../bin/charmc -seq -I. -o qt.o qt.c
as -o qtmds.o md/i386.s
md/i386.s: Assembler messages:
md/i386.s:69: Error: suffix or operands invalid for `push'
md/i386.s:70: Error: suffix or operands invalid for `push'
md/i386.s:71: Error: suffix or operands invalid for `push'
md/i386.s:72: Error: suffix or operands invalid for `push'
md/i386.s:77: Error: suffix or operands invalid for `push'
md/i386.s:78: Error: suffix or operands invalid for `push'
md/i386.s:79: Error: suffix or operands invalid for `push'
md/i386.s:81: Error: suffix or operands invalid for `call'
md/i386.s:84: Error: suffix or operands invalid for `pop'
md/i386.s:85: Error: suffix or operands invalid for `pop'
md/i386.s:86: Error: suffix or operands invalid for `pop'
md/i386.s:87: Error: suffix or operands invalid for `pop'
md/i386.s:98: Error: suffix or operands invalid for `push'
md/i386.s:99: Error: suffix or operands invalid for `call'
md/i386.s:100: Error: suffix or operands invalid for `pop'
md/i386.s:102: Error: suffix or operands invalid for `call'
md/i386.s:104: Error: suffix or operands invalid for `push'
md/i386.s:105: Error: suffix or operands invalid for `push'
md/i386.s:106: Error: suffix or operands invalid for `call'
gmake[1]: *** [qt] Error 1
gmake[1]: Leaving directory
`/gpfsm/dnb33/baswartz/bench/NAS_BM_PGK/NAMD/NAMD_2.7b4_Source/charm-6.2.2/m
pi-linux-ifort-icc/tmp/QuickThreads'
Did you try to build net-linux on a 64-bit system? Try net-linux-x86_64
gmake: *** [QUICK_THREADS] Error 1
-------------------------------------------------
Charm++ NOT BUILT. Either cd into mpi-linux-ifort-icc/tmp and try
to resolve the problems yourself, visit
http://charm.cs.uiuc.edu/
for more information. Otherwise, email the developers at
charm AT cs.uiuc.edu

I suspect I am missing something in the charm build... Any Suggestions?

I also attempted to build with:
env MPICXX=mpicxx ./build charm++ mpi-linux-x86_64 ifort --no-build-shared
--with-production >& build.out.2

But that apparently is for Opterons.

Thanks,

- Brent

--
_______________________________________________________
Brent Swartz
Scientific Application Computational Scientist
Software Integration & Visualization Office - Code 610.3
NASA Goddard Space Flight Center

(715)726-1405
Brent.A.Swartz AT nasa.gov
_______________________________________________________


_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm






Archive powered by MHonArc 2.6.16.

Top of Page