Skip to Content.
Sympa Menu

charm - Re: [charm] Build Charm++ Problem

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Build Charm++ Problem


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Haowei Huang <huangh AT in.tum.de>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] Build Charm++ Problem
  • Date: Thu, 29 Apr 2010 15:24:01 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

On Thu, Apr 29, 2010 at 08:56, Haowei Huang
<huangh AT in.tum.de>
wrote:
>    The installation guide is
> here http://charm.cs.uiuc.edu/manuals/pdf/install.pdf
>     the program is in the installation dir
>  $INSTALLDIR/examples/charm++/hello/
>
>    which contains hello.C , hello.ci , hello.h

You have to separately run charmc on hello.ci to generate the
interface descriptions (contained in the resulting hello.decl.h) that
hello.C depends on. Then you can compile hello. Note that there's a
makefile in that directory, so you don't need to drive the compiler
yourself.

In the future, the compiler might learn to translate .ci files before
C and C++ files, but it doesn't know to do this now.

> 2010/4/29 Phil Miller
> <mille121 AT illinois.edu>
>>
>> On Thu, Apr 29, 2010 at 02:43, Haowei Huang
>> <huangh AT in.tum.de>
>> wrote:
>> >    Ok
>> >    I used the command ./build mpi-crayxt
>> >    without choose any compiler options like gcc or pgcc
>> >    charm++ can be built successfully but when I compile hello program
>> > using
>> > charmc I encounter such error information
>> >    my command is "charmc -o hello hello.C hello.ci"  as shown in your
>> > installation guide
>>
>> Could you send me a link to that installation guide, or tell me what
>> file you're looking at? That command doesn't sound right.
>>
>> > /opt/cray/xt-asyncpe/3.8/bin/CC: INFO: linux target is being used
>> > "hello.h", line 12: catastrophic error: cannot open source file
>> > "hello.decl.h"
>> >   #include "hello.decl.h"
>> >                          ^
>> > 1 catastrophic error detected in the compilation of "hello.C".
>> > Compilation terminated.
>> > Fatal Error by charmc in directory
>> > /home/u1/huangh/backup/charm-6.2.0/mpi-crayxt/examples/charm++/hello
>> >    Command CC -DCMK_CC_PGCC=1
>> > -I/fs/u1/huangh/backup/charm-6.2.0/mpi-crayxt/bin/../include
>> > -D__CHARMC__=1
>> > -c hello.C -o hello.o returned error code 2
>> > charmc exiting...
>> >
>> >
>> >   THANKS...
>> > 2010/4/28 Phil Miller
>> > <mille121 AT illinois.edu>
>> >>
>> >> Instead of 'net-linux', use the 'mpi-crayxt' target. If for some
>> >> experimental reason you really want a net- build of charm++, the
>> >> appropriate one would be net-linux-x86_64, since the Cray XTs are
>> >> 64-bit machines.
>> >>
>> >> Also, there have been two stable releases (6.1.3 and 6.2.0) since the
>> >> version that you're apparently trying to build. I suggest using a
>> >> newer one, to avoid bugs that we've fixed months ago.
>> >>
>> >> Phil
>> >>
>> >> On Wed, Apr 28, 2010 at 08:14, Haowei Huang
>> >> <huangh AT in.tum.de>
>> >> wrote:
>> >> > Dear Sir:
>> >> >            When I build the charm++ source code on a Cray XT4/XT5
>> >> > machine I
>> >> > encounter such build problem(I switch the programming environment
>> >> > from
>> >> > PGI
>> >> > to GNU on this machine)
>> >> > As you said, charm++ is potable on Cray XT series machines, Do you
>> >> > have
>> >> > any
>> >> > idea about it? Should I add some special options when I build it?
>> >> >
>> >> > Copying src/scripts/Makefile to net-linux/tmp
>> >> > Soft-linking over bin
>> >> > Soft-linking over lib
>> >> > Soft-linking over lib_so
>> >> > Soft-linking over include
>> >> > Soft-linking over tmp
>> >> > Generating net-linux/tmp/conv-mach-pre.sh
>> >> > Performing '/usr/bin/gmake  charm++ OPTS=' in net-linux/tmp
>> >> > /usr/bin/gmake headerlinks
>> >> > gmake[1]: Entering directory
>> >> > `/fs/u1/huangh/backup/charm-6.1.2/net-linux/tmp'
>> >> > Soft-linking headers...
>> >> > gmake[1]: [headerlinks] Error 1 (ignored)
>> >> > touch headerlinks
>> >> > gmake[1]: Leaving directory
>> >> > `/fs/u1/huangh/backup/charm-6.1.2/net-linux/tmp'
>> >> > touch basics
>> >> > cd QuickThreads && make clean
>> >> > make[1]: Entering directory
>> >> > `/fs/u1/huangh/backup/charm-6.1.2/net-linux/tmp/QuickThreads'
>> >> > rm -f qtmd.h libqt.a libstp.a meas.o stp.o qt.o
>> >> > rm -f qtmdb.s qtmds.s qtmdc.o qtmdb.o qtmds.o run
>> >> > rm -f Makefile
>> >> > make[1]: Leaving directory
>> >> > `/fs/u1/huangh/backup/charm-6.1.2/net-linux/tmp/QuickThreads'
>> >> > cd QuickThreads;./configure
>> >> > cd QuickThreads ; /usr/bin/gmake qt  OPTS=''
>> >> > gmake[1]: Entering directory
>> >> > `/fs/u1/huangh/backup/charm-6.1.2/net-linux/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
>> >> > `/fs/u1/huangh/backup/charm-6.1.2/net-linux/tmp/QuickThreads'
>> >> > gmake: *** [QUICK_THREADS] Error 2
>> >> > -------------------------------------------------
>> >> > Charm++ NOT BUILT. Either cd into net-linux/tmp and try
>> >> > to resolve the problems yourself, visit
>> >> >     http://charm.cs.uiuc.edu/
>> >> > for more information. Otherwise, email the developers at
>> >> > ppl AT cs.uiuc.edu
>> >> >




  • Re: [charm] Build Charm++ Problem, Phil Miller, 04/28/2010
    • Message not available
      • Message not available
        • Message not available
          • Re: [charm] Build Charm++ Problem, Phil Miller, 04/29/2010

Archive powered by MHonArc 2.6.16.

Top of Page