Rank: 2091 based on 61 downloads (last 30 days) and 4 files submitted
photo

Haim Avron

E-mail
Company/University
Tel Aviv University

Personal Profile:

 

Watch this Author's files

 

Files Posted by Haim Avron View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jan 2011 SpTriSolve Sparse triangular solve Author: Haim Avron numerical linear alge..., sparse matrix, linear system solve 3 1
  • 5.0
5.0 | 1 rating
06 Dec 2009 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron mathematics, numerical linear alge..., leastsquares equation..., underdetermined equat... 14 10
  • 5.0
5.0 | 1 rating
19 Sep 2009 Solve quadratically constrained overdetermined l1 minimization. Solve min ||K * x - f||_1 s.t. ||y - x||_2 <= \epsilon where K has more rows than columns. Author: Haim Avron l1 minimization, sparsity, optimization, interior point method, log barrier method 17 0
15 Sep 2009 CUDA MEX Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. Author: Haim Avron programming, mex, cuda 27 26
  • 5.0
5.0 | 6 ratings
Comments and Ratings by Haim Avron View all
Updated File Comments Rating
26 Nov 2012 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron

Try to compile FFTW "with PIC".
That is, download FFTW, and use "configure --with-pic" (and then "make"). Link with this local FFTW.

07 Sep 2010 CUDA MEX Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. Author: Haim Avron

@bochra

It looks like it failed to create a file.
Check if you have write permission to the directory.

07 Dec 2009 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron

I have fixed a problem with 64-bit MATLAB 2009b and uploaded a new version.

02 Dec 2009 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron

It looks like there is a problem when you use it with MKL.
Let me check that out.

29 Sep 2009 CUDA MEX Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. Author: Haim Avron

Hi Mklcst,

Do you have permissions to write to MATLAB's directories?

Comments and Ratings on Haim Avron's Files View all
Updated File Comment by Comments Rating
26 Nov 2012 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron Haim Avron

Try to compile FFTW "with PIC".
That is, download FFTW, and use "configure --with-pic" (and then "make"). Link with this local FFTW.

16 Nov 2012 Blendenpik A fast solver of dense rectangular dense linear equations . (least squares or underdetermined). Author: Haim Avron Gonzalo Garateguy

I'm trying to install the library, but I get a segmentation fault error in the function

build_fftw_wisdom(FFTW_PLANNING_LEVEL, WISDOM_FILE);

This is the error:
Building FFTW's wisdom...

------------------------------------------------------------------------
Segmentation violation detected at Fri Nov 16 17:23:19 2012
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.10.0.499 (R2010a)
MATLAB License: 129273
Operating System: Linux 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
GNU C Library: 2.15 stable
Window System: The X.Org Foundation (11103000), display :0
Current Visual: 0x21 (class 4, depth 24)
Processor ID: x86 Family 6 Model 10 Stepping 7, GenuineIntel
Virtual Machine: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: UTF-8

Fault Count: 1

Register State:
rax = 0000000000000001 rbx = 0000000000000001
rcx = 00007f3af748e010 rdx = 0000000000000001
rbp = 00007f3bcfffa3c0 rsi = 00007f3bcfffa3c0
rdi = 0000000000000004 rsp = 00007f3bcfffa2e8
r8 = 0000000000000000 r9 = 0000000000000001
r10 = 0000000000000000 r11 = 0000000000000000
r12 = 0000000000000001 r13 = 0000000000000001
r14 = 0000000000000000 r15 = 0000000000000000
rip = 0000000000000000 flg = 0000000000010202

Stack Trace:
[0] 0x0000000000000000(0x41d429af35c45a1d, 0x7f3bcfffbc20, 0x41d429af35c45a1d, 0x4200000000)

and my configuration file looks like this:

