<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.sharcnet.ca/help/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Asobhani</id>
		<title>Documentation - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.sharcnet.ca/help/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Asobhani"/>
		<link rel="alternate" type="text/html" href="https://www.sharcnet.ca/help/index.php/Special:Contributions/Asobhani"/>
		<updated>2026-04-09T21:38:43Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.2</generator>

	<entry>
		<id>https://www.sharcnet.ca/help/index.php?title=File:Armin_Headshot.jpg&amp;diff=17601</id>
		<title>File:Armin Headshot.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.sharcnet.ca/help/index.php?title=File:Armin_Headshot.jpg&amp;diff=17601"/>
				<updated>2019-03-01T16:49:43Z</updated>
		
		<summary type="html">&lt;p&gt;Asobhani: Armin Sobhani Headshot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Armin Sobhani Headshot&lt;/div&gt;</summary>
		<author><name>Asobhani</name></author>	</entry>

	<entry>
		<id>https://www.sharcnet.ca/help/index.php?title=GEANT4&amp;diff=17070</id>
		<title>GEANT4</title>
		<link rel="alternate" type="text/html" href="https://www.sharcnet.ca/help/index.php?title=GEANT4&amp;diff=17070"/>
				<updated>2018-11-21T20:16:06Z</updated>
		
		<summary type="html">&lt;p&gt;Asobhani: /* Usage on graham and cedar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software&lt;br /&gt;
|package_name=GEANT4&lt;br /&gt;
|package_description=Suite of programs for the simulation of the passage of particles through matter&lt;br /&gt;
|package_idnumber=59&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. &lt;br /&gt;
&lt;br /&gt;
=Usage on graham and cedar=&lt;br /&gt;
&lt;br /&gt;
Geant4 is installed as a module on cedar and graham.&lt;br /&gt;
&lt;br /&gt;
To see which versions are available, execute:&lt;br /&gt;
&lt;br /&gt;
 module avail geant4&lt;br /&gt;
&lt;br /&gt;
To then use a particular version, execute for example:&lt;br /&gt;
&lt;br /&gt;
 module load geant4/10.02.p03&lt;br /&gt;
&lt;br /&gt;
After you load the module, you can see where the software is installed by executing:&lt;br /&gt;
&lt;br /&gt;
 echo $EBROOTGEANT4&lt;br /&gt;
&lt;br /&gt;
To see the useful examples included with the version we have loaded, execute:&lt;br /&gt;
&lt;br /&gt;
 ls $EBROOTGEANT4/share/Geant4-10.2.3/examples&lt;br /&gt;
&lt;br /&gt;
Consider the AnaEx01 example as follows:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/samples/geant4/test-100202&lt;br /&gt;
 cd ~/samples/geant4/test-100202&lt;br /&gt;
 module load geant4/10.02.p03&lt;br /&gt;
 cp -r $EBROOTGEANT4/share/Geant4-10.2.3/examples/extended/analysis/AnaEx01 .&lt;br /&gt;
 source $EBROOTGEANT4/share/Geant4-10.2.3/geant4make/geant4make.sh&lt;br /&gt;
 cd AnaEx01&lt;br /&gt;
 mkdir build&lt;br /&gt;
 cd build&lt;br /&gt;
 cmake ..&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This creates the executable ''AnaEx01'' in the current (build) folder. You can run it by:&lt;br /&gt;
&lt;br /&gt;
 ./AnaEx01&lt;br /&gt;
&lt;br /&gt;
You run this executable and enter &amp;quot;help&amp;quot; for the available actions.&lt;br /&gt;
&lt;br /&gt;
Once the binary runs interactively as desired you can submit it as a job. (see [https://docs.computecanada.ca/wiki/Running_jobs Running jobs] page).&lt;br /&gt;
&lt;br /&gt;
=Usage on older SHARCNET systems=&lt;br /&gt;
&lt;br /&gt;
SHARCNET provides a build of geant4 on sharcnet CentOS clusters .&lt;br /&gt;
&lt;br /&gt;
Geant4 comes with many examples useful for testing purposes:&lt;br /&gt;
&lt;br /&gt;
 [roberpj@vdi-centos6:/opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis] ls &lt;br /&gt;
 AnaEx01  AnaEx02  AnaEx03  B1Con  CMakeLists.txt  History  README  shared&lt;br /&gt;
&lt;br /&gt;
==Interactive==&lt;br /&gt;
&lt;br /&gt;
Consider the AnaEx01 example as follows:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/samples/geant4/test-100202&lt;br /&gt;
 cd ~/samples/geant4/test-100202&lt;br /&gt;
 module unload intel&lt;br /&gt;
 module load ldwrapper gcc/4.9.3 geant4/10.02.02&lt;br /&gt;
 cp -r /opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis/AnaEx01 .&lt;br /&gt;
 source geant4make.sh&lt;br /&gt;
 cd AnaEx01&lt;br /&gt;
 gmake clean_setup&lt;br /&gt;
 gmake setup&lt;br /&gt;
 gmake&lt;br /&gt;
&lt;br /&gt;
where ...&lt;br /&gt;
 [roberpj@vdi-centos6:~/samples/geant4/test-100202/AnaEx01] which AnaEx01 &lt;br /&gt;
 ~/geant4_workdir/bin/Linux-g++/AnaEx01&lt;br /&gt;
&lt;br /&gt;
To run the binary do:&lt;br /&gt;
&lt;br /&gt;
 [roberpj@vdi-centos6:~/samples/geant4/test-100202/AnaEx01] AnaEx01&lt;br /&gt;
 Idle&amp;gt; help&lt;br /&gt;
 Command directory path : /&lt;br /&gt;
 Sub-directories : &lt;br /&gt;
 1) /control/   UI control commands.&lt;br /&gt;
 2) /units/   Available units.&lt;br /&gt;
 3) /process/   Process Table control commands.&lt;br /&gt;
 4) /analysis/   ...Title not available...&lt;br /&gt;
 5) /particle/   Particle control commands.&lt;br /&gt;
 6) /geometry/   Geometry control commands.&lt;br /&gt;
 7) /tracking/   TrackingManager and SteppingManager control commands.&lt;br /&gt;
 8) /event/   EventManager control commands.&lt;br /&gt;
 9) /cuts/   Commands for G4VUserPhysicsList.&lt;br /&gt;
 10) /run/   Run control commands.&lt;br /&gt;
 11) /random/   Random number status control commands.&lt;br /&gt;
 12) /material/   Commands for materials&lt;br /&gt;
 13) /N03/   UI commands of this example&lt;br /&gt;
 14) /physics_lists/   commands related to the physics simulation engine.&lt;br /&gt;
 15) /gun/   Particle Gun control commands.&lt;br /&gt;
 16) /heptst/   Controls for the hadronic energy/momentum test&lt;br /&gt;
 17) /physics_engine/   ...Title not available...&lt;br /&gt;
 18) /vis/   Visualization commands.&lt;br /&gt;
 Commands : &lt;br /&gt;
 Type the number ( 0:end, -n:n level back ) :&lt;br /&gt;
&lt;br /&gt;
==Cluster==&lt;br /&gt;
&lt;br /&gt;
Once the binary runs interactively as desired submit it to the serial queue:&lt;br /&gt;
&lt;br /&gt;
 sqsub -q serial -r 5m -o file.%J ~/geant4_workdir/bin/Linux-g++/AnaEx01&lt;br /&gt;
&lt;br /&gt;
==Graphical==&lt;br /&gt;
&lt;br /&gt;
None at this time.&lt;br /&gt;
&lt;br /&gt;
=Notes=&lt;br /&gt;
&lt;br /&gt;
None at this time.&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
o Geant4 Homepage&amp;lt;br&amp;gt;&lt;br /&gt;
http://geant4.web.cern.ch/geant4/&lt;br /&gt;
&lt;br /&gt;
o Online User Documentation&amp;lt;br&amp;gt;&lt;br /&gt;
http://geant4.web.cern.ch/geant4/support/userdocuments.shtml&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--checked2015--&amp;gt;&lt;br /&gt;
&amp;lt;!--checked by looking at the directory /opt/sharcnet/geant4 it's still 9.6.1 (on orca)--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Asobhani</name></author>	</entry>

	<entry>
		<id>https://www.sharcnet.ca/help/index.php?title=GEANT4&amp;diff=17049</id>
		<title>GEANT4</title>
		<link rel="alternate" type="text/html" href="https://www.sharcnet.ca/help/index.php?title=GEANT4&amp;diff=17049"/>
				<updated>2018-11-20T18:17:27Z</updated>
		
		<summary type="html">&lt;p&gt;Asobhani: /* Usage on graham and cedar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software&lt;br /&gt;
|package_name=GEANT4&lt;br /&gt;
|package_description=Suite of programs for the simulation of the passage of particles through matter&lt;br /&gt;
|package_idnumber=59&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. &lt;br /&gt;
&lt;br /&gt;
=Usage on graham and cedar=&lt;br /&gt;
&lt;br /&gt;
Geant4 is installed as a module on cedar and graham.&lt;br /&gt;
&lt;br /&gt;
To see which versions are available, execute:&lt;br /&gt;
&lt;br /&gt;
 module avail geant4&lt;br /&gt;
&lt;br /&gt;
To then use a particular version, execute for example:&lt;br /&gt;
&lt;br /&gt;
 module load geant4/10.02.p03&lt;br /&gt;
&lt;br /&gt;
After you load the module, you can see where the software is installed by executing:&lt;br /&gt;
&lt;br /&gt;
 echo $EBROOTGEANT4&lt;br /&gt;
&lt;br /&gt;
To see the useful examples included with the version we have loaded, execute:&lt;br /&gt;
&lt;br /&gt;
 ls $EBROOTGEANT4/share/Geant4-10.2.3/examples&lt;br /&gt;
&lt;br /&gt;
Consider the AnaEx01 example as follows:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/samples/geant4/test-100202&lt;br /&gt;
 cd ~/samples/geant4/test-100202&lt;br /&gt;
 module load geant4/10.02.p03&lt;br /&gt;
 cp -r $EBROOTGEANT4/share/Geant4-10.2.3/examples/extended/analysis/AnaEx01 .&lt;br /&gt;
 cd AnaEx01&lt;br /&gt;
 mkdir build&lt;br /&gt;
 cd build&lt;br /&gt;
 cmake ..&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This creates the executable ''AnaEx01'' in the current (build) folder. You can run it by:&lt;br /&gt;
&lt;br /&gt;
 ./AnaEx01&lt;br /&gt;
&lt;br /&gt;
You run this executable and enter &amp;quot;help&amp;quot; for the available actions.&lt;br /&gt;
&lt;br /&gt;
Once the binary runs interactively as desired you can submit it as a job. (see [https://docs.computecanada.ca/wiki/Running_jobs Running jobs] page).&lt;br /&gt;
&lt;br /&gt;
=Usage on older SHARCNET systems=&lt;br /&gt;
&lt;br /&gt;
SHARCNET provides a build of geant4 on sharcnet CentOS clusters .&lt;br /&gt;
&lt;br /&gt;
Geant4 comes with many examples useful for testing purposes:&lt;br /&gt;
&lt;br /&gt;
 [roberpj@vdi-centos6:/opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis] ls &lt;br /&gt;
 AnaEx01  AnaEx02  AnaEx03  B1Con  CMakeLists.txt  History  README  shared&lt;br /&gt;
&lt;br /&gt;
==Interactive==&lt;br /&gt;
&lt;br /&gt;
Consider the AnaEx01 example as follows:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/samples/geant4/test-100202&lt;br /&gt;
 cd ~/samples/geant4/test-100202&lt;br /&gt;
 module unload intel&lt;br /&gt;
 module load ldwrapper gcc/4.9.3 geant4/10.02.02&lt;br /&gt;
 cp -r /opt/sharcnet/geant4/10.02.02/share/Geant4-10.2.2/examples/extended/analysis/AnaEx01 .&lt;br /&gt;
 source geant4make.sh&lt;br /&gt;
 cd AnaEx01&lt;br /&gt;
 gmake clean_setup&lt;br /&gt;
 gmake setup&lt;br /&gt;
 gmake&lt;br /&gt;
&lt;br /&gt;
where ...&lt;br /&gt;
 [roberpj@vdi-centos6:~/samples/geant4/test-100202/AnaEx01] which AnaEx01 &lt;br /&gt;
 ~/geant4_workdir/bin/Linux-g++/AnaEx01&lt;br /&gt;
&lt;br /&gt;
To run the binary do:&lt;br /&gt;
&lt;br /&gt;
 [roberpj@vdi-centos6:~/samples/geant4/test-100202/AnaEx01] AnaEx01&lt;br /&gt;
 Idle&amp;gt; help&lt;br /&gt;
 Command directory path : /&lt;br /&gt;
 Sub-directories : &lt;br /&gt;
 1) /control/   UI control commands.&lt;br /&gt;
 2) /units/   Available units.&lt;br /&gt;
 3) /process/   Process Table control commands.&lt;br /&gt;
 4) /analysis/   ...Title not available...&lt;br /&gt;
 5) /particle/   Particle control commands.&lt;br /&gt;
 6) /geometry/   Geometry control commands.&lt;br /&gt;
 7) /tracking/   TrackingManager and SteppingManager control commands.&lt;br /&gt;
 8) /event/   EventManager control commands.&lt;br /&gt;
 9) /cuts/   Commands for G4VUserPhysicsList.&lt;br /&gt;
 10) /run/   Run control commands.&lt;br /&gt;
 11) /random/   Random number status control commands.&lt;br /&gt;
 12) /material/   Commands for materials&lt;br /&gt;
 13) /N03/   UI commands of this example&lt;br /&gt;
 14) /physics_lists/   commands related to the physics simulation engine.&lt;br /&gt;
 15) /gun/   Particle Gun control commands.&lt;br /&gt;
 16) /heptst/   Controls for the hadronic energy/momentum test&lt;br /&gt;
 17) /physics_engine/   ...Title not available...&lt;br /&gt;
 18) /vis/   Visualization commands.&lt;br /&gt;
 Commands : &lt;br /&gt;
 Type the number ( 0:end, -n:n level back ) :&lt;br /&gt;
&lt;br /&gt;
==Cluster==&lt;br /&gt;
&lt;br /&gt;
Once the binary runs interactively as desired submit it to the serial queue:&lt;br /&gt;
&lt;br /&gt;
 sqsub -q serial -r 5m -o file.%J ~/geant4_workdir/bin/Linux-g++/AnaEx01&lt;br /&gt;
&lt;br /&gt;
==Graphical==&lt;br /&gt;
&lt;br /&gt;
None at this time.&lt;br /&gt;
&lt;br /&gt;
=Notes=&lt;br /&gt;
&lt;br /&gt;
None at this time.&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
o Geant4 Homepage&amp;lt;br&amp;gt;&lt;br /&gt;
http://geant4.web.cern.ch/geant4/&lt;br /&gt;
&lt;br /&gt;
o Online User Documentation&amp;lt;br&amp;gt;&lt;br /&gt;
http://geant4.web.cern.ch/geant4/support/userdocuments.shtml&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--checked2015--&amp;gt;&lt;br /&gt;
&amp;lt;!--checked by looking at the directory /opt/sharcnet/geant4 it's still 9.6.1 (on orca)--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Asobhani</name></author>	</entry>

	</feed>