** The following information is outdated. Please refer to here for the latest information. ** **
Install brew.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update
1. Install git and download the source of ecell4. If necessary, create an ssh key such as `` `ssh-keygen -t rsa -C hoge` `` and register it in your github account. You can also use `` `git clone https://github.com/ecell/ecell4.git```.
```bash
brew install git
git clone [email protected]:ecell/ecell4.git
cd ecell4
Install the libraries needed for the build.
brew install gsl brew install cmake brew install boost brew tap homebrew/science brew install hdf5 curl -O https://bootstrap.pypa.io/get-pip.py sudo python get-pip.py sudo pip install "ipython[notebook]" sudo pip install cython
1. Pass the path of the installed library.
```bash
export CPLUS_INCLUDE_PATH=/usr/local/Cellar/boost/1.58.0/include:/usr/local/Cellar/gsl/1.16/include:/usr/local/Cellar/hdf5/1.8.14/include:$CPLUS_INCLUDE_PATH
export LIBRARY_PATH=/usr/local/Cellar/boost/1.58.0/lib:/usr/local/Cellar/gsl/1.16/lib:/usr/local/Cellar/hdf5/1.8.14/lib:$LIBRARY_PATH
export DYLD_LIBRARY_PATH=/usr/local/Cellar/boost/1.58.0/lib:/usr/local/Cellar/gsl/1.16/lib:/usr/local/Cellar/hdf5/1.8.14/lib:$DYLD_LIBRARY_PATH
# export LD_LIBRARY_PATH=/usr/local/Cellar/boost/1.58.0/lib:/usr/local/Cellar/gsl/1.16/lib:/usr/local/Cellar/hdf5/1.8.14/lib:$LD_LIBRARY_PATH
Finally,
./install.sh py2
By the way, it seems that only the table of ʻegfrd` can be generated by doing the following in the place where you normally `make`.
```bash
make BesselTables
Recommended Posts