[Scons-users] profiling with scons

Karen Khar karen.khar at gmail.com
Sun Jul 15 15:55:26 EDT 2012


Hi ,

I need to profile a program the I compile with scons, but I can't figure
out how this works. The scons manual says that you can use pstats, but I
need better instruction.

1) what command line do I use to have it compile with profiling. Currently
my command line is:
s <scons-users at scons.org>cons ~/rosetta_source bin

2) How do I then run the program to make the compiling info. Currenlty I
run my program with:
~/rosetta_source/bin/ragul_darc_run.macosgccrelease -database
~/rosetta_database/ -input_protein_file 2YXJ.pdb -input_ligand_file
ZINC01350605_0001.fa.pdb -extra_res_fa ZINC01350605_0001.fa.params
-central_relax_pdb_num 105 -gpu 1

3) How do I read the profiling output.

I'm sorry that I'm not a very advanced programmer. So if you know how these
work, could you describe the steps like you are talking to a nube.

Thanks in advance,
Karen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120715/d2d679bc/attachment.htm>


More information about the Scons-users mailing list