aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-05-14 10:05:50 -0500
committertlatorre <tlatorre@uchicago.edu>2019-05-14 10:05:50 -0500
commit45fe118bd336eefa1277d1f4948397f303c6930d (patch)
tree991c9cf3b59b485a4e71d041ff331dd9917792bb
parent8697730f16ec870938ccd243e54a80afdfdfb0a7 (diff)
downloadsddm-45fe118bd336eefa1277d1f4948397f303c6930d.tar.gz
sddm-45fe118bd336eefa1277d1f4948397f303c6930d.tar.bz2
sddm-45fe118bd336eefa1277d1f4948397f303c6930d.zip
add instructions for compiling on the grid
-rw-r--r--README20
1 files changed, 20 insertions, 0 deletions
diff --git a/README b/README
index 8d28c92..ec6864e 100644
--- a/README
+++ b/README
@@ -55,6 +55,26 @@ You will also need to edit ~/.bash_profile and add the following line:
export LD_LIBRARY_PATH=$HOME/local/lib:$HOME/local/lib64
+Installing NLopt for the grid
+=============================
+
+When running the fitter on the grid, it's necessary to compile NLopt as a
+static library.
+
+ $ curl -O -L https://github.com/stevengj/nlopt/archive/v2.6.1.tar.gz
+ $ tar -xzvf v2.6.1.tar.gz
+ $ cd nlopt-2.6.1
+ $ mkdir build
+ $ cd build
+ $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/local -DBUILD_SHARED_LIBS=OFF ..
+ $ make
+ $ make install
+
+and then you have to edit the Makefile to add:
+
+ CFLAGS=-fdiagnostics-color -O2 -Wall -g -DSWAP_BYTES -I/home/tlatorre/local/include/
+ LDLIBS=-fdiagnostics-color -lm -lgsl -lgslcblas -L/home/tlatorre/local/lib64 -l:libnlopt.a -lstdc++
+
Fitting Events
==============