Code Monkey home page Code Monkey logo

monte_carlo_spinfoams's Introduction

Monte Carlo divergences

The Julia codes are parallelized on the available cores. It is therefore advisable for the performance to parallelize the codes keeping into account the number of CPU cores present on the system.

A full list of the employed Julia packages can be found in ./inc/pkgs.jl. Before executing the source codes, all packages must be installed.

The Julia's Just-in-Time compiler is such that the first execution of functions is considerably slower that following ones, and it also allocates much more memory. To avoid this, you can use the DaemonMode package.

Usage

To execute the Julia codes (on a single machine with the synthax below) you can run the following command:

$JULIA_EXECUTABLE_PATH   -p   [N-1]    $JULIA_CODE_PATH   $ARGS

where [N-1] is the number of workers. The ARGS parameter depends on the specific kind of computation. We show an example below.

Example: Self energy EPRL with monte carlo sampling

ARGS = DATA_SL2CFOAM_FOLDER    CUTOFF    JB    DL_MIN    DL_MAX     IMMIRZI    STORE_FOLDER    MONTE_CARLO_ITERATIONS    NUMBER_OF_TRIALS

where:

  • DATA_SL2CFOAM_FOLDER: folder with fastwigxj tables where boosters (and possibly vertices) are retrieved/stored

  • CUTOFF: the maximum value of bulk spins

  • JB: value of boundary spins

  • DL_MIN: minimum value of truncation parameter over auxiliary spins

  • DL_MAX: maximum value of truncation parameter over auxiliary spins

  • IMMIRZI: value of Immirzi parameter

  • STORE_FOLDER: folder where data are saved

  • MONTE_CARLO_ITERATIONS: number of monte carlo sampling for each trial

  • NUMBER_OF_TRIALS: number of trials

Additionally, you can specify the weights $\mu_1, \mu_2 \dots \mu_n$ on bulk faces inside the code script, with the vector FACE_WEIGHTS_VEC. Each bulk face with spin $j$ has dimension $(2j+1)^{\mu}$, and the code computes all amplitudes with provided weights.

monte_carlo_spinfoams's People

Contributors

pietrodona avatar pietropaolofrisoni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.