The SIMIND Monte Carlo Program

Medical Radiation Physics, Lund

Installation of SIMIND

On this page, only the latest version will be shown. As SIMIND is constantly evolving, it is not possible for me to support earlier versions. The version has also been restricted to 64-bit version, as this is the common for computers today.

Downloads

Windows version
Version 8.0: 64-bit
MAC OS version
Version 8.0: 64-bit
Linux version
Version 8.0: 64-bit

Installation Windows

Create, for example, a directory c:\simind and unpack smc_win_64_v80.zip, where v80 is the version number into the folder. Keep the folder information while unzipping and be sure that a directory c:\simind\smc_dir with files of for example extension *.cr4 have been created. Go into the Control Panel of Windows and click on System, Advanced, Environmental Variables.  In the input field User Variables window add the following environmental system variables by filling in proper fields. Variable SMC_DIR should be set to value C:\simind\smc_dir\ Add the folder C:\simind to the environmental variable PATH in the “User Variables” and place it first in the sequence of defined paths. This because Windows also has a also command line program with the name “change”. Exit and restart the command window otherwise the changes with not be used.

To use the new text-based change program, add the following key to the Windows registry by open a cmd terminal and give the following command. You only need to make this once.

REG ADD HKEY_CURRENT_USER\Console /v VirtualTerminalLevel /t REG_DWORD /d 1

Installation Linux/MacOS

Create a directory, for example, $HOME/simind
Download the distribution and extract the file folder into the $HOME/simind directory by unpacking using the following commands, where v80 is the version number!  
           gunzip smc_linux_intel_64_v80.tar.gz
           tar -xvf smc_linux_intel_64_v80.tar
Environmental variables: If you use csh or tcsh shell then add to the .cshrc file the following lines. This is only needed first time you installing the code!
            setenv SMC_DIR $HOME/simind/smc_dir/
            setenv PATH $HOME/simind:$PATH
Execute the command  source .cshrc. to make the changes effective in your terminal window.  If you use bash shell then add in your .bash_profile file.
           PATH=$HOME/simind:$PATH
           SMC_DIR=$HOME/simind/smc_dir/
           export PATH
           export SMC_DIR
Execute the command
source.bash_profile to make the changes effective in your terminal window. 

The CASToR Binaries

Here is a link to the distribution for the CASToR software with pre-build executables for Linux, MacOS and Windows (32 and 64-bit). It is, however, strongly recommended that users of this program register themseft to the CASToR community list at the www.castor-project.org in order to receive information about future updates and to get other important information. On the page, there is also information about to configure and compile the builds to particular preferences since it is not the intention that this website should be regarded as a mirror-site. To get started and use the smc2castor program for reconstruction of simind-genereated SPECT projections then following installation/preparation is needed.

Download the CASToR from the web-page.
Extract the whole CASToR file structure to a convenient place on your hard drive.
Define in the startupfiles the environmental variable CASTOR_CONFIG to the absolute path of the config folder within the CASToR folder structure.
Add the relevant CASToR folder to you PATH environmental variable.