[SunHELP] help on compiling with mpi

Martin Frost martin at omniconsumerproducts.com
Sat Oct 6 10:44:19 CDT 2007


On Sat, 6 Oct 2007, fenglai liu wrote:

> [...] error shows that it can locate mpif.h; which puzzle me very much.

A general piece of advice when you're having trouble with tools not being 
able to find files is to run them under 'truss'.

If you run your build as something like

     truss -o log -t open -f make

(replace 'make' with your build command)

then the file 'log' will contain a list of all the files opened by the 
build process. look through this to see exactly where the compiler is 
looking for the file.

Martin



More information about the SunHELP mailing list