-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
49 lines (32 loc) · 1.37 KB
/
README.txt
File metadata and controls
49 lines (32 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
############################################################
#Author: Amit Bashyal
#Advisor: Taylor Childs
# August 8,2017
#############################################################
#PROJECT TITLE: ROOT MPI
This project builds a TFile like object that uses MPICH (Message
Passing Interface) libraries and TMemFile for parallelization
of IO process.
#PRE-REQUISITES
1. ROOT (preferably ROOT 6 or higher)
(https://root.cern.ch/) for download and installation instructions
2. MPICH
(http://www.mpich.org/) for download and installation instructions
#INSTALLATION
The following instruction assumes the user has already build/installed
ROOT and CERN in the machine.
1. Create a new working directory for the project (workdir)
2. In the workdir, open the "setenv.sh" file.
3. Replace "source <path/to/ROOTSYS/bin/thisroot.sh" with the actual path.
4. Put path to MPICH header files in "MPIINCLUDES=" .
5. Put path to MPICH libraries in "MPILIBS=".
6. Save setenv.sh.
7. In the workdir, do "make".
#USAGE EXAMPLE
An example code (./src/test_tmpi.C) shows the usage of the package
Example to run the macro with 10 parallel process:
In the workdir: "mpirun -np 10 ./bin/test_tmpi".
#CREDITS:
I would like to thank HEPCCE (High Energy Physics Center of Computational Excellence)
program and Argonne National Laboratory for providing an opportunity to work on
this project.