Next: Running a first example
Up: Additional remarks and known
Previous: Additional remarks and known
 
Contents
Some versions of MPICH and SCore provide buggy driver-scripts for the
compiler. The scripts parse the command-line and alter it before
handing it down to the actual compiler. This may lead to a false
assumption about the style of dependency tracking. As a consequence,
rebuilds of the source may fail with an error message similar to
cpp0: you must additionally specify either -M or -M
If this happens, there are several possible work-arounds and fixes:
- in the subdirectories mpi/ and src/ of the build-tree, delete
the object files producing the error, that is, the ones corresponding
to the source files that were changed, then rebuild with make
- supply the driver-script as the CXX compiler, i.e. use ./configure [YOUROPTIONS] CXX=mpiCC
- disable dependency tracking by using the switch
-disable-dependency-tracking when running configure.
- patch the driver scripts mpic++ and mpiCC (when using SCore, they are
located in a directory similar to /opt/score/mpi/mpich-1.2.4/i386-redhat7-linux2_4_gnu/bin
Martin Engel
2004-03-15