USE_FFTW = true;
FFTW_DIR_LIB = '/usr/lib';
FFTW_DIR_INC = '/usr/include';
FFTW_NAME = 'fftw3';
FFTW_QUANT = 1000;
FFTW_TIMES = 150;
FFTW_PLANNING_LEVEL = 0;
USE_SWHT = false;
OBJ_EXT = '.o';
BLAS_UNDERSCORE = true;
LAPACK_DIR = '/usr/local/MATLAB/R2010a';
LAPACK_NAME = 'mwlapack';
BLAS_DIR = '/usr/local/MATLAB/R2010a';
BLAS_NAME = 'mwblas';
ADDITIONAL_FLAGS = 'LD="gfortran"';

does anyone know what could it be?
thanks

10 Apr 2012 CUDA MEX Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. Author: Haim Avron Lahdan alfahian

where can I find this fiel it is not in my computer cuda_mex.p ??

where can I found this one too
vcvarsamd64.bat I have "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe"
so it is not in bin where can I find it ?

10 Apr 2012 CUDA MEX Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. Author: Haim Avron Lahdan alfahian

hello all

I can't get this right .
I triad ti fix what I found but some files wasn't in my Malab folder don't know what I should to do

this is the error

===================================
EDU>> setup_cuda_mex
??? Undefined function or variable 'setup_cuda_mex'.

Note that only Visual Studio compilers are supported.
Creating cudamexopts.bat based on mexopts.bat...
Creating cuda_mex.m based on mex.m...
Creating cuda_mex_helper.m based on mex_helper.m...
Adding current directory to path...
Warning: Unable to save path to file 'C:\Program Files (x86)\MATLAB\R2011a
Student\toolbox\local\pathdef.m'. You can save your path to a different
location by calling SAVEPATH with an input argument that specifies the
full path. For MATLAB to use that path in future sessions, save the path
to 'pathdef.m' in your MATLAB startup folder.
> In savepath at 162
In setup_cuda_mex at 118
Testing:
Compiling example.cu...
Can't open perl script "C:\Program Files (x86)\MATLAB\R2011a Student\bin\cuda_mex.pl": No such file or directory
??? Error using ==> cuda_mex at 208
Unable to complete successfully.

Error in ==> setup_cuda_mex at 123
cuda_mex example.cu

Can't open perl script "C:\Program Files (x86)\MATLAB\R2011a Student\bin\cuda_mex.pl": No such file or directory
??? Error using ==> cuda_mex at 208
Unable to complete successfully.

Can't open perl script "C:\Program Files (x86)\MATLAB\R2011a Student\bin\cuda_mex.pl": No such file or directory
??? Error using ==> cuda_mex at 208
Unable to complete successfully.

EDU>> cuda_mex simple.cu
Can't open perl script "C:\Program Files (x86)\MATLAB\R2011a Student\bin\cuda_mex.pl": No such file or directory
??? Error using ==> cuda_mex at 208
Unable to complete successfully.

EDU>>
===============
is it becase I'm using student version??why they don't just do the stepes clearly for the bigenear!!
========
this is whay I have

MATLAB Version (R2011a)
MATLAB License Number: STUDENT

OS Name Microsoft Windows 7 Home Premium
Version 6.1.7601 Service Pack 1 Build 7601
System Type x64-based PC

Thanks

28 Nov 2011 CUDA MEX Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. Author: Haim Avron Takashi

Hi,
I had some troubles when I used it on windows7(x64), Matlab R2011a(x64) and Visual C++ 2010 express with WinSDK7.1, but I could get over it. I had to add a slight modification to Eddie's advice. Thanks Haim and Eddie!!

Modify cuda_mex.pl modification as written above.
Add
$ARCH = "win64";
before the command (line 184)
$ENV{'ARCH'} = $ARCH;

Also, you need to comment out the entire block in the setup_cuda_mex.m titled as
%% Process mex.pl
to prevent further renewal of mex_cuda.pl

vcvarsamd64.bat should be created as written above. You have to slightly change it for use with VS2010Ex and SDK7.1.

Finally, you have to move the cudamexopts.bat to the C:\Users\(USER\AppData\Roaming\MathWorks\MATLAB.
Funny thing is that Matlab R2011a create an additional folder, named R2011a, in above folder and put cudamexopts.bat to the directory, which is not recognized by cuda_mex. So this caused the error message saying 'option file not found'. You just move it to the upper directory and things will go perfectly well.

Contact us