Download Periscope User's Guide - Periscope Tuning Framework

Transcript
Examples
You can find two examples with the adapted makefile in ~/psc/test/add and
~/psc/test/cx parallel. Both directories include a file makefile.psc instrument.
Example on SuperMUC
Periscope can be used in batch jobs.
Example batch script:
#!/bin/bash
#PBS -j oe
#PBS -S /bin/bash
#PBS -l select=80:ncpus=1
#PBS -l walltime=0:20:00
#PBS -N cx64
#PBS -M [email protected]
#PBS -m e
. /etc/profile
cd psc/test/cx parallel/
psc regsrv &
sleep 10
sudo /lrz/sys/lrz perf/bin/lrz perf off hlrb2
psc frontend --apprun=cx --mpinumprocs=64 --strategy=SCA --debug=1
#!/bin/bash
#
#@ job type = parallel
#@ class = test
#@ island count = 1
#@ node = 1
36