Page:
go4 under rh7
Pages
How To Beamline Starting
How To Jungfrau
How To Monochromator
How To Stand Run Table
How To other
Maloja Phone Numbers
MiniTOF
Set up Keysight for TOF
Vacuum Panels Change Panel Informations
Vacuum Panels Configuration
Vacuum Panels Main
Vacuum Panels Test
computing infrastructure GFA Linux Tabular
computing infrastructure Quotas
computing infrastructure databuffer
computing infrastructure epics gateway
devices Gas Attenuator
devices Keysight
devices SPECS electron spectrometer processing
devices Scienta XES 350 Position detector
devices Undulators
epics IOCs
epics general
epics pco pvs
epics pco set roi
example
github from the consoles
go4 under rh7
go4 under rh8
home
ioc logs
phone directory
python Getting started
python analysis code
python conda fix
python overview
sandbox
Clone
3
go4 under rh7
augustin_s edited this page 2025-01-10 11:01:48 +01:00
Table of Contents
title
title |
---|
go4 under RH7 (deprecated) |
Setup (w/ root 6.26)
- Download and unpack the go4 distribution:
https://web-docs.gsi.de/~go4/download/go4-6.2.0.tar.gz
- Create a
build
folder andcd
to it.
module use unstable # for Qt and hdf5_serial
module load Qt gcc/10.3.0 root/6.26.02 hdf5_serial/1.10.7 cmake/3.20.5 gsl/2.7
- To get
HDF5_ROOT
env var considered, change policy CMP0074 to NEW:
cmake -DCMAKE_POLICY_DEFAULT_CMP0074=NEW -Dhdf5=ON ../go4-6.2.0/
make -j
- Once you reach an error regarding libtiff:
cp /afs/psi.ch/sys/psi.x86_64_slp6/Compiler/root/6.24.06/gcc/10.3.0/lib/libtiff* ./lib/
make -j
Setup (w/ root 6.24)
- Download and unpack the go4 distribution:
https://web-docs.gsi.de/~go4/download/go4-6.2.0.tar.gz
-
Create a
build
folder andcd
to it. -
Load dependencies via pmodules:
module use unstable # for Qt
module load Qt gcc/10.3.0 root/6.24.06 hdf5_serial/1.10.7 cmake/3.20.5
- To get
HDF5_ROOT
env var considered, change policy CMP0074 to NEW:
cmake -DCMAKE_POLICY_DEFAULT_CMP0074=NEW -Dhdf5=ON ../go4-6.2.0/
make -j
- Once you reach an error regarding libtiff:
cd qt4 && $(cat CMakeFiles/go4.dir/link.txt) -ltiff && cd ..
make -j
Just for debugging
The ignored HDF5_ROOT
can also be solved by editing go4-6.2.0/CMakeLists.txt
. Add:
14 cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
15 cmake_policy(VERSION 3.12)
In case, HDF5_ROOT
is not defined:
HDF5_ROOT=$HDF5_PREFIX cmake -Dhdf5=ON ../go4-6.2.0/
Further details regarding the libtiff error:
VERBOSE=1 make -j
Last line misses -ltiff
. Find last line, cd
into right folder (qt4
) and run line again adding -ltiff
at the end.
In case we need the parallel hdf5 lib:
module load Qt gcc/10.3.0 openmpi/4.0.5 root/6.24.06 hdf5/1.10.7 cmake/3.20.5