[Darshan-users] Darshan I/O profiling of sequential code
Phil Carns
carns at mcs.anl.gov
Wed Dec 14 10:11:32 CST 2016
Hi Wadud,
For most (but not all) MPI implementations you wouldn't even need to use
mpirun. You can just launch the program like you normally would with
./app.exe and the MPI library will assume that it is operating in a
single-process environment.
-Phil
On 12/14/2016 11:02 AM, Wadud Miah wrote:
>
> Hi Shane,
>
> Thanks for the quick reply. I will probably just enclose the
> sequential code using MPI_INIT() and MPI_FINALIZE() and execute it
> using mpirun -n 1 ./app.exe. Do you think that will work?
>
> Regards,
>
> Wadud.
>
> *From:*Shane Snyder [mailto:ssnyder at mcs.anl.gov]
> *Sent:* 14 December 2016 15:57
> *To:* Wadud Miah <wadud.miah at nag.co.uk>; darshan-users at lists.mcs.anl.gov
> *Subject:* Re: [Darshan-users] Darshan I/O profiling of sequential code
>
> Hi Wadud,
>
> Right now, Darshan can only instrument MPI applications. It intercepts
> MPI_Init and MPI_Finalize to initialize itself and to produce the
> output log file, respectively. It also uses MPI communication and I/O
> operations at shutdown time to aggregate data across all processes and
> write to the log file. Breaking the MPI dependencies isn't exactly
> straightforward, but we have at least been thinking about how to
> extend Darshan to non-MPI codes. Recent changes to the architecture
> have been a step in the right direction but there's still work to do
> to get us all the way there.
>
> We will continue to think about this and will certainly keep the
> mailing list updated with any progress we make.
>
> Thanks,
> --Shane
>
> On 12/14/2016 09:35 AM, Wadud Miah wrote:
>
> Hello,
>
> I have built Darshan using Intel MPI (2017) and would like to
> profile a sequential code using Darshan. I have used the same
> Darshan library to profile an MPI code it works fine. I execute
> the following command line for a sequential code :
>
> $ export DARSHAN_LOGPATH=.
>
> $
> LD_PRELOAD=/home/pr1ebt00/pr1ebt05/darshan-3.1.2-impi/lib/libdarshan.so
> ~/gbmoldd/utilities/joinfiles.exe
>
> but it doesn’t create any Darshan output file. Do you know if I
> can profile sequential codes using Darshan? If so, how can I do this?
>
> Best regards,
>
> Wadud.
>
> -----------------------------------
>
> Dr. Wadud Miah
>
> Computational Scientist
>
> Numerical Algorithms Group
>
> 01865 518035
>
> ------------------------------------------------------------------------
>
> The Numerical Algorithms Group Ltd is a company registered in
> England and Wales with company number 1249803. The registered
> office is:
>
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Microsoft Office 365.
>
> ------------------------------------------------------------------------
>
>
>
>
> _______________________________________________
>
> Darshan-users mailing list
>
> Darshan-users at lists.mcs.anl.gov
> <mailto:Darshan-users at lists.mcs.anl.gov>
>
> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
>
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star.
> ________________________________________________________________________
>
> ------------------------------------------------------------------------
>
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
>
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Microsoft Office 365.
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Darshan-users mailing list
> Darshan-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20161214/f02cf8fa/attachment-0001.html>
More information about the Darshan-users
mailing list