Skip to content

Commit cee31d0

Browse files
authored
Merge pull request #15 from mverwe/mverwe-patch-1
update instructions for bachelor students
2 parents 0a1335c + ca9671d commit cee31d0

File tree

1 file changed

+42
-13
lines changed

1 file changed

+42
-13
lines changed

README_ForBScStudents.md

+42-13
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,54 @@
22

33
## Prerequisites
44

5-
If you are using mac or linux, the steps are relatively straightforward. For windows machines I'm not sure what to do. These are the things you need to install:
5+
For the project you will need an envinronment that allows you to compile and run different types of software. In the student room there are linux machines that you can use. If you prefer to use your windows computer, you will need to run linux on a virtual machine or use docker (more modern).
66

7-
* C++ compiler: on mac you could install xcode (found on App Store) to get the g++ compilers
7+
### Docker
8+
First you have to install docker on your laptop. For windows you can download it here: https://docs.docker.com/docker-for-windows/
89

9-
## JetToyHI installation
10+
Once you have installed docker you will have to install some libraries. Follow these instructions that have you can type into the terminal:
11+
```sh
12+
docker pull ubuntu #this gets latest ubuntu image (bionic, 18.04)
1013

11-
### Install ROOT
12-
The easiest is to just grep a precompiled version from the root website (take ROOT6)
13-
* https://root.cern.ch/content/release-61404
14+
docker run -i -t ubuntu /bin/bash
15+
16+
apt update -y
17+
18+
apt install -y vim wget curl libcurl4-gnutls-dev build-essential gfortran cmake libmysqlclient-dev xorg-dev libglu1-mesa-dev libfftw3-dev libssl1.0 libssl1.0-dev libxml2-dev git unzip python-pip autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config bison flex libperl-dev libbz2-dev libboost-all-dev swig liblzma-dev libnanomsg-dev libyaml-cpp-dev rsync lsb-release unzip environment-modules
19+
20+
apt-get install xutils-dev libgsl23 libtbb-dev
21+
22+
apt-get install apt-utils libssl-dev
23+
apt-get install libgsl0-dev
24+
25+
pip install matplotlib numpy certifi ipython==5.1.0 ipywidgets ipykernel notebook metakernel pyyaml
26+
```
1427

15-
### Computers in student room
16-
You can also use the computers in the student room on which a C++ compiler and ROOT are already installed. To use these computers login with your solis ID. Then open a terminal and type:
28+
### Virtual Machine
29+
If you prefer to use a virtual machine running ubuntu, use google to find one that you like. Afterwards you will have to install the same librarie as listed above for docker. Note that you will have to put `sudo` in front of all the `apt` commands.
30+
31+
### MacOS
32+
On a mac there is no need for a virtual machine or docker. But you will need a C++ compiler that you can get by installing xcode to be found in the AppStore.
33+
34+
## JetToyHI installation
35+
36+
Start with creating a directory in which you want to install the software that you will use for this project. For example:
1737
```sh
18-
ali
19-
alienv
38+
mkdir soft
2039
```
21-
To test if ROOT now works type
40+
Now go into the created directory:
41+
```sh
42+
cd soft
43+
```
44+
45+
### Install ROOT
46+
The easiest is to just grep a precompiled version from the root website https://root.cern.ch/content/release-61404 (take ROOT6). You can do this directly from the terminal:
2247
```sh
23-
root
48+
wget https://root.cern.ch/download/root_v6.14.04.Linux-ubuntu18-x86_64-gcc7.3.tar.gz
49+
tar xvfz root_v6.14.04.Linux-ubuntu18-x86_64-gcc7.3.tar.gz
50+
rootsetup=$PWD/root/bin/thisroot.sh
51+
. $rootsetup
52+
echo $rootsetup >> ~/.bashrc
2453
```
2554

2655
### Install PYTHIA8
@@ -99,7 +128,7 @@ Click on `jetTree` and play around.
99128
* Fork the original repository. Go to: https://github.com/mverwe/JetToyHI and click 'Fork' in the upper right corner.
100129
* Instead of cloning the original repository as shown above, clone your own.
101130
* After committing your changes to your own branch, push them to your own fork. Don't know how to do this, ask your colleages or use google which might bring you here https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
102-
* Do a pull request once you have finished your developements.
131+
* Do a pull request once you have finished your developments.
103132

104133

105134
## Samples

0 commit comments

Comments
 (0)