I'm writing a script to extract some useful data about a series of chemical simulations I've been running.
To get this data I need (1) a C-program that calculates the density from a file type called *.pdb. I already have (1). And (2) I need to use a program called vmd to get that pdb. In order to accomplish (2) from the command line,...
So I am very new and inexperienced to the ways of TCL programming. I wrote a script that calls a proc written by someone else, first removing the output file. It then does some additional logic I wrote.
I moved the logic into a second proc and instantly a bunch of it broke (namely the rm commands).
From what I can tell, the first prog...
I made a a simple GUI program in python with tkinter and attempted to convert it to an .exe using py2exe. However, I've run into a problem. When I try to run the exe it flashes an error very quickly then disapears. So the best I could do was take a screan shot of the error.
How do I go about fixing this?
Edit
Velociraptors, this is...
I tried to run a simulation for wired-cum-wireless scenario. It is good when i use a single base station. But, when i use more than one, following error is displayed.
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o92: no target for slot 0
_o92 type: Classifier/Port
content dump:
classifier _o92
0 offset...
I am trying to create a custom TCL interpreter with TclPro according instructions at TclPro User's Guide Chapter 7, but it fails with linking error undefined reference to __ctype_b.
I have downloaded and installed TclPro 1.4 at /opt/ajuba/TclPro1.4/, and here is the custom interpreter I want to build:
// file simple.cpp
#include <proWr...
I am trying to install TclPro1.4 on 64 bit host.
Here is what uname -a returns:
Linux hp1 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I have installed TclPro1.4 from corresponding iso disk image (it is available by the link mentioned above), but it installed 32 bit libraries instead of 64 bi...
I am not able to wrap the most simple TCL application using TclDevKit5.2.
I on 64 bit CentOS, and here wat uname -a returns:
Linux hp1 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
When typing:
/opt/TclDevKit-5.2/bin/tclapp -out wrap empty.tcl
(here empty.tcl is an empty file) it generates ...
I want to store details of 100 nodes in 100 arrays.
For example,
neighbors of node 1 should be stored in array1
In this, for each array the names should be changed like array1, array2, array3, ..., array100
I need the concatenation for array and ( 1 , 2 , 3 , ... , 100 ) using for loop.
How can I do this?
...