Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Files sts

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Files sts


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Márcia Silva <marcianasare AT gmail.com>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] [ppl] Files sts
  • Date: Sat, 3 Sep 2011 10:27:04 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Could you run 'which mpicc' please?

On Fri, Sep 2, 2011 at 07:50, Márcia Silva
<marcianasare AT gmail.com>
wrote:
> But I am using mpicc, look that I am doing with code migration:
> labadm@PSGLABPES10011:~/Documentos/charm-6.3-mpi-win32/mpi-linux-bigemulator/tests/ampi/migration$
> mpicc -o migration test.C -tracemode projections
> gcc: projections: Arquivo ou diretório não encontrado
> gcc: unrecognized option '-tracemode'
> test.C:8:37: error: charm.h: Arquivo ou diretório não encontrado
> test.C: In function ‘int main(int, char**)’:
> test.C:18: error: ‘CkPrintf’ was not declared in this scope
> test.C:33: error: ‘CkNumPes’ was not declared in this scope
> test.C:35: error: ‘CkMyPe’ was not declared in this scope
> test.C:39: error: ‘CkAssert’ was not declared in this scope
> test.C:46: error: ‘AMPI_Migrateto’ was not declared in this scope
> What is wrong? With charmc occured the same problem.
> Thankyou
> On Fri, Sep 2, 2011 at 11:39 AM, Phil Miller
> <mille121 AT illinois.edu>
> wrote:
>>
>> On Fri, Sep 2, 2011 at 07:35, Márcia Silva
>> <marcianasare AT gmail.com>
>> wrote:
>> > When I use -tracemode projections, occur:
>> > gcc: projections: Arquivo ou diretório não encontrado
>> > gcc: unrecognized option '-tracemode'
>>
>> You need to pass that option to charmc or the mpicc wrapper that we
>> provide as part of AMPI. That's not something native compilers
>> understand.
>>
>> > When I use ./charmrun with +bglog I can generate the file .log, but
>> > Projections need of files sts for show graphics right? So, how I will
>> > use
>> > this files?
>>
>> The +bglog option relates to BigSim emulator traces. Those are a
>> different sort of log file entirely.
>>
>> When you get your program linked with Projections, it will
>> automatically generate Projections log files when you run it.
>>
>>
>> > Thank you.
>> >
>> > On Fri, Sep 2, 2011 at 11:21 AM, Phil Miller
>> > <mille121 AT illinois.edu>
>> > wrote:
>> >>
>> >> On Fri, Sep 2, 2011 at 04:33, Márcia Silva
>> >> <marcianasare AT gmail.com>
>> >> wrote:
>> >> > I am trying use Projections but I can't show the files sts. I do a
>> >> > simulation  with IS of benchmark NAS as follow:
>> >> > mpicc -o is is.c
>> >> > But the files aren't generate.
>> >> > What I am doing wrong?
>> >>
>> >> .sts files are generated by running a charm++ or AMPI program linked
>> >> with the option '-tracemode projections'. I can't even tell if you're
>> >> compiling is.c as plain MPI or AMPI from what you show, and you don't
>> >> mention actually executing the binary at all.
>> >>
>> >> Once you have run a program with Projections tracing enabled, the .sts
>> >> file just contains metadata. The actual traces will be in files named
>> >> is.<processor>.log.
>> >>
>> >> Phil
>> >
>> >
>
>





Archive powered by MHonArc 2.6.16.

Top of Page