torque질문입니다.
클러스터링이 구축되어져 있고 mpich1.2.7 버젼과 torque(버젼은 모름..)가 설치 되어있습니다.
openpbs를 설치할려고 하니 사이트에서 다운이 받아지질 않아서 torque로 설치했습니다.
하여간 pestat를 사용할려고 하니 make를 따로 해줘야 하더군요...ㅡ.ㅡ
pestat디렉토리에서 readme파일을 읽어보니
Edit the Makefile: Change PBSHOME to point to your PBS
source directory, since pestat.c needs several header files
from the PBS source distribution.
Look at the supported architectures and uncomment the relevant lines.
Check that the include and lib paths point to the correct
directory.
Type "make" to generate the executable "pestat". Run pestat
to verify the correct operation. Copy pestat to a directory
in your PATH, such as /usr/local/bin.
이렇게 써있어서 torque홈디렉토리로 바꿔주고 make를 하니
cc -g -I$/usr/torque/include -c -o pestat.o pestat.c
pestat.c:37:73: error: pbs_config.h: No such file or directory
pestat.c:43:23: error: pbs_error.h: No such file or directory
pestat.c:45:25: error: portability.h: No such file or directory
pestat.c:46:21: error: pbs_ifl.h: No such file or directory
pestat.c:47:16: error: rm.h: No such file or directory
pestat.c:112: warning: ?truct batch_status?declared inside parameter list
pestat.c:112: warning: its scope is only this definition or declaration, which is probably not what you want
pestat.c: In function ?ain?
pestat.c:143: error: array type has incomplete element type
pestat.c:143: error: ?TTR_exechost?undeclared (first use in this function)
pestat.c:143: error: (Each undeclared identifier is reported only once
pestat.c:143: error: for each function it appears in.)
pestat.c:148: warning: assignment makes pointer from integer without a cast
pestat.c:156: error: ?bs_errno?undeclared (first use in this function)
pestat.c:160: warning: assignment makes pointer from integer without a cast
pestat.c:163: warning: assignment makes pointer from integer without a cast
pestat.c:175: warning: assignment makes pointer from integer without a cast
pestat.c:178: warning: assignment makes pointer from integer without a cast
pestat.c:186: warning: passing argument 1 of ?ort_stats?from incompatible pointer type
pestat.c:194: error: dereferencing pointer to incomplete type
pestat.c:197: error: dereferencing pointer to incomplete type
pestat.c:197: error: dereferencing pointer to incomplete type
pestat.c:198: error: dereferencing pointer to incomplete type
pestat.c:198: error: ?TTR_NODE_state?undeclared (first use in this function)
pestat.c:199: error: dereferencing pointer to incomplete type
pestat.c:203: error: dereferencing pointer to incomplete type
pestat.c:212: error: dereferencing pointer to incomplete type
pestat.c:221: error: dereferencing pointer to incomplete type
pestat.c:223: error: dereferencing pointer to incomplete type
pestat.c:230: warning: assignment makes pointer from integer without a cast
pestat.c:278: error: dereferencing pointer to incomplete type
pestat.c:279: error: dereferencing pointer to incomplete type
pestat.c:283: error: dereferencing pointer to incomplete type
pestat.c:283: error: ?TTR_state?undeclared (first use in this function)
pestat.c:284: error: dereferencing pointer to incomplete type
pestat.c:285: error: dereferencing pointer to incomplete type
pestat.c:286: error: dereferencing pointer to incomplete type
pestat.c:286: error: dereferencing pointer to incomplete type
pestat.c:287: error: dereferencing pointer to incomplete type
pestat.c:287: error: ?TTR_l?undeclared (first use in this function)
pestat.c:288: error: dereferencing pointer to incomplete type
pestat.c:289: error: dereferencing pointer to incomplete type
pestat.c:290: error: dereferencing pointer to incomplete type
pestat.c:298: error: dereferencing pointer to incomplete type
pestat.c: At top level:
pestat.c:315: warning: ?truct batch_status?declared inside parameter list
pestat.c:316: error: conflicting types for ?ort_stats?
pestat.c:112: error: previous declaration of ?ort_stats?was here
pestat.c: In function ?ort_stats?
pestat.c:330: error: dereferencing pointer to incomplete type
pestat.c:332: error: dereferencing pointer to incomplete type
pestat.c:334: error: dereferencing pointer to incomplete type
pestat.c:335: error: dereferencing pointer to incomplete type
pestat.c:335: error: dereferencing pointer to incomplete type
pestat.c:337: error: dereferencing pointer to incomplete type
pestat.c:337: error: dereferencing pointer to incomplete type
pestat.c:338: error: dereferencing pointer to incomplete type
pestat.c:343: error: dereferencing pointer to incomplete type
pestat.c:343: error: dereferencing pointer to incomplete type
pestat.c:344: error: dereferencing pointer to incomplete type
pestat.c:345: error: dereferencing pointer to incomplete type
pestat.c:345: error: dereferencing pointer to incomplete type
pestat.c:346: error: dereferencing pointer to incomplete type
pestat.c:347: error: dereferencing pointer to incomplete type
make: *** [pestat.o] Error 1
이렇게나 에러가 많이 납니다.
설치하신 분들의 도움을 요청합니다....
댓글 달기