| Thread Tools | Search this thread |
|---|
jasperjones
| June 29, 2009 2:37 PM PDT After update to MKL 10.2, code chrashes with undefined symbol: mkl_serv_mkl_malloc | ||||
Hi, I recently updated to the Intel Professional 11.1.038 compiler (Linux, Intel 64). I have some code that ran under 11.0.84 but now crashes. The error is: /usr/local/matlab77/bin/glnxa64/MATLAB: symbol lookup error: /opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_vml_mc3.so: undefined symbol: mkl_serv_mkl_malloc I don't have any direct VML calls in my code, therefore my assumption at this point is that the error stems from my usage of the VSL library. (Am I wrong here? Is it possible that the error stems from my usage of BLAS/LAPACK routines?) My assumption at this point is that the error is related to the subroutine below (this is the only routine in the project which uses VSL). This subroutine is called out of a Fortran mex file. I'm not a user with particularly high technological knowledge, so any comments would be much appreciated. Thanks in advance! include 'mkl_vsl.fi' include "errcheck.inc" subroutine normrandintel(entry,var,n,rands) USE MKL_VSL_TYPE USE MKL_VSL implicit none real(8), intent(in) :: var integer(8), intent(in) :: n real(8), dimension(n), intent(out) :: rands integer(4), intent(in) :: entry integer(4) :: gn integer(4) :: errcode real(8) :: mu integer :: brng,method,seed TYPE (VSL_STREAM_STATE), save :: stream brng=VSL_BRNG_MT19937 ! this is Mersenne-Twister as in Matlab method=VSL_METHOD_DGAUSSIAN_BOXMULLER ! use Box-Muller transform seed=1758101503 mu=0.0d0 gn=n ! ***** Initialize ***** if(entry==1) then errcode=vslnewstream( stream, brng, seed ) call CheckVslError(errcode) endif ! ***** Call RNG ***** errcode=vdrnggaussian( method, stream, gn, rands, mu, var) call CheckVslError(errcode) if(entry==3) then ! ***** Deinitialize ***** errcode=vsldeletestream( stream ) call CheckVslError(errcode) endif end subroutine normrandintel | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 8286 users have contributed to 31231 threads and 99107 posts to date. |
|---|
| In the past 24 hours, we have 7 new thread(s) 31 new posts(s), and 43 new user(s). In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing... Escalated as Please welcome our newest member titanius.anglesmith |