tag:blogger.com,1999:blog-7716747799980827970.post1019341462643836124..comments2023-04-24T13:06:44.661-06:00Comments on GPULib: Example MATLAB code in GPULibmessmerhttp://www.blogger.com/profile/16388704938720390836noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7716747799980827970.post-9397881716805403792008-07-08T14:35:00.000-06:002008-07-08T14:35:00.000-06:00thanks to nathaniel.. i have solved the problem of...thanks to nathaniel.. i have solved the problem of installing and buidling the library.... and i have successfully run the first example...using GPUlib.. :D :D :D :) :) and i wil keep on posting the results in the future..GpuGaneshhttps://www.blogger.com/profile/16717615449900572989noreply@blogger.comtag:blogger.com,1999:blog-7716747799980827970.post-18632976474480402672008-07-08T10:35:00.000-06:002008-07-08T10:35:00.000-06:00@hifik -- looks like you didn't actually build the...@hifik -- looks like you didn't actually build the library.<BR/><BR/>In the main directory of gpulib, you must do the following:<BR/><BR/>config/cleanconf.sh<BR/><BR/>./configure --with-matlab-dir=YOUR_MATLAB_ROOT_DIR<BR/><BR/>make<BR/><BR/>This will compile (1) the vectorOp files and (2) the MATLAB .c files into mex files such as gpuZeros.mexglx necessary to run the example.<BR/><BR/>I'll be working on making the documentation clearer on how to build and install the library for the next release.Nathanielhttps://www.blogger.com/profile/12359540646140479991noreply@blogger.comtag:blogger.com,1999:blog-7716747799980827970.post-1456522780761681892008-07-08T09:56:00.000-06:002008-07-08T09:56:00.000-06:00@gpuganesh -- documentation is something that's cu...@gpuganesh -- documentation is something that's currently very high on the to-do list. I hope to have a decent draft included in the next release.Nathanielhttps://www.blogger.com/profile/12359540646140479991noreply@blogger.comtag:blogger.com,1999:blog-7716747799980827970.post-83156707432358373912008-07-08T06:40:00.000-06:002008-07-08T06:40:00.000-06:00Many of my freinds are in queue to experiment with...Many of my freinds are in queue to experiment with GPULIB but everyone is suffering with the same problem of not enough documentation of how to compile and how to install this library..if u cud tell us..I am sure your library gonna be huge success in scientific community after all everybody is interested in accelrating their approaches...GpuGaneshhttps://www.blogger.com/profile/16717615449900572989noreply@blogger.comtag:blogger.com,1999:blog-7716747799980827970.post-85017728877087509032008-07-08T06:27:00.000-06:002008-07-08T06:27:00.000-06:00after extracting gpulib..cud u tell me step by ste...after extracting gpulib..cud u tell me step by step approach to run the xample in ode_cell in matlab under linux..I am new to linux.actaully i was developing cuda based application in windows.when i have extracted the library what i cud see is a set of cfiles and make file and two folders ode_cell.I have set the matlab path from the file-setpath-to matlab folder in gpu lib and after that when i type [reactTime, diffTime] = monodomain_driver(750, 201, 201,'gpu', [250, 500, 750], 1.0)<BR/>/////////////////////////////////<BR/>i got the following error...<BR/><BR/>??? Undefined function or method 'gpuZeros' for input arguments of type 'double'.<BR/><BR/>Error in ==> monodomain_driver at 140<BR/> gpu_cell_vars(i) = gpuZeros(ncells,1);<BR/><BR/>...............................<BR/>do i have to do something with MAke file...I dont understand how matlab can call c files wihtout having compiled mex fiels of all those c files...M very confused...and the documentation was not good enough...I am really looking for a great help from u...wud be grateful to u...RakeshGpuGaneshhttps://www.blogger.com/profile/16717615449900572989noreply@blogger.com