N
nitroamos
hello --
i'm working on a C++ code that uses dgemm in a simple way, but i want
ports of my code to different machines to be easy.
further, i want to make compiling of my code easy for new users -- i
don't want them to compile more libraries than absolutely necessary
(compiling ATLAS or GotoBLAS is necessary).
i already have my code working with both BLAS and CBLAS interfaces,
but I have some questions.
1) can i expect cblas to be available on pretty much any machine i
want to use? because ATLAS packages CBLAS, it didn't occur to me that
CBLAS might be standard until now.
2) to use blas, I had to switch from using new [] to malloc, and
delete [] to free. why? once allocated, i didn't realize there was a
difference.
is it not possible to use new [] allocated arrays with fortran
libraries?
3) once your code can is programmed to use either, is linking directly
to BLAS preferable in any way to using CBLAS?
thanks!
amos.
i'm working on a C++ code that uses dgemm in a simple way, but i want
ports of my code to different machines to be easy.
further, i want to make compiling of my code easy for new users -- i
don't want them to compile more libraries than absolutely necessary
(compiling ATLAS or GotoBLAS is necessary).
i already have my code working with both BLAS and CBLAS interfaces,
but I have some questions.
1) can i expect cblas to be available on pretty much any machine i
want to use? because ATLAS packages CBLAS, it didn't occur to me that
CBLAS might be standard until now.
2) to use blas, I had to switch from using new [] to malloc, and
delete [] to free. why? once allocated, i didn't realize there was a
difference.
is it not possible to use new [] allocated arrays with fortran
libraries?
3) once your code can is programmed to use either, is linking directly
to BLAS preferable in any way to using CBLAS?
thanks!
amos.