Giter Club home page Giter Club logo

seisio_paper's Introduction

SeisIO_paper

Downloadable benchmark tests and raw results from Jones et al., SeisIO: a fast, efficient geophysical data architecture for the Julia language, submitted to SRL.

How to Run Benchmarks

  1. Install Julia ≥1.1 and Python ≥3.6. We used Julia v1.1.0 and Python v3.6.8 in the manuscript.
  2. (Optional) Get restricted files; see "Data and Resources" section in paper.
    • Start Julia and run these commands: using Pkg; Pkg.add("SeisIO"); using SeisIO; SeisIO_root = dirname(pathof(SeisIO)). Save that location for the next step.
    • Place the restricted files in SeisIO_root/../test/SampleFiles/Restricted/.
  3. SAC:
    • Install SAC 101.6a from source
    • Follow example template and instructions in SAC/sac_shell.sh
    • These runs produce screen output; dump or redirect to a temporary file
    • Parse the temp file with grep -v to generate log files SAC.read_sac.log, SAC.read_suds.log
    • If carefully checking memory, repeat the process with time -v and overwrite values in run_sac_stats.jl with the medians
  4. ObsPy:
    • (Ubuntu 18.04) ensure pip is installed: sudo apt install pip
    • Modify the value of SeisIO_path in Python/ObsPy_bench1.py if you need to run the "restricted" benchmarks.
    • Install ObsPy following these instructions
      • Be sure to create and activate an ObsPy environment
    • From the bash shell: conda install pytest memory_profiler pyasdf
    • Change directory to Python/.
    • Start python3.
    • At the prompt: exec(open("ObsPy_bench1.py").read())
  5. SeisIO
    • Start Julia in the root directory of this project.
    • At the Julia prompt:
include("configure.jl")             # configure Julia portion of project
include("benchmark_file_reads.jl")  # run SeisIO benchmarks
include("benchmark_hist.jl")        # generate plots for your own benchmarks

seisio_paper's People

Contributors

jpjones76 avatar

Watchers

James Cloos avatar  avatar Marine Denolle avatar  avatar Tim Clements avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.