[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

Here is my suggestion:

Get two large white eggs. Take a needle and poke small holes into the top and bottom of each egg, hold it over a bowl and blow through the top so the content of the egg will end up in the bowl without breaking the shells. Now take a black felt tip pen and write on one egg shell “I will always report which LAMMPS version I am using” and on the other egg shell “I will always report which errors I am seeing”. Then take the contents of the eggs, turn them into scrambled eggs on toast, and while eating them stare at the writing of the two egg shells and ask yourself: why have I been given such ridiculous and not very constructive instructions?