| <?xml version="1.0" encoding="UTF-8"?> |
| <toolset.01> |
| <tool name="PPW_UPC"> |
| <compile replace="true"> |
| <allcompilers command="" group="ppw"/> |
| <UPC command="ppwupcc" group="ppw"> |
| <optionpane title="PPW Compiler Wrapper - UPC" prependwith="" |
| enclosewith="" separatewith=" "> |
| <togoption label="Instrument functions" |
| optname="--inst-functions" |
| tooltip="Track all function entries and exits" |
| defstate="false"/> |
| <togoption label="Record data for shared-local accesses" |
| optname="--inst-local" |
| tooltip="Instrument source files to record performance data about both |
| shared-remote and shared-local memory accesses. By default, only shared-remote |
| accesses (accesses to the shared data space to remote data located on other |
| threads) will be tracked unless this option is given." |
| defstate="false"/> |
| <togoption label="Use polite synchronization" |
| optname="--ppw-overschedule" |
| tooltip="Forces PPW to use polite synchronization methods when collecting |
| performance data into a PAR file at the end of the run, such as calling |
| sched_yield(2) while inside synchronization spinlocks. This is only useful if |
| you are severely overscheduling threads to CPUs, such as using -pthreads=32 on |
| a uniprocessor cluster with Berkeley UPC." |
| defstate="false"/> |
| </optionpane> |
| </UPC> |
| <CC command="" group="ppw"/> |
| <CXX command="" group="ppw"/> |
| <F90 command="" group="ppw"/> |
| </compile> |
| <execute> |
| <global> |
| <envvar flag="PPW_OUTPUT" value="ppw_eclipse.par"/> |
| <optionpane title="PPW Program Run - UPC" prependwith="" |
| enclosewith="" enclosevalues="" separatewith=" "> |
| <togoption label="Enable tracing" envvar="true" |
| optname="PPW_TRACEMODE" |
| tooltip="Record full program trace during run"> |
| <optvalue type="toggle" seton="1"></optvalue> |
| </togoption> |
| <togoption label="Trace buffer size" envvar="true" |
| optname="PPW_TRACEBUFFERSIZE" |
| tooltip="Set the trace buffer size to the specified number of bytes (most users |
| should not need to change this)"> |
| <optvalue type="text" default=""></optvalue> |
| </togoption> |
| <togoption label="Collect communication statistics" envvar="true" |
| optname="PPW_COMMSTATS" |
| tooltip="Record statistics on (explicit and implicit) communication during |
| program run"> |
| <optvalue type="toggle" seton="1"></optvalue> |
| </togoption> |
| <togoption label="Collect per-line communication statistics" envvar="true" |
| optname="PPW_LINECOMMSTATS" |
| tooltip="Record per-line statistics on (explicit and implicit) communication |
| during program run" |
| defstate="false"> |
| <optvalue type="toggle" seton="1"></optvalue> |
| </togoption> |
| </optionpane> |
| </global> |
| </execute> |
| <analyze> |
| <utility command="process-PPW" group="internal"/> |
| </analyze> |
| </tool> |
| |
| </toolset.01> |