Skip to main content

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

This method should work fine, except that setting the right command can be a little
tricky. See bug 395498 for more details:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=395498


John


On Wed, Jul 9, 2014 at 5:53 PM, Beth Tibbitts <beth@xxxxxxxxxx> wrote:
I just tried this on mac, talking to sync project on sdsc's trestles, and IT WORKS.
Easiest I've set the remote include paths ever!!!

Any reason we shouldn't change our docs (and esp. tutorial slides) to do this?????

...Beth

Beth Tibbitts


On Wed, Jul 9, 2014 at 5:46 PM, Steven R. Brandt <sbrandt@xxxxxxxxxxx> wrote:
Attempting, once again, to solicit comments.

Cheers,
Steve

On 07/07/2014 08:41 PM, Steven R. Brandt wrote:
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



_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top