The following quote is taken from documentation of scorep. In order to use the software, the scorep command is said to prefixed to compiler which is mpicc. I am using automake. So far, in configure.ac I had AC_PROG_CC([mpicc]). How can I prefix the scorep command to compiler command with automake?
When makefiles are employed to build the application, it is convenient to define a placeholder variable to indicate whether a “preparation'' step like an instrumentation is desired or only the pure compilation and linking. For example, if this variable is called PREP then the lines defining the C compiler in the makefile can be changed from:
MPICC = mpicctoMPICC = $(PREP) mpiccOne can then use the same makefile to either build an instru- mented version with the
make PREP="scorep"command or a fully optimized and not instrumented default build by simply using:
make.
Install_Scorep is a bash script to install Score-P 3.0 on Linux based systems. To install Score-P clone the repository and run the script named install_scorep.sh. This will do all the necessary tasks to successfully install Score-P 3.0 .