VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Jul 04 2006 - 22:43:57 CDT
- Next message: John Stone: "Re: Trajectory Analysis"
- Previous message: Vivek Sharma: "debug"
- In reply to: Vivek Sharma: "debug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
If your code yields a core dump, my guess is that you're running
your machine out of memory with your script(s). This is typically
caused by doing lots of atom selections in a loop without deleting them.
Your code should be sure to delete selections, e.g.:
loop out here...
set sel [atomselect top all]
...
.. more code
...
$sel delete
end of loop
If you're not deleting selections, that can easily run your
machine out of memory very quickly.
John Stone
vmd_at_ks.uiuc.edu
On Tue, Jul 04, 2006 at 09:07:20AM +0300, Vivek Sharma wrote:
> Hello mailing list,
>
> I did checked the past mailing list archives, but I couldnt find such a
> post, so I mention it.
>
> I have a Tcl code written to load many pdb files and then performs some
> calculations and prints the output in txt files. Code works fine, but in
> some cases it yields core dump, and I would like to debug it, using some
> debugger OR something of that type. Can that be done in VMD, I mean via VMD
> Tkconsole window, such that on execution of that Tcl code, breakpoints,
> watchpoints, etc can be visualised in some visual window.
>
> Any help will be great,
>
> thanks in advance,
>
> Vivek Sharma
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: Trajectory Analysis"
- Previous message: Vivek Sharma: "debug"
- In reply to: Vivek Sharma: "debug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]