summaryrefslogtreecommitdiff
path: root/homebrew/lammps
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/lammps')
-rw-r--r--homebrew/lammps/.beer42
-rw-r--r--homebrew/lammps/.make.sh-auto7
-rw-r--r--homebrew/lammps/_metadata/description1
-rw-r--r--homebrew/lammps/_metadata/homepage1
-rw-r--r--homebrew/lammps/_metadata/name1
-rw-r--r--homebrew/lammps/_metadata/version1
-rwxr-xr-xhomebrew/lammps/download.sh1
7 files changed, 54 insertions, 0 deletions
diff --git a/homebrew/lammps/.beer b/homebrew/lammps/.beer
new file mode 100644
index 000000000..91d70afe3
--- /dev/null
+++ b/homebrew/lammps/.beer
@@ -0,0 +1,42 @@
+{
+ "name": "Lammps",
+ "description": "Molecular Dynamics Simulator",
+ "url": "https://lammps.sandia.gov/tars/lammps-12Dec18.tar.gz",
+ "mirror": null,
+ "homepage": "https://lammps.sandia.gov/",
+ "depends": [
+ {
+ "depend": "fftw",
+ "build-depend": false
+ },
+ {
+ "depend": "gcc",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "open-mpi",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "%w[serial mpi].each do |variant|",
+ "cd \"src\" do",
+ "system \"make\", \"clean-all\"",
+ "system \"make\", \"yes-standard\"",
+ "%w[gpu kim kokkos latte mscg meam message mpiio poems reax voronoi].each do |package|",
+ "system \"make\", \"no-#{package}\""
+ ],
+ "version": "-12",
+ "file": "lammps.rb"
+} \ No newline at end of file
diff --git a/homebrew/lammps/.make.sh-auto b/homebrew/lammps/.make.sh-auto
new file mode 100644
index 000000000..1e9d8989f
--- /dev/null
+++ b/homebrew/lammps/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+%w[serial mpi].each do |variant|
+cd "src"
+make clean-all
+make yes-standard
+%w[gpu kim kokkos latte mscg meam message mpiio poems reax voronoi].each do |package|
+make no-#{package}
diff --git a/homebrew/lammps/_metadata/description b/homebrew/lammps/_metadata/description
new file mode 100644
index 000000000..7ecd37a19
--- /dev/null
+++ b/homebrew/lammps/_metadata/description
@@ -0,0 +1 @@
+Molecular Dynamics Simulator
diff --git a/homebrew/lammps/_metadata/homepage b/homebrew/lammps/_metadata/homepage
new file mode 100644
index 000000000..591ad2d17
--- /dev/null
+++ b/homebrew/lammps/_metadata/homepage
@@ -0,0 +1 @@
+https://lammps.sandia.gov/
diff --git a/homebrew/lammps/_metadata/name b/homebrew/lammps/_metadata/name
new file mode 100644
index 000000000..263f6fbab
--- /dev/null
+++ b/homebrew/lammps/_metadata/name
@@ -0,0 +1 @@
+Lammps
diff --git a/homebrew/lammps/_metadata/version b/homebrew/lammps/_metadata/version
new file mode 100644
index 000000000..53c2ee5a7
--- /dev/null
+++ b/homebrew/lammps/_metadata/version
@@ -0,0 +1 @@
+-12
diff --git a/homebrew/lammps/download.sh b/homebrew/lammps/download.sh
new file mode 100755
index 000000000..6153a8bf2
--- /dev/null
+++ b/homebrew/lammps/download.sh
@@ -0,0 +1 @@
+wget https://lammps.sandia.gov/tars/lammps-12Dec18.tar.gz \ No newline at end of file