I haven't been following this discussion carefully, so this comment may
miss the mark.
Ian Bush was quoted as having written:
> Certainly, and it does nothing for you when calling libraries, e.g.
> for BLAS it's DGEMM I generally want on my workstation here, but for
> the Cray it's SGEMM.
This problem is already solved.
Define your problem in terms of the number of digits you're using.
Define a generic interface, say GEMM, that includes DGEMM and SGEMM.
Use the generic name.
If your real number kind is, say, SELECTED_REAL_KIND(P=13) you'll get DGEMM
on your Sun workstation, and SGEMM on your Cray.
--
What fraction of Americans believe | Van Snyder
Wrestling is real and NASA is fake? | [log in to unmask]
Any alleged opinions are my own and have not been approved or disapproved
by JPL, CalTech, NASA, Dan Goldin, Bill Clinton, the Pope, or anybody else.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|