Git Product home page Git Product logo

msu_sampler's Introduction

How to Set Up best_sampler

mkdir build cd build Try cmake .., if Eigen or GSL not found, manual way is cmake .. -DCMAKE_INSTALL_PREFIX=[...]/eigen-eigen-b3f3d4950030/ -DGSL_ROOT_DIR=[...] make -j

Once you have a copy of best_sampler on your device, enter the directory and open the file "makefile_defs.mk". You will need to change the pathways in this file to match the location of the best_sampler directory on your device and the locations of eigen3 and gsl.

Now enter best_sampler/software and type

make install

If this is successful, exit the software directory and enter best_sampler/run. Then type

make sampler
./sampler

The output should be

will read res info from ../local/resinfo/pdg-SMASH.dat
NResonances:493
will read decay info from ../local/resinfo/pdg-SMASH.dat
opening ../local/include/surface_2D.dat
Exiting ReadHyper() happily, TotalVolume=7170.271412, nelements=43461
nparts=503589	totvol=999999.999911	nparts/totvol=0.503589	nhad=0.503943
YIPPEE!!!!! We made it all the way through!

Changing Parameters

There is a file in the run directory called parameters.dat. You can change the file from which the sampler reads resonance, decay, and hyper-cell information by changing the macros RESONANCES_INFO_FILE, RESONANCES_DECAYS_FILE, and HYPER_INFO_FILE respectively within parameters.dat to different file pathways. Bear in mind that the file reading is set up specifically for the format of the current resonance info and hyper-cell files. The sampler also creates different sampler objects depending on the value of the sigma field and the temperature--you can change the values of both of these in this same file; the variables for these are fairly self-explanatory.

msu_sampler's People

Contributors

steinhor avatar scottedwardpratt avatar chunshen1987 avatar emclaughlin2 avatar doliinychenko avatar

Watchers

James Cloos avatar  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.