Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!purdue!decwrl!labrea!agate!violet.berkeley.edu!jerry From: jerry@violet.berkeley.edu ( Jerry Berkman ) Newsgroups: comp.lang.fortran Subject: Re: Dynamical Allocation on Ultrix Keywords: allocating memory Message-ID: <10062@agate.BERKELEY.EDU> Date: 17 May 88 21:20:46 GMT References: <1854@uhccux.UUCP> Sender: usenet@agate.BERKELEY.EDU Reply-To: jerry@violet.berkeley.edu.UUCP ( Jerry Berkman ) Organization: University of California, Berkeley Lines: 20 In article <1854@uhccux.UUCP> dillon@uhccux.UUCP (Ian Dillon) writes: >We have been running programs on VMS utilizing dynamic allocation of memory >through standard FORTRAN subroutines. These subroutines use specific VMS >library functions. > >If anyone has succeded in doing the same but on a UNIX system would you >provide a little guidance here. I realise it can be done in "C", and >would welcome advice using it, but as my boss is a firm believer in >FORTRAN, would greatly appreciate any suggestions here as well. In 4.3 BSD, use the Fortran callable functions "malloc", "falloc", and "free". The manual page, displayed by "man 3f malloc", gives examples on how to use them. I believe these are available in Ultrix. Our VAX 8800 which runs Ultrix has the binary, malloc_.o in /usr/lib/libU77.a, but does not have the corresponding manual page. I'm not sure our manual pages are up to date. - Jerry Berkman, Central Computing Services, (415)642-4804 jerry@violet.berkeley.edu ( Internet ) jerry at ucbviole ( Bitnet )