cell modeling for microphysiology

dependabot[bot] f617ba6f06 Bump urllib3 from 1.22 to 1.26.5 in /docs/pyMCell 3 年之前
.settings d7e6cb4630 Added code formatting settings 5 年之前
appveyor_windows f1ff78678e Fix fallthrough warning. 6 年之前
docs f617ba6f06 Bump urllib3 from 1.22 to 1.26.5 in /docs/pyMCell 3 年之前
libs fc47a8981e Removed 'debug' from gitignore, added missing boost headers for macos 4 年之前
man e059f71789 Update version number and changelog. 8 年之前
src e406377c85 Updated mcell version 4 年之前
utils 1130752c89 Finish updating copyright dates. 7 年之前
.cproject d7e6cb4630 Added code formatting settings 5 年之前
.gitignore fc47a8981e Removed 'debug' from gitignore, added missing boost headers for macos 4 年之前
.gitmodules d402c20d1a Removed submodules 5 年之前
.project 2693100e3f Added Eclipse project files 5 年之前
.pydevproject 2693100e3f Added Eclipse project files 5 年之前
.travis.yml 8e9f95471b Add some comments to travis.yml 6 年之前
CHANGELOG.txt 686e11b691 Updated changelog 4 年之前
CMakeLists.txt 8880d48eb8 Fixed pymcell deps 4 年之前
LICENSE.txt 6a7729b62b Move setup.py to top level. Add readme instructs. 7 年之前
MANIFEST.in 49148ce8fc Add include files for creating distrib tarball 7 年之前
README.md 2f10c6ca26 Replaced python with python3 for in build instructions 4 年之前
appveyor.yml b32268a7b0 Fix yml formatting problem. 6 年之前
bintray.json 412397e124 Fix regex in bintray.json 6 年之前
requirements.py e4763591f9 Fix sys.platform error for Travis. 6 年之前
requirements.txt f436c813fd Add python requirements file. 6 年之前
setup.cfg 6a7729b62b Move setup.py to top level. Add readme instructs. 7 年之前
setup.py 3a09ca9f97 Remove typemaps flag from setup.py. 6 年之前

README.md

MCell

Overview

MCell (Monte Carlo Cell) development is supported by the NIGMS-funded (P41GM103712) National Center for Multiscale Modeling of Biological Systems (MMBioS).

MCell is a program that uses spatially realistic 3D cellular models and specialized Monte Carlo algorithms to simulate the movements and reactions of molecules within and between cells—cellular microphysiology.

Build Requirements:

Ubuntu 16.04:

Run the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential bison flex python3-dev swig libboost-all-dev

Windows

Install the package manager chocolatey from https://chocolatey.org/install. Follow the instructions listed on that page, which will have you copy a command into PowerShell as an Administrator.

Once chocolatey is installed, open up a new PowerShell terminal as an Administrator, and run the following commands:

choco install -y git
choco install -y python3
choco install -y cmake
choco install -y ninja
choco install -y msys2
choco install -y winflexbison
choco install -y swig

Open a new PowerShell Administrator terminal and enter the following:

msys2

This will open a different MSYS2 terminal (not a PowerShell terminal). In this MSYS2 terminal, enter the following commands:

pacman -Syuu
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain \
                git subversion mercurial \
                mingw-w64-i686-cmake mingw-w64-x86_64-cmake
pacman -Sy mingw-w64-i686-boost mingw-w64-x86_64-boost

Add CMake and MinGW64 to your Windows PATH Environment Variable. If you have installed these dependencies with Chocolatey and your top level drive is named C:, you can append (or prepend) the following paths into your Windows PATH (Search "Control Panel"; View by small icons; System; Advanced System Settings;

          Environment Variables; User Variables; Path; Edit):

C:\tools\msys64\mingw64\bin
C:\Program Files\CMake\bin

Building MCell Executable from Source (OSX, Linux, Windows)

Open a terminal (non-Administrator PowerShell for Windows users), clone the mcell_tools repo and run:

git clone https://github.com/mcellteam/mcell_tools.git
cd mcell_tools
python3 run.py

This will clone all the required repositories and run build of all the components. Running 'python3 run.py --help' shows other options.

To build just MCell, run these commands after you ran the 'python run.py'.

cd mcell_tools/work/build_mcell
cmake ../../../mcell -DCMAKE_BUILD_TYPE=Release
make 

Testing MCell

cd mcell_tests
python3 run_tests.py

Running 'python3 run_tests.py --help' shows other options.