Skip to content

JoshuaFeinglass/pi-qmc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obtaining the source code

Building with cmake (recommended)

Running "cmake ." in the source directory configures the program. After the program is configured you can always edit settings in CMakeCache.txt.

You can set the intel compilers with:

env CC=icc CXX=icpc cmake .

To generate an eclipse project with gcc-4.7 tools from mac ports:

env CC=gcc-mp-4.7 CXX=g++-mp-4.7 cmake -G"Eclipse CDT4 - Unix Makefiles" .

Building with legacy autotools (supported, but not recommended)

Important configure flags:

  • Compile the code for 1, 2, 3 or 4 dimensional simulations. (Four dimensional simulations are mostly used for testing spin algorithms or other mathematical models.)

    --with-ndim=NDIM
    
  • Enable MPI for parallel simulation.

    --enable-mpi
    
  • Use the SPRNG library for random numbers.

    --enable-sprng
    
  • If configure has trouble locating the proper blas and lapack libraries:

    --with-blas=<lib>
    --with-lapack=<lib>
    

Releases

No releases published

Packages

No packages published