User Tools

Site Tools


howto:pythia8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:pythia8 [2024/11/11 10:27]
msovara
howto:pythia8 [2024/11/11 10:55] (current)
msovara [About Pythia8]
Line 6: Line 6:
   module avail 2>&1 | grep -i pythia   module avail 2>&1 | grep -i pythia
   module load chpc/phys/pythia8/8.309-gcc13   module load chpc/phys/pythia8/8.309-gcc13
-  . 
-  . 
   # Run Pythia   # Run Pythia
   ./mypythia   ./mypythia
      
 +=====Batch Script Example=====
 +This is just a simple example which will be improved as testing commences: 
 +<file bash pythia8.qsub>
 +#!/bin/bash 
 +#PBS -P projectid
 +#PBS -l select=3:ncpus=24:mpiprocs=24:nodetype=haswell_reg
 +#PBS -q normal
 +#PBS -l walltime=01:00:00
 +#PBS -o /mnt/lustre/users/username/rootJobs/job01/stdout
 +#PBS -e /mnt/lustre/users/username/rootJobs/job01/stderr
 +#PBS -m abe
 +#PBS -M username@email.co.za
 +### Load the Pythia8 environment:
 +module load chpc/phys/pythia8/8.309-gcc13
 +##### Running commands
 +# Set this environment variable explicitly.
 +export PBS_JOBDIR=/mnt/lustre/users/username/rootJobs/job01
 +# Explicitly change to the job directory
 +cd $PBS_JOBDIR
 +nproc=`cat $PBS_NODEFILE | wc -l`
 +exe=pythia8
 +mpirun -np $nproc ./exe > pythia.out
 +</file>
      
- Instructions on how to create and submit a batch job will follow as collaborative testing commences...+Instructions on how to create and submit a batch job will follow as collaborative testing commences...
  
  
  
/app/dokuwiki/data/attic/howto/pythia8.1731313664.txt.gz · Last modified: 2024/11/11 10:27 by msovara