Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/150.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 地毯驱动程序产生错误_C++_Git_Cygwin_Toolkit - Fatal编程技术网

C++ 地毯驱动程序产生错误

C++ 地毯驱动程序产生错误,c++,git,cygwin,toolkit,C++,Git,Cygwin,Toolkit,我通过Cygwin在Windows上使用 当我使用地毯驱动程序时,我发现了由于HDF5库而导致的错误 我安装了以下软件包 curl、perl、subversion、git、gcc-{core、fortran、g++}、make、patch、libjpeg-devel、openssl-devel、xgraph、vim 它与工作正常,但不起作用。 请告诉我如何修理它 错误: /home/hp/cactus/configs/carpet/build/CarpetLib/limits.cc: In

我通过Cygwin在Windows上使用

当我使用地毯驱动程序时,我发现了由于HDF5库而导致的错误

我安装了以下软件包

curl、perl、subversion、git、gcc-{core、fortran、g++}、make、patch、libjpeg-devel、openssl-devel、xgraph、vim

它与工作正常,但不起作用。
请告诉我如何修理它

错误:

/home/hp/cactus/configs/carpet/build/CarpetLib/limits.cc: 
  In function ‘void CarpetLib::set_system_limits()’: 
  /home/hp/cactus/configs/carpet/build/CarpetLib/limits.cc:27:13: 
  error: ‘RLIMIT_RSS’ was not declared in this scope set_limit(RLIMIT_RSS, "resident set size", max_memory_size_MB); 
 /home/hp/cactus/configs/carpet/build/CarpetLib/limits.cc:27:13: 
 note: suggested alternative: ‘RLIMIT_AS’ set_limit(RLIMIT_RSS, "resident set size", max_memory_size_MB); 

Running configuration script for thorn MPI: 
  MPI selected, but MPI_DIR is not set. 
Computing settings... Found MPI compiler wrapper at /usr/bin/mpic++! Successfully configured MPI. 
Finished running configuration script for thorn MPI.

make[3]: *** [/home/hp/cactus/configs/carpet/config-data/make.config.rules:281: limits.cc.o] Error 1 
make[2]: *** [/home/hp/cactus/lib/make/make.thornlib:113: make.checked] Error 2 
make[1]: *** [/home/hp/cactus/lib/make/make.configuration:179: /home/hp/cactus/configs/carpet/lib/libthorn_CarpetLib.a] Error 2 
make: *** [Makefile:263: carpet] Error 2
这是:

报告的警告是无害的,因为文件的内容无关紧要——重要的是当自检成功时至少生成了一个文件

通常,将一个例程调度到一个不存在的调度bin中意味着不执行该例程。
在许多情况下,这正是正确的做法。在其他情况下,这是由于
schedule.ccl
中的错误造成的,这就是为什么我们从“静默不安排”改为报告有关这些的警告。
在这种情况下,警告是无害的,不需要担心,因为thorns边界和符号库实际上不是CartGrid3D所需要的。我们希望有一种方法在
附表.ccl
中指出这一点,以便可以忽略这些警告

关于地毯的使用,以及与HDF5相关的错误,以下是所有

出现了类似的错误。

它说明了在生成/错误行之前的错误消息有助于了解发生了什么。

您能用您发送给我的电子邮件更新您的问题吗?我只回答这里的堆栈溢出。请!先生,现在请引导我……你们有什么窗户?(在CMD shell会话中键入winver)您收到了什么错误消息?您前面提到的是警告(非阻塞)。为thorn MPI运行配置脚本:已选择MPI,但未设置MPI_DIR。计算设置。。。在/usr/bin/mpic++上找到MPI编译器包装器!已成功配置MPI。已完成运行thorn MPI的配置脚本。