diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 ============== |