Eclipse MPI 解析器错误

发布于 2025-01-07 10:15:42 字数 236 浏览 2 评论 0原文

我已经使用 PTP(并行工具平台)使用 eclipse mpi 支持创建了一个项目。当我创建任何 mpi 程序时,解析器(即编辑器)会显示 mpi 代码中的错误。代码编译没有任何问题,但在 mpi 代码中不断显示错误。我认为 Eclipse 解析器有错误或者我缺少一些配置。

有人可以指导我吗?当你在看的时候,你能否向我解释一下 Eclipse 中存在调试/发布文件夹的原因。我喜欢自己管理我的 makefile。那有什么问题吗??

I have created a project using eclipse mpi support using PTP (Parallel Tools Platform). When i create any mpi program the parser (i.e the editor) shows errors in mpi code. The code compiles without any problems but it keeps on showing errors in mpi code. i think there is an error with the eclipse parser or some configuration that i am missing.

Can somebody guide me on this. While you are at it can you also explain me the reason for a debug/release folder in eclipse. i like to manage my makefiles on my own. Any problems in that ??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

几度春秋 2025-01-14 10:15:42

此屏幕(在使用 CDT/PTP 制作新 mpi 项目的过程即将结束时)警告您所描述的错误,并提示您应该转到下一个屏幕以轻松将 mpi 标头添加到您的项目中。

显示错误的框的图片

我不确定您所说的“解释调试原因”是什么意思/发布文件夹。”如果您只是说您从不使用 Eclipse 的构建命令,那也没有问题,但是 Eclipse 被构建为具有很多功能;有些人全部使用,有些人几乎不使用其中任何一个。

This screen (towards the end of the process of making a new mpi project with CDT/PTP) warns about the error you're describing, and says that you should go to the next screen to easily add the mpi header to your project.

Pic of the box where it tells about the error

I'm not sure what you mean by "explain the reasons for a debug/release folder." If you just mean that you never use Eclipse's build command, that's fine, but Eclipse is built to have a lot of features; some people use all of them and some people barely use any of them.

心碎的声音 2025-01-14 10:15:42

您需要设置包含文件夹作为此图像 在此处输入图像描述

you need setting include folder as this image enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文