I'm using LAM-MPI(version 6.5.9) for parallel programming and use the Intel C++ and Fortran compilers. I installed version 7.1 of the Intel Compilers and tried to recompile LAM-MPI but I got the following error:
/usr/include/bits/ipctypes.h(33): error "__ipc-pid_t" has already been declared in the current scope
typedef int __ipc_pid_t;
This problem does not occur when I use gcc3.2.2 to compile LAM-MPI.It compiles as long as I don't use icc to compile C files. The C++ and Fortran parts of the compile process seem to work all right, my current set-up uses gcc to compile C files and icc/ifc to compile C++ and Fortran files.
I'm currently running Mandrake 9.1, with gcc3.2.2 and the Intel Compilers(C,C++ and Fortran) version 7.1