Hi, I am trying to call LAPACK from C on FC2 and I was wondering how to use dynamic memory allocation here. In other words, I want to use one of these routines (written in Fortran) in LAPACK, and I want to be able to set the size of the arrays based on the application. How do I allocate memory dynamically in C, such that I can pass it on through Fortran functions. An example would be really nice. Sorry this is not really a FC question, but surely this is potentially of general interest? Please feel free to send e-mail if you want to take it out of this list. Thanks and best wishes! RM __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com