![Image of MCSSS] (https://github.com/xueqilsj/mcss/blob/master/Screenshot.png)
python+swig c++ extension module && matlab+mex c++ extension module
=====================
-
g++ 4.3.2
sudo apt-get install g++
-
python 2.5
sudo apt-get install python-dev
-
numpy 1.1.1
sudo apt-get install python-numpy
-
swig 1.3.39
sudo apt-get install swig
-
matplotlib 0.98.3
sudo apt-get install python-matplotlib
-
TkInter,Revision: 50704
sudo apt-get install python-tk
-
scons v0.98.5
sudo apt-get install scons
Microsoft Visual Studio 2008 http://msdn.microsoft.com/en-us/vstudio/default.aspx
python 2.5 swigwin-1.3.39
c:\dev\swigwin-1.3.39 for swig.exe
c:\Python26\Scripts for scons.bat
==========================
- for python-swig
$ cd <MCSS_SRC>/python-swig
$ scons
- for cpps
open Microsoft Visual Studio 2008
click 'Tools'->'Visual Studio 2008 Command Prompt'
- for matlab
open Matlab2009
set Current Directory: <MCSS_SRC>/matlab-mex
setup
==========================
- for python
$ python wxMCSS.py
- for matlab
check NVTIsing.m NVTPotts.m NVTLinear.m
==========================
- for python
uninstall
scons --clean
- for matlab
uninstall
setup clean
mex -setup