Hi again!
It seems that I find out how to work with 2 stages algorithms. One have to use functions that contain _2stage in their names.
But I have another problem: there is an awesome 2 stages and multi gpu function magma_zhegvdx_2stage_m. But it doesn't work. Even file src/zhegvdx_2stage_m.cpp is not compiled while making process. That leads to the result that if USE_MGPU is enabled in testing_zhegvdx_2stage it cant be compiled :
- Code: Select all
icpc -fPIC -Xlinker -zmuldefs -DGPUSHMEM=200 testing_zhegvdx_2stage.o -o testing_zhegvdx_2stage \
libtest.a lin/liblapacktest.a -L../lib -lmagma -lmagmablas -lmagma \
-L/opt/intel/composerxe/mkl/lib/intel64 -L/usr/local/cuda/lib64 \
-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lcublas -lcudart -lm -openmp -lstdc++
testing_zhegvdx_2stage.o: In function `main':
testing_zhegvdx_2stage.cpp:(.text+0x7ff): undefined reference to `magma_zhegvdx_2stage_m'
testing_zhegvdx_2stage.cpp:(.text+0x933): undefined reference to `magma_zhegvdx_2stage_m'
Can someone help me with this problem?