A new error appears when compiling the /OpenFOAM-1.6-ext/applications/:
"/home/maria/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/openmpi-1.4.3/libPstream.so so try adding it to the linker command line/home/maria/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/openmpi-1.4.3/libPstream.so: could not read symbols: Invalid operation
"
To fix this: In $WM_DIR/rules/linux64Gcc/c++ change LINKLIBSO and LINKEXE to: