[Gate-users] Gate-users Digest, Vol 183, Issue 15
Deae Eddine
eddinedeae at gmail.com
Wed Sep 1 10:40:59 CEST 2021
[image: image.gif]Dear David
Thank you very much for your reply.
The configuration of the 'Torch_DIR' path is followed by referring to the
Gate manual, and the path of 'TORCH_LIBRARY' is automatically generated.
The Torch configuration path is:
Torch_DIR = /opt/libtorch/share/cmake/Torch
TORCH_LIBRARY = /opt/libtorch/lib/libtorch.so
For the source code, I downloaded it from the website below.
https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.4.0%2Bcpu.zip
I try also with libtorch 1.7 but nothing is changed.
Best wish,
Le mer. 25 août 2021 à 16:57, <
gate-users-request at lists.opengatecollaboration.org> a écrit :
> Send Gate-users mailing list submissions to
> gate-users at lists.opengatecollaboration.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
> gate-users-request at lists.opengatecollaboration.org
>
> You can reach the person managing the list at
> gate-users-owner at lists.opengatecollaboration.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Activate "LibTorch" in Gate 9.0 (David Sarrut)
> 2. Re: Gate-dev looks like broken? (David Sarrut)
> 3. Re: Gate-dev looks like broken (David Sarrut)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 25 Aug 2021 17:32:44 +0200
> From: David Sarrut <David.Sarrut at creatis.insa-lyon.fr>
> To: Deae Eddine <eddinedeae at gmail.com>
> Cc: gate-users-request at lists.opengatecollaboration.org, gate-users
> <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Activate "LibTorch" in Gate 9.0
> Message-ID:
> <
> CAKTJC4BW8Gqv3AALsGNvRAWUJsDiLq0c+yr2LvgKV7a+pf2CGg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> it seems that the lib is not found. Can you show the cmake output?
> Try also with libtorch 1.7.
>
> Sincerely,
> David
>
> On Tue, Aug 3, 2021 at 5:34 PM Deae Eddine <eddinedeae at gmail.com> wrote:
>
> > Dear Gate users
> >
> > I followed these instructions to activate libtorch:
> https://opengate.readthedocs
> > io/en/latest/compilation_instructions.html#libtorch-optional
> > <
> https://opengate.readthedocs.io/en/latest/compilation_instructions.html#libtorch-optional
> >,
> > and I completed the compilation of Gate. When I run the Gate program, a
> > prompt appears: "Gate: error while loading shared libraries: libtorch.so:
> > cannot open shared object file: No such file or directory
> > ".
> > I don't know how to solve this error, I hope everyone can give me some
> > suggestions.
> > The system I use is: ubuntu 20.04 LTS, and install libtorch 1.4.0 into
> > Gate9.0.
> >
> > Best wishes.
> >
> > [image: image.gif]
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
> --
> David Sarrut, Phd
> Directeur de recherche CNRS
> CREATIS, UMR CNRS 5220, Inserm U1294
> Centre de lutte contre le cancer Léon Bérard
> 28 rue Laënnec, 69373 Lyon cedex 08
> Tel : 04 78 78 51 51 / 06 74 72 05 42
> http://dsarrut.github.io <http://www.creatis.insa-lyon.fr/~dsarrut>
> _________________________________
> "2 + 2 = 5, for extremely large values of 2"
> _________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210825/34eed0dd/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image.gif
> Type: image/gif
> Size: 42 bytes
> Desc: not available
> URL: <
> http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210825/34eed0dd/attachment-0001.gif
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 25 Aug 2021 17:37:13 +0200
> From: David Sarrut <David.Sarrut at creatis.insa-lyon.fr>
> To: Dominique Yvon <dominique.yvon at cea.fr>
> Cc: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Gate-dev looks like broken?
> Message-ID:
> <
> CAKTJC4B09vDUTvdAiEryg2O4RWmc74G0z+rJXnGOiTgpzc2+vw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> it seems related to G4 installation (ENSDFSTATE.dat is not found) : can you
> check that all G4 data is installed and all G4 environment variables are
> set ?
>
> David
>
> On Wed, Aug 18, 2021 at 11:14 AM Dominique Yvon <dominique.yvon at cea.fr>
> wrote:
>
> > Good Morning,
> >
> > I am working on MacOSX BigSur
> > I compiled Gate-dev code, yesterday, using Geant4.10.7.p2
> > It worked fine.
> >
> > But when then running
> > > Gate —qt
> >
> > I get : the following report:
> > I attach my ccmake configuration screen.
> > Best
> > Dominique
> >
> > ——————————————— Crash report. ————————
> > [G4-cerr]
> > -------- EEEE ------- G4Exception-START -------- EEEE -------
> > *** G4Exception : PART70001
> > issued by : G4NuclideTable
> > ENSDFSTATE.dat is not found.
> > *** Fatal Exception *** core dump ***
> >
> > *** Break *** segmentation violation
> > [/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so]
> > TUnixSystem::DispatchSignals(ESignals) (no debug info)
> > [/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so]
> > SigHandler(ESignals) (no debug info)
> > [/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] sighandler(int)
> (no
> > debug info)
> > [/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
> > [<unknown binary>] (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4run.dylib]
> > G4ExceptionHandler::Notify(char const*, char const*, G4ExceptionSeverity,
> > char const*) (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4global.dylib]
> > G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)
> (no
> > debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4NuclideTable::GenerateNuclide() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4NuclideTable::G4NuclideTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4NuclideTable::GetNuclideTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4IonTable::G4IonTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4ParticleTable::G4ParticleTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4ParticleTable::GetParticleTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4run.dylib]
> > G4RunManagerKernel::G4RunManagerKernel() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4run.dylib]
> > G4RunManager::G4RunManager() (no debug info)
> > [/Users/yvon/AliBaba/Librairies_CERN//Gate/bin/Gate]
> > GateRunManager::GateRunManager() (no debug info)
> > [/Users/yvon/AliBaba/Librairies_CERN//Gate/bin/Gate] main (no debug info)
> > [/usr/lib/system/libdyld.dylib] start (no debug info)
> > ——————————————— Crash report. ————————
> >
> >
> > Dr. Dominique Yvon, HDR
> > CEA Saclay - IRFU/DPHP, Bat 141, PC21, F-91191 Gif sur Yvette Cedex
> > BioMaps, SHFJ, 4 place du général Leclerc, 91401 Orsay France
> > Tél: 01 6908 3625
> > Email: dominique.yvon at cea.fr
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
> --
> David Sarrut, Phd
> Directeur de recherche CNRS
> CREATIS, UMR CNRS 5220, Inserm U1294
> Centre de lutte contre le cancer Léon Bérard
> 28 rue Laënnec, 69373 Lyon cedex 08
> Tel : 04 78 78 51 51 / 06 74 72 05 42
> http://dsarrut.github.io <http://www.creatis.insa-lyon.fr/~dsarrut>
> _________________________________
> "2 + 2 = 5, for extremely large values of 2"
> _________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210825/0f48c297/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 25 Aug 2021 17:37:36 +0200
> From: David Sarrut <David.Sarrut at creatis.insa-lyon.fr>
> To: Dominique Yvon <dominique.yvon at cea.fr>
> Cc: gate-users-request at lists.opengatecollaboration.org, gate-users
> <gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Gate-dev looks like broken
> Message-ID:
> <
> CAKTJC4CU6Uwgsboew-Vy6Xr98Wr2FNNm6oohydbJ6Yn9WrpD1Q at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> oups sorry, I just see this email now ;)
>
> On Thu, Aug 19, 2021 at 4:46 PM Dominique Yvon <dominique.yvon at cea.fr>
> wrote:
>
> > Bonjour,
> > Good news, Gate-dev compiles and execute on MacOSX BigSur, when linked
> > with Geant4.10.7.p1.
> > Best regards
> >
> > Dr. Dominique Yvon, HDR
> > CEA Saclay - IRFU/DPHP, Bat 141, PC21, F-91191 Gif sur Yvette Cedex
> > BioMaps, SHFJ, 4 place du général Leclerc, 91401 Orsay France
> > Tél: 01 6908 3625
> > Email: dominique.yvon at cea.fr
> >
> > Le 18 août 2021 à 10:45:51,
> > gate-users-request at lists.opengatecollaboration.org (
> > gate-users-request at lists.opengatecollaboration.org) a écrit:
> >
> > Send Gate-users mailing list submissions to
> > gate-users at lists.opengatecollaboration.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> > or, via email, send a message with subject or body 'help' to
> > gate-users-request at lists.opengatecollaboration.org
> >
> > You can reach the person managing the list at
> > gate-users-owner at lists.opengatecollaboration.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Gate-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Gate-dev looks like broken? (Dominique Yvon)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 18 Aug 2021 11:13:51 +0200
> > From: Dominique Yvon <dominique.yvon at cea.fr>
> > To: gate-users at lists.opengatecollaboration.org
> > Subject: [Gate-users] Gate-dev looks like broken?
> > Message-ID: <etPan.611ccf54.29480def.2d5 at cea.fr>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Good Morning,
> >
> > I am working on MacOSX BigSur
> > I compiled Gate-dev code, yesterday, using Geant4.10.7.p2
> > It worked fine.
> >
> > But when then running
> > > Gate —qt
> >
> > I get : the following report:
> > I attach my ccmake configuration screen.
> > Best
> > Dominique
> >
> > ——————————————— Crash report. ————————
> > [G4-cerr]
> > -------- EEEE ------- G4Exception-START -------- EEEE -------
> > *** G4Exception : PART70001
> > issued by : G4NuclideTable
> > ENSDFSTATE.dat is not found.
> > *** Fatal Exception *** core dump ***
> >
> > *** Break *** segmentation violation
> > [/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so]
> > TUnixSystem::DispatchSignals(ESignals) (no debug info)
> > [/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so]
> > SigHandler(ESignals) (no debug info)
> > [/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] sighandler(int)
> (no
> > debug info)
> > [/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
> > [<unknown binary>] (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4run.dylib]
> > G4ExceptionHandler::Notify(char const*, char const*, G4ExceptionSeverity,
> > char const*) (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4global.dylib]
> > G4Exception(char const*, char const*, G4ExceptionSeverity, char const*)
> (no
> > debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4NuclideTable::GenerateNuclide() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4NuclideTable::G4NuclideTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4NuclideTable::GetNuclideTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4IonTable::G4IonTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4ParticleTable::G4ParticleTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4particles.dylib]
> > G4ParticleTable::GetParticleTable() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4run.dylib]
> > G4RunManagerKernel::G4RunManagerKernel() (no debug info)
> >
> [/Users/yvon/AliBaba/Librairies_CERN/Geant4_V10_7_p2-install/lib/libG4run.dylib]
> > G4RunManager::G4RunManager() (no debug info)
> > [/Users/yvon/AliBaba/Librairies_CERN//Gate/bin/Gate]
> > GateRunManager::GateRunManager() (no debug info)
> > [/Users/yvon/AliBaba/Librairies_CERN//Gate/bin/Gate] main (no debug info)
> > [/usr/lib/system/libdyld.dylib] start (no debug info)
> > ——————————————— Crash report. ————————
> >
> >
> > Dr. Dominique Yvon, HDR
> > CEA Saclay - IRFU/DPHP, Bat 141, PC21, F-91191 Gif sur Yvette Cedex
> > BioMaps, SHFJ, 4 place du général Leclerc, 91401 Orsay France
> > Tél: 01 6908 3625
> > Email: dominique.yvon at cea.fr
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210818/7419695f/attachment.html
> > >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: Capture =?utf-8?Q?d=E2=80=99e=CC=81cran_?=2021-08-18
> > =?utf-8?Q?a=CC=80_?=11.09.46.png
> > Type: image/png
> > Size: 191031 bytes
> > Desc: not available
> > URL: <
> >
> http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210818/7419695f/attachment.png
> > >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> >
> > ------------------------------
> >
> > End of Gate-users Digest, Vol 183, Issue 7
> > ******************************************
> >
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.opengatecollaboration.org
> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>
>
> --
> David Sarrut, Phd
> Directeur de recherche CNRS
> CREATIS, UMR CNRS 5220, Inserm U1294
> Centre de lutte contre le cancer Léon Bérard
> 28 rue Laënnec, 69373 Lyon cedex 08
> Tel : 04 78 78 51 51 / 06 74 72 05 42
> http://dsarrut.github.io <http://www.creatis.insa-lyon.fr/~dsarrut>
> _________________________________
> "2 + 2 = 5, for extremely large values of 2"
> _________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210825/7d026c01/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> ------------------------------
>
> End of Gate-users Digest, Vol 183, Issue 15
> *******************************************
>
--
================================
Mr. Deae-eddine KRIM
Physics department
Laboratory of Physics of Matter and Radiations
Faculty of Sciences, University Mohammed First Oujda Morocco
Bvd Mohamed VI, Oujda
-------------------------------------------------------
Tel: +212 6 36866827
================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210901/e1698db1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.gif
Type: image/gif
Size: 42 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210901/e1698db1/attachment-0001.gif>
More information about the Gate-users
mailing list