added to README, updated example config.mk
This commit is contained in:
@@ -19,6 +19,12 @@ in the current working directory. If any library is not available in the system
|
|||||||
wide include or library path you might have to edit the settings in
|
wide include or library path you might have to edit the settings in
|
||||||
config/config.mk.
|
config/config.mk.
|
||||||
|
|
||||||
|
If either HDF5, Jansson or Blitz++ are not available via packages the config/config.mk file includes the option for those libraries to be built on their own during the "make" call.
|
||||||
|
Therfor the corresponding variable in the config.mk file (i.e. MAKE_BLITZ) has to be set to true.
|
||||||
|
In that case the include and library paths have to be set correspondingly.
|
||||||
|
As an example the variables for the blitz++ library are set as if it was compiled via the makefile.
|
||||||
|
After the missing libraries are compiled the MAKE_* variable can be set to false again.
|
||||||
|
|
||||||
START OF A SIMULATION:
|
START OF A SIMULATION:
|
||||||
|
|
||||||
The simulation needs a JSON file that describes the physical and numerical
|
The simulation needs a JSON file that describes the physical and numerical
|
||||||
|
|||||||
+5
-8
@@ -9,6 +9,7 @@ USE_TIMER = false
|
|||||||
CATCH_DIR = $(HOMEBASE)/external/catch
|
CATCH_DIR = $(HOMEBASE)/external/catch
|
||||||
CATCH_INCLUDES = -I$(CATCH_DIR)
|
CATCH_INCLUDES = -I$(CATCH_DIR)
|
||||||
|
|
||||||
|
|
||||||
# Blitz
|
# Blitz
|
||||||
MAKE_BLITZ = false
|
MAKE_BLITZ = false
|
||||||
|
|
||||||
@@ -29,14 +30,10 @@ HDF5P_LIB_DIR = /usr/lib/x86_64-linux-gnu/hdf5/openmpi/
|
|||||||
HDF5P_INCLUDES = -I$(HDF5P_INC_DIR)
|
HDF5P_INCLUDES = -I$(HDF5P_INC_DIR)
|
||||||
HDF5P_LIBRARIES = -L$(HDF5P_LIB_DIR) -lz -lhdf5_hl -lhdf5
|
HDF5P_LIBRARIES = -L$(HDF5P_LIB_DIR) -lz -lhdf5_hl -lhdf5
|
||||||
|
|
||||||
# Janson
|
# Jansson
|
||||||
MAKE_JANSSON = false
|
MAKE_JANSSON = false
|
||||||
|
|
||||||
JANSON_DIR = $(HOMEBASE)/external/jansson
|
JANSON_INC_DIR = /usr/include/
|
||||||
JANSON_INC_DIR = $(JANSON_DIR)
|
JANSON_LIB_DIR = /usr/lib/x86_64-linux-gnu
|
||||||
JANSSON_LIBRARIES = -ljansson
|
JANSSON_LIBRARIES = -L$(JANSON_LIB_DIR) -ljansson
|
||||||
JANSSON_INCLUDES = -I$(JANSON_INC_DIR)
|
JANSSON_INCLUDES = -I$(JANSON_INC_DIR)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user