[Gate-users] Gate 7.1 compilation error

André Miguel Monteiro ammonteiro at fc.ul.pt
Thu Apr 9 10:51:40 CEST 2015


Dear Alex,

No I haven't made use of geant 4.9.6 version, but 4.10.01. Only in the example they use geant 4.9.6.

Best regards,

André



--------------------------------
MSc Student in Biomedical and Biophysics Engineering at Faculty of Sciences of the University of Lisbon

Institute of Biophysics and Biomedical Engineering
Faculty of Sciences, University of Lisbon
Campo Grande
1749-016 Lisbon

Room Office: 1.02
Extension: 20509
Email: ammonteiro at fc.ul.pt
LinkedIn Profile: http://linkedin.com/in/andremmonteiro
Website: http://www.ibeb.fc.ul.pt/

________________________________________
From: Alex Vergara Gil <alexvergaragil at gmail.com>
Sent: Wednesday, April 8, 2015 12:50 PM
To: André Miguel Monteiro
Cc: Said Kaddouch; Hermann Fuchs; gate-users at lists.opengatecollaboration.org
Subject: Re: [Gate-users] Gate 7.1 compilation error

Dear Andre

I am seeing that you made use of geant4 9.6 version while the
recommended is 10.1, please check this since there must be 10.1 for
compatibility with gate 7.1

Regards
Alex

2015-04-07 15:18 GMT-04:00, André Miguel Monteiro <ammonteiro at fc.ul.pt>:
> Dear Said,
>
>
> I recompiled geant4.10.1 without multi-thread, corrected the error ​that you
> pointed out, but I am still getting the output that is attached in this
> e-mail after typing "make".​
>
>
> What should I do?
>
>
> Thank you for your attention.
>
>
> Best regards,
>
>
> André
>
>
>
> --------------------------------
> MSc Student in Biomedical and Biophysics Engineering at Faculty of Sciences
> of the University of Lisbon
>
> Institute of Biophysics and Biomedical Engineering
> Faculty of Sciences, University of Lisbon
> Campo Grande
> 1749-016 Lisbon
>
> Room Office: 1.02
> Extension: 20509
> Email: ammonteiro at fc.ul.pt
> LinkedIn Profile: http://linkedin.com/in/andremmonteiro
> Website: http://www.ibeb.fc.ul.pt/
>
>
> ________________________________
> From: Said Kaddouch <saidkaddouch at gmail.com>
> Sent: Tuesday, April 7, 2015 5:37 PM
> To: André Miguel Monteiro
> Subject: Re: [Gate-users] Gate 7.1 compilation error
>
>
>
> Dear André
>
>
> I just installed Gate7.1., I solved the problem like this :
>
> Just locate the error file:
> path_to_geant4/geant4/geant4.9.6.p03-install/include/Geant4/G4NeutronHPVector.hh,
> and locate the error line 403: error: ‘__isnan’ is not a member of ‘std’.
> Change the error std::isnan(...) to isnan(...). Then the error disappears.
>
> see the site below.
>
> http://comments.gmane.org/gmane.comp.science.opengate.user/3996
>
>
> good luck
>
>
> 2015-04-07 16:32 GMT+01:00 André Miguel Monteiro
> <ammonteiro at fc.ul.pt<mailto:ammonteiro at fc.ul.pt>>:
> Dear Alex and Hermann,
>
> I have compiled Gate 7.1, after compiling geant4 without multi-threading
> option, using either make -j4 or make and it gives me similar errors at 76%
> and 69%. I am compiling gate with ecat7 and lmf3.0.
>
> Attached I am sending the full output of gate 7.1 compilation with make
> -j4.
>
> Thank you in advance.
>
> Best regards,
>
> André Miguel Monteiro
>
>
>
> --------------------------------
> MSc Student in Biomedical and Biophysics Engineering at Faculty of Sciences
> of the University of Lisbon
>
> Institute of Biophysics and Biomedical Engineering
> Faculty of Sciences, University of Lisbon
> Campo Grande
> 1749-016 Lisbon
>
> Room Office: 1.02
> Extension: 20509
> Email: ammonteiro at fc.ul.pt<mailto:ammonteiro at fc.ul.pt>
> LinkedIn Profile: http://linkedin.com/in/andremmonteiro
> Website: http://www.ibeb.fc.ul.pt/
>
> ________________________________________
> From: Alex Vergara Gil
> <alexvergaragil at gmail.com<mailto:alexvergaragil at gmail.com>>
> Sent: Monday, April 6, 2015 9:31 PM
> To: Hermann Fuchs
> Cc: André Miguel Monteiro;
> gate-users at lists.opengatecollaboration.org<mailto:gate-users at lists.opengatecollaboration.org>
> Subject: Re: [Gate-users] Gate 7.1 compilation error
>
> "Gate does not support multiple threads."
> I am not agree. I make -j 8 with gate 7.1 with just a few warnings!
> Andrè shall put more info on his request to know better.
>
> Regards
> Alex
>
> 2015-04-06 14:53 GMT-04:00, Hermann Fuchs
> <hermann.fuchs at meduniwien.ac.at<mailto:hermann.fuchs at meduniwien.ac.at>>:
>> Hi,
>>
>> did you compile Gate with more than one thread?
>> Gate does not support multiple threads. Try compiling Gate with make.
>>
>> Cheers,
>> Hermann
>>
>> Am 6. April 2015 18:44:45 MESZ, schrieb "André Miguel Monteiro"
>> <ammonteiro at fc.ul.pt<mailto:ammonteiro at fc.ul.pt>>:
>>>Dear Gate users,
>>>
>>>
>>>I am trying to compile Gate 7.1, but I am getting the following error:
>>>
>>>
>>>[ 76%] Building CXX object
>>>CMakeFiles/Gate.dir/source/physics/src/GateNeutronInelasticPB.cc.o
>>>make[2]: *** [CMakeFiles/Gate.dir/source/physics/src/GateVSource.cc.o]
>>>Error 1
>>>make[2]: *** Waiting for unfinished jobs....
>>>make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
>>>make: *** [all] Error 2?
>>>
>>>Do you what could be the problem?
>>>
>>>Thank you for your attention.
>>>
>>>Best regards,
>>>
>>>André Monteiro
>>>
>>>
>>>
>>>
>>>
>>>--------------------------------
>>>MSc Student in Biomedical and Biophysics Engineering at Faculty of
>>>Sciences of the University of Lisbon
>>>
>>>Institute of Biophysics and Biomedical Engineering
>>>Faculty of Sciences, University of Lisbon
>>>Campo Grande
>>>1749-016 Lisbon
>>>
>>>Room Office: 1.02
>>>Extension: 20509
>>>Email: ammonteiro at fc.ul.pt<mailto:ammonteiro at fc.ul.pt>
>>>LinkedIn Profile: http://linkedin.com/in/andremmonteiro
>>>Website: http://www.ibeb.fc.ul.pt/
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Gate-users mailing list
>>>Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
>>>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
>


More information about the Gate-users mailing list