Coder Social home page Coder Social logo

wire-cell-gen-sycl's Introduction

SYCL version of the wire-cell-gen

prerequisites

git clone https://github.com/WireCell/wire-cell-gen-sycl.git 
export WC_BUILD_DIR=/your/build/directory
export WC_SYCL_SRC_DIR=${PWD}/wire-cell-gen-sycl
cmake -B ${WC_BUILD_DIR} $SC_SYCL_SRC_DIR/.cmake-sycl
make -C ${WC_BUILD_DIR} -j 10

full test running wire-cell as plugin of LArSoft

download wire-cell-data

wire-cell-data contains needed data files, e.g. geometry files, running full tests.

git clone https://github.com/WireCell/wire-cell-data.git

$WIRECELL_PATH

wire-cell searches pathes in this env var for configuration and data files.

for bash, run something like this below:

export WIRECELL_PATH=$WIRECELL_FQ_DIR/wirecell-0.14.0/cfg # main cfg
export WIRECELL_PATH=$WIRECELL_DATA_PATH:$WIRECELL_PATH # data
export WIRECELL_PATH=$WC_SYCL_SRC/cfg:$WIRECELL_PATH # gen-sycl


Variable meaning:

  • $WIRECELL_FQ_DIR is a variable defined developing in Kyle's container or setup wirecell in a Fermilab ups system, current version is 0.14.0, may upgrade in the future.
  • WIRECELL_DATA_PATH refer to the git repository cloned from the previous step
  • WC_SYCL_SRC refer to the path of the wire-cell-gen-sycl standalone SRC.

$LD_LIBRARY_PATH

export LD_LIBRARY_PATH=${WC_BUILD_DIR}:$LD_LIBRARY_PATH

run

  • input: a root file (refered to as g4.root below) containing Geant4 energy depo (sim::SimEnergyDeposits)
  • in the example folder: lar -n 1 -c sim.fcl g4.root

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.