Q: Proper location for dynamically-loadable modules
I am developing an application which loads most of its code at run-time from a set of shared-libraries. These libraries are code modules which are not generally usable from other applications. Under Debian's file-system standards, can I put these shared libraries in a subdirectory of /usr/local/lib, say /usr/local/lib//*.so (a script would set LD_LIBRARY_PATH to include this path, then call the executable), or should the libraries be in /usr/local/lib? -- Christopher Lee http://www.cs.cmu.edu/~chrislee [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: The last latex2e question.........
>>>>> "p" == phillip Neumann <[EMAIL PROTECTED]> writes: p> Hi, Im a little desperade, becasue i have to insert a graphic p> in my latex2e document. I have search the guides, but i didnt p> find something it could help (maybe i look at it too p> quickly..). Its a jpg. I learn, at univ., that i should insert p> it with the folowing command: First, convert the jpeg to an encapsulated postscript file. xv can do this for you (I am sure other programs can also). Then, before the \begin{document} statement in the LaTeX file, insert the statement \usepackage{psfig}. In your document body, do something like this: \psfig{file=image-name.epsi} or \psfig{width=2.5in,file=image-name.epsi} To insert the image. You can use the epsf package too, if you prefer. -- Christopher Lee http://www.cs.cmu.edu/~chrislee [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: Where is lapack-dev ?
>>>>> "I" == Ionut Borcoman at debian <[EMAIL PROTECTED]> writes: I> The package 'cfortran', sugested by Christopher Lee I> <[EMAIL PROTECTED]> looked more appropriate for what I'm I> needing. Unfortunately, it doesn't work for matrixes bigger I> than 14x14. Or maybe I've done again something wrong. I am not sure what this means. cfortran.h is a header file for exporting Fortran functions to C. Did you use this to call BLAS/Lapack from C and get the wrong answer when using large matrices? If this is the case, I would definitely like to know what went wrong (what size matrix, what BLAS/Lapack functions, what error mode). You can use cpp to see what cfortran.h does for your particular function declaration. -- Christopher Lee http://www.cs.cmu.edu/~chrislee [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: Lapack question
>>>>> "I" == Ionut Borcoman at debian <[EMAIL PROTECTED]> writes: I> Hi, How do I use a function from lapack in a C program ? Where I> are the declaration ? Do I have to make myself the declaration I> ? I use the cfortran header file from this location ftp://zebra.desy.de/cfortan to build prototypes for BLAS and Lapack functions. I have a wrapper library (CHRLIB) for much of BLAS and some of Lapack at this location: http://www.cs.cmu.edu/~chrislee/chrlib/ There is also a Guile wrapper for this library (G-CHRLIB) at the same location. Information about BLAS and Lapack can be found here: http://www.psc.edu/general/software/packages/blas/blas.html http://www.psc.edu/general/software/packages/lapack/lapack.html I> A more general question: is there a way to find out what I> functions are in a lib and what argumenst do they need ? bash$ nm {libfilename} -- Christopher Lee http://www.cs.cmu.edu/~chrislee [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null