/
OpenTOPAS (Batch, Intel) on LANTA

OpenTOPAS (Batch, Intel) on LANTA

Updated: 20 September 2024


This guide is largely derived from https://opentopas.readthedocs.io/en/latest/getting-started/Debian.html#. It is recommended to visit the page for more detailed explanation of each [Step X] .

1. Load required modules and set environment variables [Step 1-4]

Paste the below lines into your terminal. (Do NOT put these directly in ~/.bashrc.)

module purge module load CMake/3.26.4 module load expat/2.5.0 module load cpeIntel/23.09 export CC=cc CXX=CC FC=ftn F77=ftn F90=ftn

2. Download Geant4 [Step 5]

mkdir $HOME/Applications mkdir $HOME/Applications/GEANT4 cd $HOME/Applications/GEANT4 wget https://gitlab.cern.ch/geant4/geant4/-/archive/v11.1.3/geant4-v11.1.3.tar.gz tar -zxf geant4-v11.1.3.tar.gz

3. Install Geant4 [Step 7]

cd $HOME/Applications/GEANT4/ rm -rf geant4-install geant4-build mkdir geant4-{build,install} cd geant4-build cmake ../geant4-v11.1.3 -DGEANT4_INSTALL_DATA=OFF -DGEANT4_BUILD_MULTITHREADED=ON -DCMAKE_INSTALL_PREFIX=../geant4-install -DGEANT4_USE_QT=OFF -DGEANT4_USE_OPENGL_X11=OFF -DGEANT4_USE_RAYTRACER_X11=OFF make -j8 install cd $HOME/Applications/GEANT4/geant4-install ln -s lib64 lib
  • -DCMAKE_PREFIX_PATH=/usr/lib/qt5 -DGEANT4_USE_QT=ON is changed to -DGEANT4_USE_QT=OFF.

  • -DGEANT4_USE_OPENGL_X11=OFF -DGEANT4_USE_RAYTRACER_X11=OFF

  • /geant4-install/lib is symbolically linked to /geant4-install/lib64.

4. Download G4DATA [Step 6]

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 /project/common/G4DATA.

5. Download OpenTOPAS [Step 8.1]

6. Install GDCM [Step 8.2-8.3]

7. Install OpenTOPAS [Step 8.4]

8. Run OpenTOPAS on LANTA

For performance reasons, every graphic option, Gr/*/, should be disabled, please visit https://opentopas.readthedocs.io/en/latest/parameters/graphics.html for complete details.

Below is a template of OpenTOPAS job script. It can be created using vi submitTOPAS.sh. Edit it to meet your demands.

To submit this job script to the SLURM queuing system, execute

(Also see Quick Start Guide | 6. Running your job)


Contact Us
ThaiSC support service : thaisc-support@nstda.or.th

 

Related content

Software installation guideline
Software installation guideline
More like this
Using GROMACS on LANTA
Using GROMACS on LANTA
More like this
Introduction to LANTA HPC
Introduction to LANTA HPC
More like this
Using Quantum Espresso on LANTA
Using Quantum Espresso on LANTA
More like this
การรัน Python Script บน LANTA โดยใช้โปรแกรม Apptainer
การรัน Python Script บน LANTA โดยใช้โปรแกรม Apptainer
More like this
TARA User Guide
TARA User Guide
More like this