[comp.sys.sgi] A fortran routine to call system time and host address

calvin@dinkum.wpd.sgi.com (Calvin H. Vu) (01/17/91)

In <1991Jan15.163103.29660@ms.uky.edu> hongde@s.ms.uky.edu (Hongde Luo) writes:


| We try to send a objective fortran file to someone to use. However,	
| we want to limit the time and machine on which the program is to be
| used. For instance, we want this user to have access to the file
| before July 1, 1991 and he can use this only on a certain SGI machine.
| Are there any specific command or utilities in fortran to check
| the clock time and ethernet address? 

	You can write a Fortran-callable [by appending a '_' to the routine
    name] C routine to check for the time and/or system id.  The functions
    to use are sysid() and time() [or some variations of it].

| -- 
| ************************>>>>    Hongde Luo     <<<<*************************
| *  Center for Computational Science | 1320 Nancy Hanks Rd. #5              *
| *  University of Kentucky           | Lexington, KY 40504-1243             *
| *  Lexington, KY 40506              | (606)-254-2331 (h) | 257-8741 (work) *

- calvin
--
-----------------------------------------------------------------------------
Calvin H. Vu			   | "We are each of us angels with only one
Silicon Graphics Computer Systems  | wing.  And we can only fly embracing
calvin@sgi.com   (415) 962-3679	   | each other."