Skip to content

Commit

Permalink
Merge pull request #69 from luntergroup/devel
Browse files Browse the repository at this point in the history
v1.0.1
  • Loading branch information
Chris1221 authored Jul 23, 2019
2 parents f0997bf + 6748afe commit 59cd462
Show file tree
Hide file tree
Showing 244 changed files with 1,064,503 additions and 24,559 deletions.
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.1)

set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
#set (CMAKE_INSTALL_RPATH "$ORIGIN/../lib:$ORIGIN/")
set(Boost_DEBUG 1)
set (CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)

project(smcsmc)
Expand Down Expand Up @@ -54,25 +54,25 @@ execute_process(COMMAND bash -c "git describe --tags | tr -d '\n'" OUTPUT_VARIAB
execute_process(COMMAND bash -c "date -u | sed -e 's/ /-/g' | tr -d '\n'" OUTPUT_VARIABLE COMPILEDATE)

string(CONCAT CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}"
"-DNDEBUG "
" -DNDEBUG "
"-Wall -Wno-unknown-pragmas -pedantic -g -O3 -DLANE_MAX_SIZE=50 "
"-Wno-deprecated-declarations " # avoid complaints about auto_ptr
"-DSMCSMCVERSION=\\\"${SMCSMCVERSION}\\\" "
"-DSCRMVERSION=\\\"${SCRMVERSION}\\\" "
"-DCOMPILEDATE=\\\"${COMPILEDATE}\\\" "
"-DVERSION=\\\"${VERSION}\\\" ")

#find_package(Tcmalloc)

find_package(Boost 1.45.0 COMPONENTS iostreams regex)
find_package(Boost 1.69.0 COMPONENTS iostreams regex)
find_package(ZLIB)
include_directories(${Boost_INCLUDE_DIRS})
include_directories(${CONDA_PREFIX}/include)


add_executable(smcsmc ${SMCSMC_SRC} ${SCRM_SRC} src/smcsmc.cpp)
add_executable(scrm ${SCRM_SRC} src/scrm/src/scrm.cc)

target_link_libraries(smcsmc ${Boost_LIBRARIES})
message(STATUS "Boost_LIBRARIES: ${Boost_LIBRARIES}")
target_link_libraries(smcsmc ${ZLIB_LIBRARIES})
target_include_directories(smcsmc PRIVATE src/scrm/src src/scrm/src/random)

install(TARGETS smcsmc scrm
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,23 @@ This repository contains two components, and both must be installed to properly
We have automated this process in a `conda` package, and we highly recommend installing it this way.

```sh
conda install -c terhorst -c conda-forge smcsmc
conda config --add channels conda-forge
conda config --add channels terhorst
conda install -c luntergroup smcsmc
```

> **We are in the process of uploading our package to `conda` and will remove this message when it is available. Until then, please use the manual installation method given below.**
### Installation from Source

Alternatively, a combination of `cmake` and `pip` can be used to install the python and core components.

#### Obtain the code

To use the latest version of the code, use the `devel` branch.

```sh
git clone [email protected]:luntergroup/smcsmc.git git-smcsmc
cd git-smcsmc
git checkout devel
git submodule init
git submodule update
```
Expand Down
Binary file removed docs/build/doctrees/api.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/cli.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/build/doctrees/getting_started.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/glossary.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/index.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/introduction.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/tutorials/msprime.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/tutorials/scrm.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/tutorials/sgdp.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/tutorials/tutorials.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/usage/args.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/usage/cluster.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/usage/inference.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/usage/usage.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/build/html/.buildinfo

This file was deleted.

Binary file removed docs/build/html/_images/plot_guide.png
Binary file not shown.
Binary file removed docs/build/html/_images/plot_migration.png
Binary file not shown.
Binary file removed docs/build/html/_images/popsim.png
Binary file not shown.
Binary file removed docs/build/html/_images/popsim1.png
Binary file not shown.
Binary file removed docs/build/html/_images/rainbow.png
Binary file not shown.
199 changes: 0 additions & 199 deletions docs/build/html/_modules/index.html

This file was deleted.

Loading

0 comments on commit 59cd462

Please sign in to comment.