[lammps-users] How to profile LAMMPS using TAU profiler ?

Hello LAMMPS users and developers,

I wanted to profile LAMMPS examples using the TAU profiler. For this, I need to create a new Makefile in the directory “lammps/src/MAKE/MINE/”. I followed the similar structure of Makefile as of Makefile.mpi and Makefile.serial
I changed the following parameters in the Makefile:

CC= tau_cxx.sh
LINK= tau_cxx.sh

MPI_INC= /path/to/mpi_installation/include/

These settings are resulting in errors, and I am not able to build LAMMPS to use the TAU compiler by default instead of the MPI compiler.

Please help.

Thanks in advance.

Shivam Aggarwal