Updated: 15 September 2024
...
Note |
---|
As of 10 September 2024, there is a connection issue between transfer.lanta.nstda.or.th and https://cern.ch/.Therefore, G4DATA was previously downloaded by ThaiSC admin and temporarily made available at |
...
Code Block | ||
---|---|---|
| ||
mkdir $HOME/Applications/shellScripts cd $HOME/Applications/shellScripts cat << Eof > topas #!/bin/bash module purge module load expat/2.5.0 module load X11/20231019-cpeCray-23.03 module load libGLU/9.0.3-cpeCray-23.03 module load HarfBuzz/8.2.2-cpeCray-23.03 export TOPAS_G4_DATA_DIR=$HOME/Applications/GEANT4/G4DATA export LD_LIBRARY_PATH=$HOME/Applications/TOPAS/OpenTOPAS-install/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$HOME/Applications/GEANT4/geant4-install/lib:$LD_LIBRARY_PATH $HOME/Applications/TOPAS/OpenTOPAS-install/bin/topas $1 Eof chomdchmod +x topas echo 'export PATH=~/Applications/shellScripts:$PATH' >> $HOME/.bashrc source $HOME/.bashrc |
9. Run OpenTOPAS on LANTA
...
Two approaches for running OpenTOPAS on LANTA are presented below.
...
.
A. Batch job
This first approach, using a job script and sbatch
command, is recommended. For performance reasons, every graphic option, Gr/*/
, should be disabled, please visit https://opentopas.readthedocs.io/en/latest/parameters/graphics.html for complete details.
...
(Also see https://thaisc.atlassian.net/wiki/spaces/LANTA/pages/447021064/Quick+Start+Guide#6.-Running-your-job)
B. Interactive session
This second approach can be useful. However, this method is not recommended if your internet connection is poor or you have to run topas
for a long time.
You can directly access LANTA computing nodes by requesting request an interactive session . For by executing, for example, execute
Code Block | ||
---|---|---|
| ||
sinteract -p compute -c 16 -t 06:00:00 |
(You could add -X
option to enable X11 forwarding for OpenGL/graphic features. Please visit Interactive session and https://opentopas.readthedocs.io/en/latest/parameters/graphics.html before using this capability.)
After the requested resources are allocated, you can use this session to run topas
and interactively execute commands afterwards. For example,
Code Block | ||
---|---|---|
| ||
topas $HOME/Applications/TOPAS/OpenTOPAS-install/examples/Basic/TwoBeams.txt |
...
Contact Us
ThaiSC support service : thaisc-support@nstda.or.th
...