Change directories to and
edit $STUDENT_SRC/components/examplestask4_rc. This file will assemble and
run an application using the new proxy component you've created.
![]() |
Note |
|---|---|
|
If you installed the cca tools yourself, you will need to modify
|
Run the script with ccafe-single --ccafe-rc
task4_rc. It should run without errors and give you a
result like Value = 3.140347 as before.
Now look in the
directory and you should file a file called
$STUDENT_SRC/components/examplesprofile.0.0.0. This file contains profile
data for the last run. View it by executing
pprof and you should get output similar to
this:
Reading Profile files in profile.*
NODE 0;CONTEXT 0;THREAD 0:
----------------------------------------------------------------------------
%Time Exclusive Inclusive #Call #Subrs Inclusive Name
msec total msec usec/call
----------------------------------------------------------------------------
100.0 32 32 1 0 32043 integrate \
double (double, double, int32_t)
Futher exercises: Try swapping in a different integrator. Try generating a proxy for the Function port.
Users are encouraged to visit and read the documentation for TAU available at http://www.cs.uoregon.edu/research/paracomp/tau/tautools/.