-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Description
I want to use the ior and mdtest for hdfs, and I use ./configure --with-hdfs
and then make
. However, I get some error:
aiori-HDFS.c: In function ‘HDFS_Create_Or_Open’:
aiori-HDFS.c:237:12: error: ‘IOR_param_t’ has no member named ‘openFlags’
if ( param->openFlags & IOR_RDWR ) {
^
aiori-HDFS.c:241:12: error: ‘IOR_param_t’ has no member named ‘openFlags’
if ( param->openFlags & IOR_EXCL ) {
^
aiori-HDFS.c:245:12: error: ‘IOR_param_t’ has no member named ‘openFlags’
if ( param->openFlags & IOR_APPEND ) {
^
aiori-HDFS.c:257:12: error: ‘IOR_param_t’ has no member named ‘openFlags’
if ( param->openFlags & IOR_WRONLY ) {
^
aiori-HDFS.c:261:9: error: ‘rank’ undeclared (first use in this function)
if ( rank != 0 ) {
^
aiori-HDFS.c:261:9: note: each undeclared identifier is reported only once for each function it appears in
aiori-HDFS.c:282:12: error: ‘IOR_param_t’ has no member named ‘useO_DIRECT’
if ( param->useO_DIRECT == TRUE ) {
^
aiori-HDFS.c:293:13: error: ‘IOR_param_t’ has no member named ‘openFlags’
if (( param->openFlags & IOR_WRONLY ) &&
^
In file included from aiori.h:22:0,
from ior.h:40,
from aiori-HDFS.c:85:
aiori-HDFS.c:297:25: error: ‘testComm’ undeclared (first use in this function)
MPI_CHECK(MPI_Barrier(testComm), "barrier error");
^
aiori-debug.h:97:29: note: in definition of macro ‘MPI_CHECKF’
int checkf_mpi_status = MPI_STATUS; \
^
aiori-HDFS.c:297:3: note: in expansion of macro ‘MPI_CHECK’
MPI_CHECK(MPI_Barrier(testComm), "barrier error");
^
aiori-HDFS.c:327:13: error: ‘IOR_param_t’ has no member named ‘openFlags’
if (( param->openFlags & IOR_WRONLY ) &&
^
aiori-HDFS.c: In function ‘HDFS_Open’:
aiori-HDFS.c:363:12: error: ‘IOR_param_t’ has no member named ‘openFlags’
if ( param->openFlags & IOR_CREAT ) {
^
aiori-HDFS.c: In function ‘HDFS_Xfer’:
aiori-HDFS.c:392:26: error: ‘IOR_param_t’ has no member named ‘offset’
off_t offset = param->offset;
^
aiori-HDFS.c:403:7: error: ‘rank’ undeclared (first use in this function)
rank,
^
aiori-HDFS.c:404:12: error: ‘IOR_param_t’ has no member named ‘offset’
param->offset + length - remaining);
^
aiori-HDFS.c:426:12: error: ‘IOR_param_t’ has no member named ‘offset’
param->offset + length - remaining );
^
aiori-HDFS.c:452:11: error: ‘IOR_param_t’ has no member named ‘offset’
param->offset + length - remaining );
^
aiori-HDFS.c: In function ‘HDFS_Close’:
aiori-HDFS.c:529:12: error: ‘IOR_param_t’ has no member named ‘openFlags’
if ( param->openFlags & IOR_WRONLY ) {
^
aiori-HDFS.c: In function ‘HDFS_Delete’:
aiori-HDFS.c:566:11: error: ‘rank’ undeclared (first use in this function)
rank, testFileName);
^
aiori-HDFS.c: In function ‘HDFS_GetFileSize’:
aiori-HDFS.c:653:9: error: ‘rank’ undeclared (first use in this function)
if ( rank == 0 ) {
^
make[3]: *** [libaiori_a-aiori-HDFS.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
If I do something wrong? What I can do?
Metadata
Metadata
Assignees
Labels
No labels