There is a similar, if not same, question here: How do I compile a C++ file that uses both MPI and HDF5?
However I do not understand where I am supposed to add these line