dillon@uhccux.UUCP (Ian Dillon) (05/17/88)
Aloha! 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. Mahalo in advance! Ian Dillon Department of Chemistry 2545 The Mall Phone: (808) 948-7680 University of Hawaii Honolulu, Hawaii, 96822 ===================================================================== | UUCP: dillon@uhccux.UUCP | | ARPA: dillon%uhccux.uhcc.hawaii.edu@rutgers.edu | | INTERNET: dillon@uhccux.UHCC.HAWAII.EDU | | BITNET: dillon@uhccux.bitnet | =====================================================================
jerry@violet.berkeley.edu ( Jerry Berkman ) (05/18/88)
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 )