[Gate-users] GATE (config/architecture.gmk)

rachid ayad rayad at ut.edu.sa
Mon May 1 08:56:15 CEST 2017


 Also I add to what Paulo said. that you can check that your geant4
environmental variables are set by checking for example if G4INSTALL and/or
G4SYSTEM are set: "echo $G4INSTALL" .

Rachid


On Mon, May 1, 2017 at 1:42 AM, Paulo Caribé <Paulo.Caribe at ugent.be> wrote:

> Dear Manh Cam,
>
> Before hacking by hand the installation scripts, please verify that your
> environment is correctly set when you build your application (It is missing
> a letter “*t*"  …/gean”*t*"4make/… )or example (i.e.- G4INSTALL and
> G4SYSTEM must be set in your environment). If you used the Configure script
> to install the G4 libraries, you should source env.csh (or env.sh)
> generated scripts -before- start
> using Geant4.
>
> *bash:
> /home/manhcam0510/geant4/geant4.10.01.p03-install/share/Geant4-10.1.3/geant4make/geant4make.sh:
> No such file or directory*
>
>
> Try that:
> 1 -  Type it (new terminal): gedit ~/.bashrc
> 2 - In the end of file typing it:
>
> source /home/manhcam0510/geant4/geant4.10.01.p03-install/
> share/Geant4-10.1.3/geant4make/geant4make.sh
> source /home/manhcam0510/geant4/geant4.10.01.p03-install/bin/geant4sh
>
> 3 - Save and try to run again.
>
> Cheers
> Paulo Caribé
>
>
>
> On 30 Apr 2017, at 21:26, Mạnh Cầm Nguyễn <nguyenmanhcam.9a2 at gmail.com>
> wrote:
>
> Dear Mr. Paulo, Mr. Rachid, and Gate users,
>
> I think I have a problem somewhat like Mr. Paulo's problem. When I try to
> run the example B1 on geant4, there is an error:
> *bash:
> /home/manhcam0510/geant4/geant4.10.01.p03-install/share/Geant4-10.1.3/gean4make/geant4make.sh:
> No such file or directory*
> though I check it carefully that the directory and the file are right there.
> I don't know how to fix it, so I run "make" anyway, then I have a problem
> quite similar to Mr. Paulo's problem. Only in my case, the file is binmake.gmk.
> *The errors are in the screenshot image attached with this email*
>
> Can somebody show me how to fix it?? And if you can, please show it
> clearly because I'm a beginner on Gate. I'll be very grateful. And since
> I'm a beginner, please pardon me if I ask something silly.
>
> Thanks in advance.
> Manh Cam.
>
>
>
>
>
> Nguyễn Mạnh Cầm
> Undergraduate Student
> Department of Nuclear Physics & Engineering
> Faculty of Physics & Engineering Physics
> University of Science, VNU-HCM, Ho Chi Minh City, Vietnam
> Telephone: 0968 922 796
>
> On Sun, Apr 30, 2017 at 11:00 PM, Paulo Caribé <Paulo.Caribe at ugent.be>
> wrote:
>
>> Dear Rachid,
>>
>> Thanks for the quick answer. I had updated my environment variable files
>> only with the following command line:
>> “source usr/local/geant4/geant4.10.02-instal/bin/geant4.sh” But now,
>> everything is OK!
>>
>> Thanks again
>> Cheers
>> Paulo
>>
>>
>> On 29 Apr 2017, at 08:58, "rachid ayad" <rayad at ut.edu.sa> wrote:
>>
>>
>> Dear Paulo, Maybe you did source geant4make.sh which is found in the
>> install directory (set when you build geant4) and therefore your Geant4
>> environmental variables are not set.
>> For me I put in my .bashrc a line: "source /usr/local/share/Geant4-10.2.2/geant4make/geant4make.sh"
>>
>>
>> Then for me $G4INSTALL is set to /usr/local/share/Geant4-10.2.2/geant4make
>> .
>> Then when you "make", the program (GNUmakefile, in the
>> .../example/basic/B1 directory) will use any *.gmk found in
>> $G4INSTALL/config :
>>
>> ********************************
>> analysis.gmk      binmake.gmk   common.gmk      G4UI_USE.gmk
>> G4VIS_USE.gmk  globlib.gmk        moc.gmk
>> architecture.gmk  binmake.gmk~  G4UI_BUILD.gmk  G4VIS_BUILD.gmk
>> geomconf.gmk   interactivity.gmk  sys
>> ****************************
>>
>> Thank you, Rachid
>>
>>
>>
>> On Sat, Apr 29, 2017 at 2:39 AM, Paulo Caribé <Paulo.Caribe at ugent.be>
>> wrote:
>>
>>> Hi Gate-Users,
>>>
>>> I was installing the GATE7.2 on Ubuntu 16.04 (MacBook-Pro (2.9GHz Core
>>> i5 - 8GB DDR3) dual boot OS X EL Capitan and Ubuntu 16.04), when I have got
>>> this problem. I Installed GEANT4.10.02 successfully, but when I tried to
>>> make example B1 to test I receive the following:
>>> (please, see attachment)
>>>
>>> ../../../config/architecture.gmk:408: ../../../config/sys/.gmk: No such file or directory
>>> make: *** No rule to make target `../../../config/sys/.gmk'.  Stop.
>>>
>>> It was first time that I got this kind of problem with this
>>> configuration (dual boot). So can somebody tell me what is wrong?
>>> Thanks a lot for any help.
>>> Paulo
>>>
>>> <Screenshot from 2017-04-29 00-33-21.png>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Gate-users mailing list
>>> Gate-users at lists.opengatecollaboration.org
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>
>>
>>
>>
>> --
>> Dr. Rachid Ayad
>> Department of Physics, Faculty of Science
>> University Of Tabuk
>> P.O. Box 2072
>> Tabuk 71451
>> Kingdom Of Saudi Arabia
>> Tel: +966560296632
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------------------------------------------------
>> ------------------------------------------------------------
>> ------------------------------------------------------------
>> ---------------------------
>>
>> هذه الرسالة و مرفقاتها (إن وجدت) تمثل وثيقة سرية قد تحتوي على معلومات
>> تتمتع بحماية وحصانة قانونية . إذا لم تكن الشخص المعني بهذه الرسالة يجب عليك
>> تنبيه المُرسل بخطأ وصولها إليك، و حذف الرسالة و مرفقاتها (إن وجدت) من
>> الحاسب الآلي الخاص بك. ولا يجوز لك نسخ هذه الرسالة أو مرفقاتها (إن وجدت) أو
>> أي جزئ منها، أو البوح بمحتوياتها لأي شخص أو استعمالها لأي غرض . علماً بأن
>> الإفادات و الآراء التي تحويها هذه الرسالة تعبر فقط عن رأي المُرسل و ليس
>> بالضرورة رأي جامعة تبوك  . ولا تتحمل جامعة تبوك أي مسئولية عن الأضرار
>> الناتجة عن أي فيروسات قد يحملها هذ البريد.
>>
>> This message and its attachment, if any, are confidential and may contain
>> legally privileged information. If you are not the intended recipient,
>> please contact the sender immediately and delete this message and its
>> attachment , if any, from your system. You should not copy this message or
>> disclose its contents to any other person or use it for any purpose.
>> Statements and opinions expressed in this e-mail are those of the sender,
>> and do not necessarily reflect those of University of Tabuk. University of
>> Tabuk Accepts no liability for any damage caused by any virus transmitted
>> by this email.
>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
> <Screenshot from 2017-05-01 01-51-15.png>
>
>
>


-- 
Dr. Rachid Ayad
Department of Physics, Faculty of Science
University Of Tabuk
P.O. Box 2072
Tabuk 71451
Kingdom Of Saudi Arabia
Tel: +966560296632

-- 


------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
---------------------------

هذه الرسالة و مرفقاتها (إن وجدت) تمثل وثيقة سرية قد تحتوي على معلومات تتمتع 
بحماية وحصانة قانونية . إذا لم تكن الشخص المعني بهذه الرسالة يجب عليك تنبيه 
المُرسل بخطأ وصولها إليك، و حذف الرسالة و مرفقاتها (إن وجدت) من الحاسب 
الآلي الخاص بك. ولا يجوز لك نسخ هذه الرسالة أو مرفقاتها (إن وجدت) أو أي جزئ 
منها، أو البوح بمحتوياتها لأي شخص أو استعمالها لأي غرض . علماً بأن الإفادات 
و الآراء التي تحويها هذه الرسالة تعبر فقط عن رأي المُرسل و ليس بالضرورة رأي 
جامعة تبوك  . ولا تتحمل جامعة تبوك أي مسئولية عن الأضرار الناتجة عن أي 
فيروسات قد يحملها هذ البريد.

This message and its attachment, if any, are confidential and may contain 
legally privileged information. If you are not the intended recipient, 
please contact the sender immediately and delete this message and its 
attachment , if any, from your system. You should not copy this message or 
disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail are those of the sender, 
and do not necessarily reflect those of University of Tabuk. University of 
Tabuk Accepts no liability for any damage caused by any virus transmitted 
by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170501/3c339434/attachment-0001.html>


More information about the Gate-users mailing list