This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:geant4 [2024/11/11 10:39] msovara |
howto:geant4 [2024/11/12 09:49] (current) msovara [About Geant4] |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Geant4 [[https:// | Geant4 [[https:// | ||
| - | On LENGAU, | + | On LENGAU, |
| module avail 2>&1 | grep -i geant4 | module avail 2>&1 | grep -i geant4 | ||
| module load chpc/ | module load chpc/ | ||
| - | . | ||
| - | . | ||
| # Run Geant4 | # Run Geant4 | ||
| ./mygeant4 | ./mygeant4 | ||
| - | =====Batch | + | =====Batch |
| This is just a simple example which will be improved as testing commences: | This is just a simple example which will be improved as testing commences: | ||
| <file bash geant4.qsub> | <file bash geant4.qsub> | ||
| Line 32: | Line 30: | ||
| cd $PBS_JOBDIR | cd $PBS_JOBDIR | ||
| nproc=`cat $PBS_NODEFILE | wc -l` | nproc=`cat $PBS_NODEFILE | wc -l` | ||
| - | exe=root | + | exe=geant4 |
| - | mpirun | + | mpirun -np $nproc |
| </ | </ | ||
| + | |||
| + | Instructions on how to create and submit a batch job will follow as collaborative testing commences... | ||