Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] a better way to set the mpi include path

I'd like to suggest an alternate, and I think better way to set the include file path for the remote machine.

1) Project Properties > C/C++ General > Preprocessor Include Paths, Macros etc.
2) Select the "Providers" panel
3) Click on the checkbox for "Sync GCC Builtin Compiler Settings"
4) Open the window wider. You'll see a text box with "Command to get compiler specs"
    It will read
    ${COMMAND} -E -P -v -dD ${INPUTS}
    Change ${COMMAND} to mpicc, and click ok, then rebuild the index (Does anyone know
         where this command variable gets set? The toolchain?)
5) rebuild the index

mpi.h and it's symbols should now be resolved.

Cheers,
Steve


Back to the top