Giter Site home page Giter Site logo

daschaich / qhmc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jcosborn/qhmc

0.0 3.0 1.0 2.65 MB

QHMC code for Lattice Field Theory (part of FUEL project)

Home Page: http://jcosborn.github.io/qhmc

License: GNU General Public License v3.0

C 52.63% Shell 3.64% CSS 0.44% Makefile 0.05% Lua 41.93% C++ 1.32%

qhmc's Introduction

# QHMC (FUEL)

James C. Osborn

QHMC is an application for Lattice Field Theory using the Lua
scripting language on top of USQCD SciDAC libraries.
It is also commonly referred to by the name FUEL
(Framework for Unified Evolution of Lattices).
Though originally targeted for configuration generation,
it now has fairly extensive analysis capabilities.
The main website is [here](http://jcosborn.github.io/qhmc).

## Quick Build Instructions

QHMC uses autoconf and follows similar conventions to the rest of the
[USQCD SciDAC libraries](http://usqcd-software.github.io).
You will first need to install its dependencies:
[QMP](http://usqcd-software.github.io/qmp),
[QIO](http://usqcd-software.github.io/qio),
[QLA](http://usqcd-software.github.io/qla),
[QDP](http://usqcd-software.github.io/qdp), and
[QOPQDP](http://usqcd-software.github.io/qopqdp).
The recommended versions of these libraries are

* qmp-2.5.0
* qio-2.4.1
* qla-1.9.0
* qdp-1.11.0
* qopqdp-0.20.0

Source tarballs for these libraries and QHMC are available
[here](http://usqcd-software.github.io/downloads).
The [qinstall](https://github.com/usqcd-software/qinstall)
script provides a convienent way to install these libraries
and QHMC.

An example configure command for QHMC is:

```
/home/osborn/lqcd/src/qhmc-0.1.4/configure \
 --prefix=/home/osborn/lqcd/install/qhmc-0.1.4 \
 --with-qmp=/home/osborn/lqcd/install/qmp \
 --with-qio=/home/osborn/lqcd/install/qio \
 --with-qla=/home/osborn/lqcd/install/qla \
 --with-qdp=/home/osborn/lqcd/install/qdp \
 --with-qopqdp=/home/osborn/lqcd/install/qopqdp \
 --enable-nc=all \
 --enable-colors=n \
 CFLAGS="-Wall -std=gnu99 -O3 -g -DQDP_PROFILE"
```

CC will default to the same as used by QMP and can be overriden.

The "--enable-nc=" flag should match what was used to compile QOPQDP.
The default is "all".

The "--enable-colors=" flag is used to force all fields to have the
specified color at compile time.  This may be faster in some cases,
but can prevent using any code that uses multiple Nc.  The allowed
values are 1,2,3, and n where "n" specifies that the fields can have
any Nc and can be specified at runtime.  This is the default.

## Directory structure

```
bin
  where the final qhmc executable is built
examples
  some random, possibly old, examples
include
  headers for Lua bindings in lib directory
lib
  Lua bindings for libraries (and the Lua source itself)
lua
  Lua scripts for running configuration generation and analysis
test
  regression tests
```

qhmc's People

Contributors

daschaich avatar jcosborn avatar

Watchers

 avatar  avatar  avatar

Forkers

jbro885

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.