|
From: Gao, J. <JG...@se...> - 2003-09-24 17:34:26
|
How about putting valgrind at the beginning, and use trace-children option, i.e., valgrind --leak-check=yes --trace-children=yes mpirun -v -np 2 /myhome/myexecutable inputfile Jiafu -----Original Message----- From: yi....@jp... [mailto:yi....@jp...] Sent: Wednesday, September 24, 2003 11:16 AM To: val...@li... Subject: [Valgrind-users] running valgrind under mpirun Hi, I have a command line that uses mpirun like below: mpirun -v -np 2 /myhome/myexecutable inputfile In order to use valgrind, I tried mpirun -v -np 2 valgrind --leak-check=yes -v /myhome/myexecutable inputfile I get result like this: Warning: Command line arguments for program should be given after the program name. Assuming that --leak-check=yes is a command line argument for the program. Unrecognized argument valgrind ignored. running /myhome/myexecutable on 1 LINUX ch_p4 processors Can someone tell me how to have mpirun and valgrind work together? Thanks. Yi Zhang This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. |