tadd publicationt to README, add -fPIC to CXX flags - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit b80b3098a85e2e1303fe14e9068da59ad6330a4b
 (DIR) parent 68f1c39cbbc115790c22fdf39220cac2bd9cc8f2
 (HTM) Author: Anders Damsgaard <andersd@riseup.net>
       Date:   Sat, 28 Oct 2017 09:52:21 -0700
       
       add publicationt to README, add -fPIC to CXX flags
       
       Diffstat:
         M README.rst                          |       5 +++++
         M src/CMakeLists.txt                  |       3 ++-
       
       2 files changed, 7 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/README.rst b/README.rst
       t@@ -109,6 +109,11 @@ Publications
        ``sphere`` has been used to produce results in the following scientific
        publications and presentations:
        
       +- Damsgaard, A., A. Cabrales-Vargas, J. Suckale, and L. Goren (2017), The 
       +  coupled dynamics of meltwater percolation and granular deformation in the 
       +  sediment layer underlying parts of the big ice sheets, Poromechanics VI, 
       +  `doi:10.1061/9780784480779.024 
       +  <https://dx.doi.org/10.1061/9780784480779.024>`_.
        - Damsgaard, A., D.L. Egholm, L.H. Beem, S. Tulaczyk, N.K. Larsen, J.A.  
          Piotrowski, and M.R. Siegfried (2016), Ice flow dynamics forced by water 
          pressure variations in subglacial granular beds, Geophysical Research Letters, 
 (DIR) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
       t@@ -29,7 +29,8 @@ ELSE()  # Fermi
                #"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\";--fmad=false -ccbin gcc;-Xcompiler -fPIC")
                "--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\";--fmad=false;-ccbin clang-3.8")
        ENDIF (GPU_GENERATION EQUAL 1)
       -#SET(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}")
       +
       +SET(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}")
        
        # Rule to build executable program 
        CUDA_ADD_EXECUTABLE(sphere