soliresearch.blogg.se

Install activetcl
Install activetcl









install activetcl
  1. Install activetcl install#
  2. Install activetcl upgrade#
  3. Install activetcl full#

Tasks that you've never even thought of before - and you'll be able toĭo this automation quickly and easily. You will find that Expect is anĪbsolutely invaluable tool - using it, you will be able to automate And by adding Tk, you can also wrap interactiveĮxpect can make easy all sorts of tasks that are prohibitivelyĭifficult with anything else. Expect is also useful for testing these sameĪpplications. Telnet, ftp, passwd, fsck, rlogin, tip, etc. This is useful for having quick access to the various useful command line utilities built in to OOMMF, such as any2ppm.Expect is a tool for automating interactive applications such as path/to/tclsh8.5 /path/to/oommf/oommf.tcl takes all command line arguments from the terminal. I like to make a script “oommf.sh” which has: Path/to/tclsh8.5 oommf.tcl pimake distclean

Install activetcl upgrade#

Path/to/tclsh8.5 oommf.tcl pimake upgrade

Install activetcl install#

~/oommf/oommf1-2a5/Ĭheck that the tcl/tk install and oommf are compatible. If you haven’t already done so download and extract oommf from

Install activetcl full#

Please see OOMMF install guide for full install details.

install activetcl

If you have trouble at this stage please check the oommf basic installation page. You might need to set environment variables for oommf.Įxport PATH=$PATH:/home/user_name/tcl/binĮxport OOMMF_TCL_INCLUDE_DIR=/path/to/tcl/includeĮxport OOMMF_TK_INCLUDE_DIR=/path/to/tcl/includeĮxport OOMMF_TCL_CONFIG=/path/to/lib/tclConfig.shĮxport OOMMF_TK_CONFIG=/path/to/lib/tkConfig.sh bashrc so that they load automatically when you login.) 4. configure -with-tcl=/home/user_name/tcl/lib -prefix=/home/user_name/tclĪdd the tcl install to the path, so you can easily access it (e.g. If not then you will get version conflicts. When configurint tk it is important to set the –prefix flag to be the same as you used to install tcl. Exceed) running on your system and your ssh connection allows X forwarding. The process is very similar to compiling tcl, but we also tell tk where to find our tcl installation.īefore configuring tk: If you are connected to your oommf machine via ssh it is important that X-11 forwarding is setup and that you have a suitable X server (e.g. configure -prefix=/home/user_name/tcl -enable-threadsĪ whole load of text will scroll by. We specify the install location during the compilation stage.

install activetcl

Just typeĮxtract the archives to your (a subdirectory of) your home folder. (wget can be useful for downloading things from the command line. These instructions are generally very good, but I will try to highlight any areas of uncertainty I had.įirst download the tcl and tk source from We will be following the general compile instructions here. They do still however require some decisions to be made, so hopefully spelling out what worked for me here can be of use. The install guides for tcl, tk and oommf are all really good. In this post I will go through the full install of oommf, including compiling tcl/tk from source. Without access to a package manager we must compile tcl and tk from source. If we only have user level access it can be a bit more tricky. This is fine when you have root access and can easily run the package manager to install the dev versions of tcl and tk. The basic install procedure for OOMMF is quite straight forward: check you have tcl/tk, download the oommf source then run oommf.tcl pimake. Installing OOMMF in linux without root access can be difficult.











Install activetcl