From 4d7d6bfd82f79ee0e98946f5a7c59b6b84c9e921 Mon Sep 17 00:00:00 2001 From: Nicolas de Sereville <deserevi@ipno.in2p3.fr> Date: Wed, 6 Jan 2016 22:08:17 +0100 Subject: [PATCH] + Update README files --- README.md | 14 ++++++++++++-- README/README.md | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a371f851..0369cb7bd 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,9 @@ MATTA at a.matta@surrey.ac.uk 2. [Downloading from Git Hub](#downloading-from-git-hub) 2. [Setup](#setup) 1. [Requirements](#requirements) - 2. [Building NPLib](#building-nplib) - 3. [Building NPSimulation](#building-npsimulation) + 2. [Preparing the build](#preparing-the-build) + 3. [Building NPLib](#building-nplib) + 4. [Building NPSimulation](#building-npsimulation) 3. [Benchmarks and Examples](#benchmarks-and-examples) 1. [Benchmarks](#benchmarks) 2. [Examples](#examples) @@ -52,6 +53,15 @@ In order to compile NPSimulation, a recent installation of Geant4 (tested with version 9.6 and 10.1) is needed. If you want to use GDML format in NPTool, Geant4 should be installed with GDML support. +### Preparing the build +To set the needed environment variables, PATH and LD\_LIBRARY\_PATH, use +the following convenience script and do: + +`source <pathname>/nptool/nptool.sh` + +where `<pathname>` is the location where you unpacked the NPTool package. +Typically add these lines to your .profile or .bashrc or .tcshrc file. + ### Building NPLib NPLib is the core of the NPTool package, holding most of the actual code. It is made of a collection of stand alone C++ classes that can be used in programs diff --git a/README/README.md b/README/README.md index ccc8ff56f..7a7ad28b2 100644 --- a/README/README.md +++ b/README/README.md @@ -29,4 +29,4 @@ the following convenience script and do: where `<pathname>` is the location where you unpacked the NPTool package. -Typically add these lines to your .profile or .bashrc or .tcshrc files. +Typically add these lines to your .profile or .bashrc or .tcshrc file. -- GitLab