]> git.treefish.org Git - phys/heatbath.git/commitdiff
Initial.
authorAlexander Schmidt <alex@treefish.org>
Wed, 13 Nov 2013 09:11:19 +0000 (10:11 +0100)
committerAlexander Schmidt <alex@treefish.org>
Wed, 13 Nov 2013 09:11:19 +0000 (10:11 +0100)
.gitignore [new file with mode: 0644]
.gitmodules [new file with mode: 0644]
CMakeLists.txt [new file with mode: 0644]
heatbath.cc [new file with mode: 0644]
latlib [new submodule]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..1e59c67
--- /dev/null
@@ -0,0 +1,6 @@
+*~
+heatbath
+cmake_install.cmake
+Makefile
+CMakeCache.txt
+CMakeFiles
diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..79c2de3
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule "latlib"]
+       path = latlib
+       url = ssh://git.treefish.org/~alex/public_git/phys/latlib.git
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3417d67
--- /dev/null
@@ -0,0 +1,16 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(heatbath)
+
+# #PROFILING
+# set(CMAKE_CXX_FLAGS -pg)
+# set(CMAKE_EXE_LINKER_FLAGS -pg)
+# set(CMAKE_SHARED_LINKER_FLAGS -pg)
+
+SET(CMAKE_BUILD_TYPE Release)
+
+add_subdirectory(latlib)
+
+add_executable(heatbath heatbath.cc)
+#set_target_properties(phi4iso-local PROPERTIES COMPILE_DEFINITIONS "LOCAL_UPDATE_ALGORITHM")
+target_link_libraries(heatbath o815)
diff --git a/heatbath.cc b/heatbath.cc
new file mode 100644 (file)
index 0000000..086f367
--- /dev/null
@@ -0,0 +1,5 @@
+int main (int argc, char *argv[])
+{
+
+  return 0;
+}
diff --git a/latlib b/latlib
new file mode 160000 (submodule)
index 0000000..2918744
--- /dev/null
+++ b/latlib
@@ -0,0 +1 @@
+Subproject commit 2918744d037d9254538dd84311aa346576e0fe04