Skip to content

Commit

Permalink
Revert "Configure local dev environment"
Browse files Browse the repository at this point in the history
This reverts commit 7b75367.
  • Loading branch information
mcwitt committed Feb 7, 2022
1 parent e42c510 commit adae990
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 330 deletions.
16 changes: 0 additions & 16 deletions .dir-locals.el

This file was deleted.

7 changes: 0 additions & 7 deletions .envrc

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ timemachine/cpp/build/
oe_license.txt
*.swp
.ipynb_checkpoints/
.cache/
compile_commands.json
.pre-commit-config.yaml
build/
*.egg-info/
.coverage*
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ repos:
- id: flake8
exclude: '^timemachine/cpp'

- repo: https://github.com/doublify/pre-commit-clang-format
rev: "62302476d0da01515660132d76902359bed0f782"
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.0
hooks:
- id: clang-format
types_or: [c, c++, cuda]
Expand Down
50 changes: 0 additions & 50 deletions nix/sources.json

This file was deleted.

174 changes: 0 additions & 174 deletions nix/sources.nix

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ extend-exclude = '''
'''

[build-system]
requires = ["setuptools>=43.0.0", "wheel", "versioneer-518"]
requires = ["setuptools>=43.0.0", "wheel", "cmake==3.22.1", "versioneer-518"]
build-backend = "setuptools.build_meta"
3 changes: 0 additions & 3 deletions pyrightconfig.json

This file was deleted.

10 changes: 4 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
bootstrapped==0.0.2
protobuf==3.19.0
grpcio==1.30.0
grpcio-tools==1.30.0
protobuf==3.12.2
numpy==1.21.4
scipy==1.7.3
scipy==1.6.0
pymbar==3.0.5
pyyaml==5.4.1
hilbertcurve==1.0.5
networkx==2.5

--extra-index-url https://pypi.anaconda.org/openeye/simple
OpenEye-toolkits==2020.2.0
OpenEye-toolkits-python3-linux-x64==2020.2.0
61 changes: 0 additions & 61 deletions shell.nix

This file was deleted.

3 changes: 1 addition & 2 deletions slow_tests/test_rbfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
from timemachine.parallel.utils import get_gpu_count

DATA_DIR = os.path.join(os.path.dirname(__file__), "..", "tests", "data")
# NUM_GPUS = get_gpu_count()
NUM_GPUS = 1
NUM_GPUS = get_gpu_count()


class TestRBFEModel(TestCase):
Expand Down
3 changes: 1 addition & 2 deletions tests/test_rabfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
from common import temporary_working_dir

DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
# NUM_GPUS = get_gpu_count()
NUM_GPUS = 1
NUM_GPUS = get_gpu_count()


class TestRABFEModels(TestCase):
Expand Down
6 changes: 3 additions & 3 deletions timemachine/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ cmake_minimum_required(VERSION 3.18 FATAL_ERROR)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(PYBIND11_PYTHON_VERSION 3.9 CACHE STRING "Which version of python we're building wrappers against")
set(PYBIND11_PYTHON_VERSION 3.7 CACHE STRING "Which version of python we're building wrappers against")

project(timemachine LANGUAGES CXX CUDA)

find_package(PythonInterp 3.9 REQUIRED)
find_package(PythonLibs 3.9 REQUIRED)
find_package(PythonInterp 3.7 REQUIRED)
find_package(PythonLibs 3.7 REQUIRED)

string(APPEND CMAKE_CUDA_FLAGS "-O3 -lineinfo")
message(${CMAKE_CUDA_FLAGS})
Expand Down

0 comments on commit adae990

Please sign in to comment.