Skip to content

Commit

Permalink
Add missing script, fix build (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
StewMH committed May 14, 2024
1 parent 6930b5e commit 3a6b0b2
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions ubuntu2204_rocm_clang/download_geant4_data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash
set -e

data_dir=/usr/local/share/Geant4-10.6.1/data

mkdir $data_dir
cd $data_dir


function dl {
url=$1
echo "Downloading $url"
curl --location $url | tar -xz
}

dl https://geant4-data.web.cern.ch/datasets/G4NDL.4.6.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4EMLOW.7.9.1.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4PhotonEvaporation.5.5.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4RadioactiveDecay.5.4.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4PARTICLEXS.2.1.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4PII.1.3.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4RealSurface.2.1.1.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4SAIDDATA.2.0.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4ABLA.3.1.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4INCL.1.0.tar.gz
dl https://geant4-data.web.cern.ch/datasets/G4ENSDFSTATE.2.2.tar.gz

0 comments on commit 3a6b0b2

Please sign in to comment.