Skip to content

fact-project/photon_stream_production

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photon-Stream-Production Build Status

Produce the photon-stream for FACT from zfits-raw-fiels at ISDC or at local python-scoop-cluster. This package contains tools to organize the production of the photon-stream. The actuall single-photon-extraction is done in fact-tools.

Install Java 8 (for fact-tools)

mkdir java8
cd java8

go to oracle java downloads

and download:

  • jdk-8u144-linux-x64.tar.gz for Linux x64

go to maven

and download:

  • apache-maven-3.5.0-bin.tar.gz
ls
apache-maven-3.5.0-bin.tar.gz    jdk-8u144-linux-x64.tar.gz

untar both files:

tar -zxvf apache-maven-3.5.0-bin.tar.gz
tar -zxvf jdk-8u144-linux-x64.tar.gz

now the java8 directory looks like this

ls
apache-maven-3.5.0  apache-maven-3.5.0-bin.tar.gz  jdk1.8.0_144  jdk-8u144-linux-x64.tar.gz

Now set the java and maven path in your .bashrc

# JAVA HOME
#----------
export JAVA_HOME='/net/big-tank/POOL/projects/fact/smueller/java8/jdk1.8.0_144'
export PATH=$JAVA_HOME/bin/:$PATH

export MVN_HOME='/net/big-tank/POOL/projects/fact/smueller/java8/apache-maven-3.5.0'
export PATH=$MVN_HOME/bin:$PATH

Install fact-tools

Download from github:

git clone https://github.com/fact-project/fact-tools.git
cd fact-tools

Checkout the photon-stream pass4 vesion of fact-tools:

git checkout 8a96abd8dc9e54ebfaedff97b093be72255d5b1f

Build fact-tools:

mvn package

This also runs the unit tests and should end with:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Install photon-stream and photon-stream-production

git clone https://github.com/fact-project/photon_stream.git
pip install -e photon_stream/

git clone https://github.com/fact-project/photon_stream_production.git
pip install -e photon_stream_production/

Publish on web server

https://ihp-pc41.ethz.ch/public/phs/

login to ihp-pc41 as user: factshifthelper

stop the running nginx webserver docker container

docker stop data_nginx

remove the former container

docker rm data_nginx

apply changes as needed to the config files in:

  • index.html
  • start_nginx.sh
  • default.conf

build the updated docker container:

./start_nginx.sh

About

production at ISDC Geneva and ETH-Zurich

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published