I m working on a shared linux cluster with MPI. I m optimizing the
execution time of my algorithm.So i want to measure the exact execution
time of the program.How can i do this????????
I also work with a shared cluster and putting "time" before the command line gives me the execution time of my programs.
Anyway, you could also use MPI_Wtime() or the function times() from "sys/time.h" to get the number of clocks a process uses during its execution.
--- Em qui, 29/10/09, lam-request_at_[hidden] <lam-request_at_[hidden]> escreveu:
De: lam-request_at_[hidden] <lam-request_at_[hidden]>
Assunto: lam Digest, Vol 1286, Issue 1
Para: lam_at_[hidden]
Data: Quinta-feira, 29 de Outubro de 2009, 14:00
Send lam mailing list submissions to
lam_at_[hidden]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.lam-mpi.org/mailman/listinfo.cgi/lam
or, via email, send a message with subject or body 'help' to
lam-request_at_[hidden]
You can reach the person managing the list at
lam-owner_at_[hidden]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of lam digest..."
Today's Topics:
1. Re: lam Digest, Vol 1285, Issue 1 (Elias SantAna)
2. Passing dynamic array as whole? (Natarajan CS)
3. execution time of a parallel program (madhuri gupta)
|