charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
[charm] In file included from cpuaffinity.C:28:0: /usr/include/infiniband/verbs.h: In function ‘verbs_context* verbs_get_ctx(const ibv_context*)’:
Chronological Thread
- From: "王伊秋" <51204300111 AT stu.ecnu.edu.cn>
- To: "charm" <charm AT cs.illinois.edu>
- Subject: [charm] In file included from cpuaffinity.C:28:0: /usr/include/infiniband/verbs.h: In function ‘verbs_context* verbs_get_ctx(const ibv_context*)’:
- Date: Sat, 27 Feb 2021 13:33:53 +0800
- Authentication-results: ppops.net; spf=softfail smtp.mailfrom=51204300111 AT stu.ecnu.edu.cn
- Feedback-id: logic:stu.ecnu.edu.cn:qybgforeign:qybgforeign7
In file included from cpuaffinity.C:28:0:
/usr/include/infiniband/verbs.h: In function ‘verbs_context* verbs_get_ctx(const ibv_context*)’:
/usr/include/infiniband/verbs.h:924:10: error: cannot convert ‘ibv_context’ to ‘const int’ in initialization
NULL : container_of(ctx, struct verbs_context, context);
^
/usr/include/infiniband/verbs.h:924:10: error: expected ‘,’ or ‘;’ before ‘*’ token
NULL : container_of(ctx, struct verbs_context, context);
^
/usr/include/infiniband/verbs.h:924:10: error: ‘__mptr’ was not declared in this scope
NULL : container_of(ctx, struct verbs_context, context);
^
/usr/include/infiniband/verbs.h:923:62: error: third operand to the conditional operator is of type ‘void’, but the second operand is neither a throw-_expression_ nor of type ‘void’
return (!ctx || (ctx->abi_compat != ((uint8_t *)NULL) - 1)) ?
^
/usr/include/infiniband/verbs.h: In function ‘verbs_device* verbs_get_device(const ibv_device*)’:
/usr/include/infiniband/verbs.h:931:10: error: cannot convert ‘ibv_device’ to ‘const int’ in initialization
NULL : container_of(dev, struct verbs_device, device);
^
/usr/include/infiniband/verbs.h:931:10: error: expected ‘,’ or ‘;’ before ‘*’ token
NULL : container_of(dev, struct verbs_device, device);
^
/usr/include/infiniband/verbs.h:931:10: error: ‘__mptr’ was not declared in this scope
NULL : container_of(dev, struct verbs_device, device);
^
/usr/include/infiniband/verbs.h:930:34: error: third operand to the conditional operator is of type ‘void’, but the second operand is neither a throw-_expression_ nor of type ‘void’
return (dev->ops.alloc_context) ?
^
Fatal Error by charmc in directory /gpfs01/home/xiafei2/yqwang/software/NAMD_2.14_Source/charm-6.10.2/verbs-linux-x86_64-smp/tmp
Command g++ -DCMK_GFORTRAN -D_REENTRANT -I../bin/../include -D__CHARMC__=1 -I. -O3 -U_FORTIFY_SOURCE -fno-stack-protector -std=c++11 -fno-lifetime-dse -c cpuaffinity.C -o cpuaffinity.o returned error code 1
charmc exiting...
gmake: *** [cpuaffinity.o] Error 1
-------------------------------------------------
Why?I am praying for your help with full appreciation.
Best wishes!
Cynthia
- [charm] In file included from cpuaffinity.C:28:0: /usr/include/infiniband/verbs.h: In function ‘verbs_context* verbs_get_ctx(const ibv_context*)’:, 王伊秋, 02/26/2021
Archive powered by MHonArc 2.6.19.