@@ -164,8 +164,126 @@ Built /home/users/coti/x86/tau2/x86_64/lib/Makefile.tau-starpu-pthread
...
@@ -164,8 +164,126 @@ Built /home/users/coti/x86/tau2/x86_64/lib/Makefile.tau-starpu-pthread
***************** DONE ************************
***************** DONE ************************
```
```
TAU (executables and libraries) is installed in a directory named after the current machine's architecture, such as `x86_64` or `ibm64linux`.
A few notes:
A few notes:
- This will enable support for pthreads. It is mandatory to add support for some concurrency, since StarPU is multithreaded.
- This will enable support for pthreads. It is mandatory to add support for some concurrency, since StarPU is multithreaded.
- Support for Cuda can be added, with options like `-cupti` and `-cuda`. I don't have first-hand experience with the OpenCl support, but I know it exists.
- Support for Cuda can be added, with options like `-cupti` and `-cuda`. I don't have first-hand experience with the OpenCl support, but I know it exists.
- The last configure command that was executed is kept in `.last_config`. All the configure commands that were executed previously are kept in `.all_config`.
- The last configure command that was executed is kept in `.last_config`. All the configure commands that were executed previously are kept in `.all_config`.
I have put an example in `examples/starpu`. Compile it with `make`. An executable `mult` is created, execute it using:
```
tau_exec -T starpu,serial ./mult
```
The `-T` options select the TAU library you want to use. A library is generated for every configuration that was executed. Support for MPI is enabled by default. If you are not using MPI, you need to pass `serial`. You can see how `tau_exec` picks it using `-v`: