Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #15 from devitocodes/opesci_rip
Browse files Browse the repository at this point in the history
opesci purge
  • Loading branch information
FabioLuporini authored Dec 30, 2019
2 parents 97ea2db + f80e2cf commit f3f212a
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
6 changes: 3 additions & 3 deletions opescibench/__init__.py → devitobench/__init__.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions opescibench/benchmark.py → devitobench/benchmark.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion opescibench/executor.py → devitobench/executor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from opescibench.utils import bench_print
from devitobench.utils import bench_print

from collections import defaultdict

Expand Down
2 changes: 1 addition & 1 deletion opescibench/plotter.py → devitobench/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion opescibench/utils.py → devitobench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ("")
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

0 comments on commit f3f212a

Please sign in to comment.