You don't say what system you are using, but my experience on Windows
(95 and NT) is that when FORTRAN is called from Splus there is not
enough stack space for FORTRAN to allocate large data structures. A work
around I have used (there may be better ways) is to create all large
structures in Splus and pass them to FORTRAN. Then the space is already
allocated.
For example, I have a program that needs to calculate a kronecker
product within the FORTRAN program as an intermediate calculation step.
I found that I needed to set up a matrix in Splus of the appropriate
size and pass it to the FORTRAN program or I would always get a stack
overflow except in trivial size problems. Hope that helps
Michael Conklin
****************************************
Michael Conklin
Sr. VP Analytic Services
Custom Research Inc.
8401 Golden Valley Rd
Minneapolis, MN 55427
mconklin@customresearch.com
763-542-0821 (Voice)
763-542-0864 (Fax)
>>> "Vumani Dlamini" <dvumani@hotmail.com> 06/21/01 04:24AM >>>
I am using the FORTRAN interface, and have successfully loaded and used
my
code for a small dataset. The problem I am now having is that once I
increase the size of my dataset I get the message (in FORTRAN),
#
unhandled exception in SPLUS.EXE (temp.dll):0*C00000FD: Stack overflow
#
I am debugging using SPLUS as my executable file in FORTRAN. The data
is
actually accepted by FORTRAN (the dll) without a problem as I can see
it in
the debug window.
Thanks
Vumani
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
---------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
************************************************************
IMPORTANT CONFIDENTIALITY NOTICE: The documents and
accompanying email communication contain confidential
information belonging to the sender, Custom Research Inc.,
and are legally protected. If you are not the intended
recipient, you are hereby notified that any disclosure,
copying, distribution or the taking of any action in
reliance on the contents of the communicated information is
strictly prohibited.
************************************************************
|