Comments for Ive Moved http://www.lindonslog.com Sun, 27 Nov 2016 15:23:00 +0000 hourly 1 https://wordpress.org/?v=4.6.1 Comment on Getting started with ATLAS, BLAS and LAPACK by FoadSF http://www.lindonslog.com/programming/atlas-blas-lapack-linear-algebra-libraries/#comment-1289 Sun, 27 Nov 2016 15:23:00 +0000 http://www.lindonslog.com/?p=539#comment-1289 I used you example here and also collected dozens of other examples in this repository: :
https://github.com/Foadsf/Cmathtuts
with complete instructions for compiling and using BLAS, CBLAS, LAPACK, LAPACKE, CLAPACK…
hope it will be usefull

]]>
Comment on How to crop a pdf when using the ps2pdf converter via -dEPSCrop by Vasily Zhukovsky http://www.lindonslog.com/linux-unix/ps2pdf-how-to-crop-the-white-border/#comment-1255 Thu, 08 Sep 2016 12:54:46 +0000 http://www.lindonslog.com/?p=97#comment-1255 Dear Lindon,

Thank you for your kind post. However, when I try to implement this on my .ps file it does not do as it did for you. It still gives me a pdf file with lots of white space and the figure in the bottom left corner of the page. Do you know what might be going wrong?

]]>
Comment on OpenMP Tutorial – firstprivate and lastprivate by Jung http://www.lindonslog.com/programming/openmp/openmp-tutorial-firstprivate-and-lastprivate/#comment-1243 Mon, 28 Mar 2016 18:57:38 +0000 http://www.lindonslog.com/?p=87#comment-1243 I think, if you specify just private(x), the value of x in parallel loop is not initialized. Thus, x will have random floating number. On the other hand, firstprivate(x) will allow x to have a specific value, which is declared before a parallel region.

]]>
Comment on Creating SSH Keys with ssh-keygen and ssh-copy-id by How to Automate Jekyll Site Deployment on OSX – Matthew Graybosch http://www.lindonslog.com/linux-unix/ssh-keygen-keys/#comment-1240 Thu, 24 Mar 2016 10:17:58 +0000 http://www.lindonslog.com/?p=1#comment-1240 […] But if I want automatic uploads to Dreamhost, I need additional setup. In particular, I need to create SSH keys and have them mirrored on my virtual server. This is where ssh-keygen and ssh-copy-id come in. […]

]]>
Comment on Getting started with ATLAS, BLAS and LAPACK by daemondave http://www.lindonslog.com/programming/atlas-blas-lapack-linear-algebra-libraries/#comment-1236 Thu, 03 Dec 2015 19:56:20 +0000 http://www.lindonslog.com/?p=539#comment-1236 Only on Ubuntu, on Fedora
-lsatlas

Best to use pkg-config to find options:

ATLAS_CFLAGS=$(pkg-config –cflags atlas)
ATLAS_CFLAGS+=$(pkg-config –cflags blas-atlas)
ATLAS_CFLAGS+=$(pkg-config –cflags lapack-atlas)
ATLAS_LDFLAGS=$(pkg-config –libs atlas)
ATLAS_LDFLAGS+=$(pkg-config –libs blas-atlas)
ATLAS_LDFLAGS+=$(pkg-config –libs lapack-atlas)

that gets them on Debian and Redhat distro variants.

]]>
Comment on Send Lines of Code from Vim to R/Julia/Python REPL by bdeonovic http://www.lindonslog.com/linux-unix/send-lines-code-vim-r-julia-python-repl-slime/#comment-1152 Tue, 06 Oct 2015 11:37:14 +0000 http://www.lindonslog.com/?p=1108#comment-1152 Thanks for the post! I also converted from R to Julia and I had yet to see someone implement a nice vim+julia REPL.

]]>
Comment on OpenMP Tutorial – Critical, Atomic and Reduction by admin http://www.lindonslog.com/programming/openmp/openmp-tutorial-critical-atomic-and-reduction/#comment-1118 Thu, 10 Sep 2015 18:43:48 +0000 http://www.lindonslog.com/?p=78#comment-1118 What is your error message?

]]>
Comment on OpenMP Tutorial – Critical, Atomic and Reduction by bingo http://www.lindonslog.com/programming/openmp/openmp-tutorial-critical-atomic-and-reduction/#comment-1081 Mon, 27 Jul 2015 17:44:02 +0000 http://www.lindonslog.com/?p=78#comment-1081 adding #pragma omp atomic after the 8th line isn’t working! 🙁
can u pls elaborate where actually to add/?

]]>
Comment on OpenMP Tutorial – firstprivate and lastprivate by Keith McDaniel http://www.lindonslog.com/programming/openmp/openmp-tutorial-firstprivate-and-lastprivate/#comment-1038 Mon, 15 Jun 2015 21:16:53 +0000 http://www.lindonslog.com/?p=87#comment-1038 In this case, what is the difference between private and firstprivate? Do they not both start the parallel region with the value of the variable declared outside of the parallel block?
I.E., in your initial example, if you simple declared x private, did not assign i to x, then did a print of x, would you not get 44 throughout the entire parallel region? If so, then what is point of firstprivate?

Alternatively, does the first case just initialize the private instance of x within the parallel regions to 0?

]]>
Comment on Calling C++ from R using Rcpp by James http://www.lindonslog.com/programming/r/rcpp/#comment-1012 Mon, 01 Jun 2015 21:54:36 +0000 http://www.lindonslog.com/?p=463#comment-1012 replications=rep(1,0,1) – this is a misleading part of the whole article, could you please change it to sth. else?

Also, i didn’t find the parad version faster than x/y – curious whether we are comparing 8cpus vs. 1 cpu?

]]>