From f80e2cf2317019586e31c827908fd01573d1253e Mon Sep 17 00:00:00 2001 From: Gerard Gorman Date: Sat, 28 Dec 2019 17:32:22 +0000 Subject: [PATCH] opesci purge --- README.md | 18 +++++++++--------- {opescibench => devitobench}/__init__.py | 6 +++--- {opescibench => devitobench}/benchmark.py | 4 ++-- {opescibench => devitobench}/executor.py | 2 +- {opescibench => devitobench}/plotter.py | 2 +- {opescibench => devitobench}/utils.py | 2 +- setup.py | 14 +++++++------- 7 files changed, 24 insertions(+), 24 deletions(-) rename {opescibench => devitobench}/__init__.py (64%) rename {opescibench => devitobench}/benchmark.py (98%) rename {opescibench => devitobench}/executor.py (98%) rename {opescibench => devitobench}/plotter.py (99%) rename {opescibench => devitobench}/utils.py (92%) diff --git a/README.md b/README.md index 357d65d..f0068ab 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,31 @@ -## Set of utilities for performance benchmarking Opesci codes +## Set of utilities for performance benchmarking Devito codes -Opescibench is a set of utilities used for benchmarking Devito. +Devitobench is a set of utilities used for benchmarking Devito. In order to download, install and use Devito follow the instructions -listed [here](https://github.com/opesci/devito). +listed [here](https://github.com/devitocodes/devito). ## Quickstart -In order to install Opescibench and benchmark Devito +In order to install Devitobench and benchmark Devito follow the listed commands: *Requirements:* A working Devito installation. ``` source activate devito -git clone https://github.com/opesci/opescibench.git -cd opescibench +git clone https://github.com/devitocodes/devitobench.git +cd devitobench pip install -e . ``` Useful general information about benchmarking Devito can be found here: -[here](https://github.com/opesci/devito/tree/master/benchmarks) +[here](https://github.com/devitocodes/devito/tree/master/benchmarks) and more detailed information about how to benchmark a Devito Operator can be found here: -[here](https://github.com/opesci/devito/tree/master/benchmarks/user) +[here](https://github.com/devitocodes/devito/tree/master/benchmarks/user) ## Get in touch If you're using Devito, we would like to hear from you. Whether you are facing issues or just trying it out, join the -[conversation](https://opesci-slackin.now.sh). +[conversation](https://devito-slackin.now.sh). diff --git a/opescibench/__init__.py b/devitobench/__init__.py similarity index 64% rename from opescibench/__init__.py rename to devitobench/__init__.py index b0f16ef..9dd84e7 100644 --- a/opescibench/__init__.py +++ b/devitobench/__init__.py @@ -1,6 +1,6 @@ -from opescibench.benchmark import * -from opescibench.executor import * -from opescibench.plotter import * +from devitobench.benchmark import * +from devitobench.executor import * +from devitobench.plotter import * from pkg_resources import get_distribution, DistributionNotFound try: diff --git a/opescibench/benchmark.py b/devitobench/benchmark.py similarity index 98% rename from opescibench/benchmark.py rename to devitobench/benchmark.py index 1ae078f..3fe7ed4 100644 --- a/opescibench/benchmark.py +++ b/devitobench/benchmark.py @@ -1,5 +1,5 @@ -from opescibench.plotter import Plotter -from opescibench.utils import bench_print +from devitobench.plotter import Plotter +from devitobench.utils import bench_print from argparse import ArgumentParser from collections import OrderedDict, Iterable diff --git a/opescibench/executor.py b/devitobench/executor.py similarity index 98% rename from opescibench/executor.py rename to devitobench/executor.py index 35b84ab..19b4009 100644 --- a/opescibench/executor.py +++ b/devitobench/executor.py @@ -1,4 +1,4 @@ -from opescibench.utils import bench_print +from devitobench.utils import bench_print from collections import defaultdict diff --git a/opescibench/plotter.py b/devitobench/plotter.py similarity index 99% rename from opescibench/plotter.py rename to devitobench/plotter.py index 2fd7eea..b5c4ab0 100644 --- a/opescibench/plotter.py +++ b/devitobench/plotter.py @@ -19,7 +19,7 @@ import brewer2mpl as b2m except ImportError: b2m = None -from opescibench.utils import bench_print +from devitobench.utils import bench_print __all__ = ['Plotter', 'LinePlotter', 'RooflinePlotter', 'BarchartPlotter', diff --git a/opescibench/utils.py b/devitobench/utils.py similarity index 92% rename from opescibench/utils.py rename to devitobench/utils.py index 19ae821..b89e43f 100644 --- a/opescibench/utils.py +++ b/devitobench/utils.py @@ -25,7 +25,7 @@ def bench_print(msg, pre=0, post=0, timestamp=False, comm=None): if mpi_rank == 0: now = datetime.now() ts = ' [%s]' % now.strftime("%H:%M:%S") if timestamp else '' - print (color % ("OpesciBench%s: %s" % (ts, msg))) + print (color % ("DevitoBench%s: %s" % (ts, msg))) for i in range(post): if mpi_rank == 0: print ("") diff --git a/setup.py b/setup.py index 093510b..4ef3bf0 100644 --- a/setup.py +++ b/setup.py @@ -3,16 +3,16 @@ except ImportError: from distutils.core import setup -setup(name='opescibench', +setup(name='devitobench', use_scm_version=True, setup_requires=['setuptools_scm'], - description="Benchmarking tools for OPESCI codes", - long_descritpion="""Opescibench is a set of performance + description="Benchmarking tools for Devito Codes", + long_descritpion="""devitobench is a set of performance benchmarking and plotting tools for simulation codes in the - OPESCI project.""", - url='http://www.opesci.org/opescibench', + Devito project.""", + url='http://www.devitoproject.org/devitobench', author="Imperial College London", - author_email='opesci@imperial.ac.uk', + author_email='g.gorman@imperial.ac.uk', license='MIT', - packages=['opescibench'], + packages=['devitobench'], install_requires=['numpy', 'simplejson'])