Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST install with preexisting root #1

Open
bencattermole opened this issue Nov 13, 2023 · 0 comments
Open

REST install with preexisting root #1

bencattermole opened this issue Nov 13, 2023 · 0 comments

Comments

@bencattermole
Copy link

Preexisiting root install

if you have source thisRoot.sh in your .bashrc this will take priority over your conda environment, to successfully launch root from the conda env you need to remove this from your path (echo $PATH)

Creating environment - troubleshooting

  • Connection broken: incomplete read( ... )

After trying to create conda environment with Geant4, this error is caused by losing internet connection during install. Simply try again with a better connection

Testing environment

to test your newly created environment run:

root

you should get:

[text welcoming you to root, your root version, operating system version
root[0]

if you get

error: unable to read PCH file /home/ben/anaconda3/envs/RestG4/etc//allDict.cxx.pch: 'No such file or directory'
fatal error: PCH file '/home/ben/anaconda3/envs/RestG4/etc//allDict.cxx.pch' not found: module file not found
*** Break *** segmentation violation

then you are have another install of root in your PATH variable

Installing REST-for-physics

cd ~/
mkdir REST-for-physics
cd REST-for-physics
mkdir rest-framework
cd rest-framework
git clone https://github.com/rest-for-physics/framework.git .
python pull-submodules.py –latest:master

should be changed to

cd ~/
mkdir REST-for-physics
cd REST-for-physics
mkdir rest-framework
cd rest-framework
git clone https://github.com/rest-for-physics/framework.git .
git checkout 9bfed7c
python pull-submodules.py –latest:master

This is the correct version of REST from December 22.

Trouble shooting

after make install if you get :

error: unknown type name 'any'

or

-lstdc++fs: not found

You are trying to install the wrong version of REST for your ROOT and Geant4 versions, you need to go back and change the version of REST you git cloned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant