This shows you the differences between two versions of the page.
|
howto:root [2024/11/11 10:06] msovara created |
howto:root [2024/11/11 13:33] (current) msovara [Batch Scripts Example] |
||
|---|---|---|---|
| Line 50: | Line 50: | ||
| #PBS -m abe | #PBS -m abe | ||
| #PBS -M username@email.co.za | #PBS -M username@email.co.za | ||
| - | ### Source | + | ### Activate |
| - | . / | + | conda activate root_env |
| ##### Running commands | ##### Running commands | ||
| # Set this environment variable explicitly. | # Set this environment variable explicitly. | ||
| Line 59: | Line 59: | ||
| nproc=`cat $PBS_NODEFILE | wc -l` | nproc=`cat $PBS_NODEFILE | wc -l` | ||
| exe=root | exe=root | ||
| - | mpirun | + | mpirun -np $nproc $exe > root.out |
| </ | </ | ||