wagnergroup / pk_experimentalmainline Goto Github PK
View Code? Open in Web Editor NEWThis project forked from qwalk/mainline
Ping-Ko's implementation of new Metropolis steps
License: GNU General Public License v2.0
This project forked from qwalk/mainline
Ping-Ko's implementation of new Metropolis steps
License: GNU General Public License v2.0
To build: for the impatient: cd src; make; for the slightly less impatient: cd src; make PLATFORM=ARCH; NOTE: The build system currently requires GNU make. This can usually be called as 'make' or 'gmake'. There are several makefile stubs in make/. You can look for your architecture there or roll your own. Typing 'make' (or possibly gmake) without any arguments will cause the build program to look for `uname -s`.mk(for example, on Linux, it will look for Linux.mk). You can choose the platform by typing 'make PLATFORM=arch'. There are various variables to set in the .mk files. The most important are CXX and CXXFLAGS; the rest are performance and debugging-related(these are also very important in large calculations!) See make/Linux.mk for an example of a fairly well-optimized .mk file. Makefile variables: CXX: C++ compiler. For example, for a serial compile, set this to g++. For parallel, set it to mpiCC or mpicxx (or mpic++). CXXFLAGS: Flags to pass to the compiler. Put optimization (-O2) flags, etc here. Must also include the option "$(INCLUDEPATH)" DEBUG: Define any debugging flags here. An optimized DEBUG might be '-DNDEBUG'. A safe and slow DEBUG could be '-DDEBUG_WRITE -DRANGE_CHECKING' LDFLAGS: Linker flags. Usually you don't need anything here, but some compilers need '-lm' for the math libraries. BLAS_LIBS: The BLAS libraries(for example: -L/usr/lib -lcblas LAPACK_LIBS: LAPACK libs(as BLAS) (ex. -L/opt/lapack/lib -llapack) LAPACK_INCLUDE: LAPACK headers (for examples -I/opt/lapack/ EINSPLINE_LIBS: Einspline libs EINSPLINE_INCLUDE: Einspline include directory DEPENDMAKER: If you have gcc, it should be g++ -MM -I $(INCLUDEPATH). List of preprocessor flags(these may be defined by -D[FLAG] with most compilers. List them in the CXXFLAGS variable along with any optimization flags.) DEBUG_WRITE: Enable extra debugging output. RANGE_CHECKING: Enable range checking of arrays. Big performance hit if you turn this on! NDEBUG: Turn off assert()'s in code. For less safety and better performance set this flag. USE_BLAS: Enable usage of CBLAS libraries. This will enable BLAS in some of the linear algebra routine and enable BLAS_MO, which is a very fast MO evaluator for some archetectures(Itanium is one that really benefits from this). You must also set the BLAS_LIBS and BLAS_INCLUDE variables. USE_LAPACK: Enables usage of LAPACK libraries in pw2lcao. It's not used in the main program, but improves pw2lcao's performance by several orders of magnitude. You must also set the LAPACK_LIBS and BLAS_INCLUDE variables. USE_MPI: Enable use of MPI parallelization. For large calculations, this is quite necessary. USE_EINSPLINE: Use the einspline libraries from Ken Esler to evaluate blips. EINSPLINE_LIBS and EINSPLINE_INCLUDE must also be set.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.