More detailed control


Up: Linking and running programs Next: Special features of different systems Previous: Multiple Architectures

For more control over the process of compiling and linking programs for mpich, you should use a Makefile. Rather than modify your Makefile for each system, you can use a makefile template and use the command mpireconfig to convert the makefile template into a valid Makefile. To do this, start with the file Makefile.in in /usr/local/mpich/examples. Modify this Makefile.in for your program and then enter

    mpireconfig Makefile 

(not mpireconfig Makefile.in). This creates a Makefile from Makefile.in. Then enter:
    make 



Up: Linking and running programs Next: Special features of different systems Previous: Multiple Architectures