Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiler error during logfile creation.

31 views
Skip to first unread message

Panny

unread,
Nov 22, 2011, 10:28:29 PM11/22/11
to
Sir/mam,
i am trying to make logfile using mpich2's mpicc binary as given
below.

mpicc -mpilog -profile=temp -o sim sim.c

temp is my profiling library.
This commands gives following error.
cc1: error: Unrecognized command line option "-mpilog". And its not
getting compiled.

Please help me out. I want clog2 files for jumpshot to trace my code.
Thank you.

blmblm.m...@gmail.com

unread,
Nov 25, 2011, 12:50:10 PM11/25/11
to
In article <388ff992-d840-477c...@g20g2000prb.googlegroups.com>,
A Google search for "mpich" and "mpilog" turns up the following post
to an OpenMPI mailing list

http://www.open-mpi.org/community/lists/users/2010/04/12611.php

which seems to me to be saying that the "-mpilog" flag is not valid
in MPICH2 and that instead one should use "-mpe=mpilog". I haven't
tested it, but a quick look at the mpicc wrapper script makes this
seem plausible.

--
B. L. Massingill
ObDisclaimer: I don't speak for my employers; they return the favor.
0 new messages