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

Plotting geometry with Opticks #81

Open
ggalgoczi opened this issue Dec 12, 2024 · 3 comments
Open

Plotting geometry with Opticks #81

ggalgoczi opened this issue Dec 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ggalgoczi
Copy link
Collaborator

./opticks/cx.sh was recommended to plot our Geometry. However I am getting the following error:

./opticks/cx.sh: line 77: /esi/.opticks/GEOM/MOI.sh: No such file or directory

@ggalgoczi ggalgoczi added the bug Something isn't working label Dec 12, 2024
@ggalgoczi
Copy link
Collaborator Author

Once I remove that line from the script (it supposed to set the FOV, etc) I get:

./opticks/cx.sh : FOUND GDMLPathFromFromGEOM
GEOM : RaindropRockAirWater
MOI :
EMM :
ELV :
TMIN : 0.5
EYE : 1,0,0
LOOK : 0,0,0
UP : 0,0,1
ZOOM : 1
LOGDIR : /tmp/GEOM/RaindropRockAirWater/CSGOptiXRenderInteractiveTest
BASE : /tmp/GEOM/RaindropRockAirWater/CSGOptiXRenderInteractiveTest
PBAS : /tmp/
NAMEPREFIX : cxr_min__eye_1,0,0__zoom_1__tmin_0.5_
OPTICKS_HASH : FAILED_GIT_REV_PARSE
TOPLINE : ESCALE=extent EYE=1,0,0 TMIN=0.5 MOI= ZOOM=1 CAM=perspective ~/opticks/CSGOptiX/cxr_min.sh
BOTLINE : Thu Dec 12 20:11:26 UTC 2024
CUDA_VISIBLE_DEVICES :
./opticks/cx.sh : run : delete prior LOG CSGOptiXRenderInteractiveTest.log
2024-12-12 20:11:26.628 INFO [3144] [CSGFoundry::ResolveCFBase_@3125] SOpticksResource::CFBaseFromGEOM gave null debug with : export SOpticksResource=INFO
2024-12-12 20:11:26.628 FATAL [3144] [CSGFoundry::ResolveCFBase@3139] cfbase/CSGFoundry directory (null)/CSGFoundry IS NOT READABLE
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
./opticks/cx.sh: line 283: 3144 Aborted (core dumped) $bin
./opticks/cx.sh run error

@ggalgoczi ggalgoczi changed the title Plotting geometry Plotting geometry with Opticks Dec 12, 2024
@ggalgoczi
Copy link
Collaborator Author

Set before running the script:

mkdir /esi/.opticks/GEOM/RaindropRockAirWater
cp esi-g4ox/geom/pfrich_min.gdml /esi/.opticks/GEOM/RaindropRockAirWater/origin.gdml

@ggalgoczi
Copy link
Collaborator Author

Perhaps ~/opticks/g4cx/tests/G4CXOpticks_setGeometry_Test.sh need to be run beforehand to create the Foundry?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant