xuhuisheng / rocm-build

build scripts for ROCm
Apache License 2.0
181 stars 35 forks source link

ERROR: rocBLAS headers can't be found under specified path. #12

Closed ianferreira closed 3 years ago

ianferreira commented 3 years ago

Environment

Hardware description
GPU - RX6800
CPU - AMD Threadripper
Software version
OS - 20.4.2
ROCm - 4.2
Python -

What is the expected behavior

Compilation completes

What actually happens

Reading package lists... Done Building dependency tree
Reading state information... Done cmake is already the newest version (3.16.3-1ubuntu1). libpciaccess-dev is already the newest version (0.16-0ubuntu1). python-is-python3 is already the newest version (3.8.2-4). unzip is already the newest version (6.0-25ubuntu1). doxygen is already the newest version (1.8.17-0ubuntu2). git is already the newest version (1:2.25.1-1ubuntu3.1). libpci-dev is already the newest version (1:3.6.4-1ubuntu0.20.04.1). libpci3 is already the newest version (1:3.6.4-1ubuntu0.20.04.1). The following packages were automatically installed and are no longer required: dctrl-tools dkms hsa-amd-aqlprofile libncurses5 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libtinfo5 python2 python2-minimal python2.7 python2.7-minimal rock-dkms rock-dkms-firmware Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded. ~/Documents/rocm-build/build/rocmvalidationsuite ~/Documents/rocm-build/build/rocmvalidationsuite ln: failed to create symbolic link '/usr/bin/python': File exists -- RVS_OS_TYPE: ubuntu Reading package lists... Building dependency tree... Reading state information... rocblas is already the newest version (2.38.0.40200-21). The following packages were automatically installed and are no longer required: dctrl-tools dkms hsa-amd-aqlprofile libncurses5 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libtinfo5 python2 python2-minimal python2.7 python2.7-minimal rock-dkms rock-dkms-firmware Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded. -- RVS_OS_TYPE_NUM: 1 -- CMAKE_BUILD_TYPE = Release -- RVS_COVERAGE = FALSE -- RVS_BUILD_TESTS = TRUE -- CMAKE_BINARY_DIR = /home/ian/Documents/rocm-build/build/rocmvalidationsuite -- CMAKE_CURRENT_SOURCE_DIR = /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite -- RVS_DO_TRACE defined -- CPACK_GENERATOR DEB -- Configuring done -- Generating done -- Build files have been written to: /home/ian/Documents/rocm-build/build/rocmvalidationsuite/yaml-download [1/6] Performing update step for 'yaml' Current branch master is up to date. [2/6] No configure step for 'yaml' [3/6] No build step for 'yaml' [4/6] No install step for 'yaml' [5/6] No test step for 'yaml' [6/6] Completed 'yaml' -- Configuring done -- Generating done -- Build files have been written to: /home/ian/Documents/rocm-build/build/rocmvalidationsuite/yaml-build -- Configuring done -- Generating done -- Build files have been written to: /home/ian/Documents/rocm-build/build/rocmvalidationsuite/googletest-download [1/6] Performing update step for 'googletest' [2/6] No configure step for 'googletest' [3/6] No build step for 'googletest' [4/6] No install step for 'googletest' [5/6] No test step for 'googletest' [6/6] Completed 'googletest' -- Configuring done -- Generating done -- Build files have been written to: /home/ian/Documents/rocm-build/build/rocmvalidationsuite/googletest-build UT_INC /home/ian/Documents/rocm-build/build/rocmvalidationsuite/googletest-src/googletest/include UT_LIB /home/ian/Documents/rocm-build/build/rocmvalidationsuite/googletest-build/lib -- MODULE: rvs unit test: unit.rvs.1 unit test: unit.rvs.cli unit test: unit.rvs.gpu_util unit test: unit.rvs.lognode unit test: unit.rvs.lognodeint unit test: unit.rvs.lognoderec unit test: unit.rvs.lognodestring unit test: unit.rvs.pcie_caps unit test: unit.rvs.thread unit test: unit.rvs.timer -- MODULE: rvslib -- MODULE: gm unit test: unit.gm.1 -- tcd.unit.gm.1 defined -- value: UT_TCD_1 conf test: ttp.conf.log.gm.single -- MODULE: gpup unit test: unit.gpup.nonameaction conf test: ttp.conf.log.gpup.single -- MODULE: gst ERROR: rocBLAS headers can't be found under specified path. Please set ROCBLAS_INC_DIR path. Current value is : /opt/rocm/include -- MODULE: iet ERROR: rocBLAS headers can't be found under specified path. Please set ROCBLAS_INC_DIR path. Current value is : /opt/rocm/include -- MODULE: pebb conf test: ttp.conf.log.pebb.single -- MODULE: peqt conf test: ttp.conf.log.peqt.single -- MODULE: pesm unit test: unit.pesm.actionbase unit test: unit.pesm.sanity conf test: ttp.conf.log.pesm.5 conf test: ttp.conf.log.pesm.2 conf test: ttp.conf.log.pesm.9 conf test: ttp.conf.log.pesm.3 conf test: ttp.conf.log.pesm.4 conf test: ttp.conf.log.pesm.8 conf test: ttp.conf.log.pesm.1 conf test: ttp.conf.log.pesm.7 conf test: ttp.conf.log.pesm.6 -- MODULE: pqt -- MODULE: rcqt -- MODULE: smqt unit test: unit.smqt.1 -- MODULE: mem ERROR: rocBLAS headers can't be found under specified path. Please set ROCBLAS_INC_DIR path. Current value is : /opt/rocm/include -- MODULE: babel ERROR: rocBLAS headers can't be found under specified path. Please set ROCBLAS_INC_DIR path. Current value is : /opt/rocm/include -- MODULE: perf ERROR: rocBLAS headers can't be found under specified path. Please set ROCBLAS_INC_DIR path. Current value is : /opt/rocm/include -- MODULE: testif -- Doxygen: /usr/bin/doxygen -- Configuring done -- Generating done -- Build files have been written to: /home/ian/Documents/rocm-build/build/rocmvalidationsuite [5/41] Generating RVS man.1 files warning: Tag 'PERL_PATH' at line 2121 of file 'DoxyMan1' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 2143 of file 'DoxyMan1' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" [6/41] Generating RVS User Guide warning: Tag 'PERL_PATH' at line 2163 of file 'DoxyGuide' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 2185 of file 'DoxyGuide' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" [7/41] Generating RVS Programmer's Reference Guide warning: Tag 'PERL_PATH' at line 2165 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 2187 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/pebb.so/include/action.h:61: warning: Compound pebb_action::bandwidth is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:63: warning: Member gst_ops_type (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:83: warning: Member gst_alpha_val (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:84: warning: Member gst_beta_val (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:88: warning: Member gst_matrix_size_b (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:89: warning: Member gst_matrix_size_c (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:92: warning: Member gst_hot_calls (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:95: warning: Member gst_trans_a (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:96: warning: Member gst_trans_b (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:99: warning: Member gst_lda_offset (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:100: warning: Member gst_ldb_offset (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/action.h:101: warning: Member gst_ldc_offset (variable) of class gst_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:191: warning: Member set_gst_ops_type(std::string _ops_type) (function) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:213: warning: Member gst_trans_a (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:215: warning: Member gst_trans_b (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:219: warning: Member gst_alpha_val (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:221: warning: Member gst_beta_val (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:223: warning: Member gst_lda_offset (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:224: warning: Member gst_ldb_offset (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:225: warning: Member gst_ldc_offset (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:245: warning: Member matrix_size_b (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:246: warning: Member matrix_size_c (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:248: warning: Member gst_hot_calls (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/gst.so/include/gst_worker.h:260: warning: Member gst_ops_type (variable) of class GSTWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:80: warning: Member iet_ops_type (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:98: warning: Member iet_alpha_val (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:99: warning: Member iet_beta_val (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:103: warning: Member iet_matrix_size_b (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:104: warning: Member iet_matrix_size_c (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:107: warning: Member iet_hot_calls (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:110: warning: Member iet_trans_a (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:111: warning: Member iet_trans_b (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:114: warning: Member iet_lda_offset (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:115: warning: Member iet_ldb_offset (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/action.h:116: warning: Member iet_ldc_offset (variable) of class iet_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:204: warning: Member do_gpu_init_training(int gpuIdx, uint64_t matrix_size, std::string iet_ops_type) (function) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:205: warning: Member compute_gpu_stats(void) (function) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:206: warning: Member compute_new_sgemm_freq(float avg_power) (function) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:213: warning: Member gpu_blas (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:222: warning: Member blas_error (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:247: warning: Member sgemm_success (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:263: warning: Member matrix_size_b (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:264: warning: Member matrix_size_c (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:266: warning: Member iet_lda_offset (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:267: warning: Member iet_ldb_offset (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:268: warning: Member iet_ldc_offset (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:270: warning: Member iet_trans_a (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:272: warning: Member iet_trans_b (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:274: warning: Member iet_alpha_val (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:276: warning: Member iet_beta_val (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:278: warning: Member iet_tp_flag (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/iet.so/include/iet_worker.h:280: warning: Member mtx_blas_done (variable) of class IETWorker is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/pebb.so/include/action.h:65: warning: Member bandwidth (typedef) of class pebb_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/pebb.so/include/action.h:67: warning: Member resultBandwidth (variable) of class pebb_action is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/pebb.so/include/action.h:62: warning: Member finalBandwith (variable) of class pebb_action::bandwidth is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/pebb.so/include/action.h:63: warning: Member GPUId (variable) of class pebb_action::bandwidth is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/pebb.so/include/action.h:64: warning: Member CPUId (variable) of class pebb_action::bandwidth is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:64: warning: Member gemm_gflop_count(void) (function) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:91: warning: Member size_d (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:131: warning: Member blas_lda_offset (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:132: warning: Member blas_ldb_offset (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:133: warning: Member blas_ldc_offset (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:142: warning: Member dhlfd (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:150: warning: Member hostarrayA (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:151: warning: Member hostarrayB (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:152: warning: Member hostarrayC (variable) of class rvs_blas is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvs_blas.h:44: warning: The following parameters of rvs_blas::rvs_blas(int _gpu_device_index, int _m, int _n, int _k, int transa, int transb, float aplha, float beta, int lda, int ldb, int ldc, std::string ops_type) are not documented: parameter 'transa' parameter 'transb' parameter 'aplha' parameter 'beta' parameter 'lda' parameter 'ldb' parameter 'ldc' parameter 'ops_type' /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/gpu_util.h:83: warning: Member domain_loc_map (variable) of class rvs::gpulist is not documented. /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/src/gpu_util.cpp:425: warning: argument 'pNodeID' of command @param is not found in the argument list of rvs::gpulist::domlocation2gpu(const uint16_t domainID, const uint16_t LocationID, uint16_t pGPUID) /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/gpu_util.h:70: warning: The following parameters of rvs::gpulist::domlocation2gpu(const uint16_t domainID, const uint16_t LocationID, uint16_t pGPUID) are not documented: parameter 'domainID' parameter 'pGPUID' /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/gpu_util.h:68: warning: The following parameter of rvs::gpulist::domlocation2node(const uint16_t domainID, const uint16_t LocationID, uint16_t *pNodeID) is not documented: parameter 'domainID' /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/include/rvshsa.h:180: warning: Member PrintTopology() (function) of class rvs::hsa is not documented. [8/41] Building CXX object rvslib/CMakeFiles/rvslib.dir//src/rvs_blas.cpp.o FAILED: rvslib/CMakeFiles/rvslib.dir/__/src/rvs_blas.cpp.o /opt/rocm/hip/bin/hipcc -DRVS_DO_TRACE -I/home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/rvslib/. -I/home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/rvslib/.. -I/opt/rocm/rocm_smi/include -I/opt/rocm/include -I/opt/rocm/hip -fPIC -Xlinker --enable-new-dtags -fno-gpu-rdc --amdgpu-target=gfx803 --amdgpu-target=gfx900 --amdgpu-target=gfx906 --amdgpu-target=gfx908 -I/opt/rocm/hsa/include -O3 -DNDEBUG -std=c++11 -pthread -Wl,-no-as-needed -Wall -fPIC -DRVS_OS_TYPE_NUM=1 -DBUILD_VERSION_MAJOR=0 -DBUILD_VERSION_MINOR=0 -DBUILD_VERSION_PATCH=0 -DLIB_VERSION_STRING=\"0.0.0\" -DBUILD_VERSION_STRING=\"0.0.0\" -MD -MT rvslib/CMakeFiles/rvslib.dir//src/rvs_blas.cpp.o -MF rvslib/CMakeFiles/rvslib.dir/__/src/rvs_blas.cpp.o.d -o rvslib/CMakeFiles/rvslib.dir/__/src/rvs_blas.cpp.o -c /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/src/rvs_blas.cpp clang-12: warning: -Xlinker --enable-new-dtags: 'linker' input unused [-Wunused-command-line-argument] clang-12: warning: -Wl,-no-as-needed: 'linker' input unused [-Wunused-command-line-argument] In file included from /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/src/rvs_blas.cpp:25: /home/ian/Documents/rocm-build/ROCm/ROCmValidationSuite/rvslib/../include/rvs_blas.h:30:10: fatal error: 'rocblas.h' file not found

include "rocblas.h"

     ^~~~~~~~~~~

1 error generated when compiling for gfx803. ninja: build stopped: subcommand failed.

How to reproduce

bash navi21/rocblas.sh bash 73.rocmvalidationsuite.sh