Previous Thread
Next Thread
Print Thread
What does UNIT stand for?
#472 10/30/03 10:04 AM
Joined: Oct 2003
Posts: 40
tjaart Offline OP
Forum Member
OP Offline
Forum Member
Joined: Oct 2003
Posts: 40
Hi all

In all the scripts you open a UNIT with a number afterwards. What does this UNIT stand for? What does it do? Is certain numbers reserved and what do the numebrs stand for?

Thanks!!!!!


Tjaart de Beer
Re: What does UNIT stand for?
tjaart #473 10/30/03 04:02 PM
Joined: Oct 2003
Posts: 23
cao Offline
Forum Member
Offline
Forum Member
Joined: Oct 2003
Posts: 23
The document, io.doc will be helpful!

Re: What does UNIT stand for?
cao #474 10/31/03 06:29 AM
Joined: Oct 2003
Posts: 40
tjaart Offline OP
Forum Member
OP Offline
Forum Member
Joined: Oct 2003
Posts: 40
I don't seem to find anything on UNIT in either io.doc or usage.doc? Any other files where I may look?


Tjaart de Beer
Re: What does UNIT stand for?
tjaart #475 10/31/03 04:46 PM
Joined: Oct 2003
Posts: 23
cao Offline
Forum Member
Offline
Forum Member
Joined: Oct 2003
Posts: 23
Sorry for incorrect information.
From usage.doc
Fortran I/O Units Usage by CHARMM
In order to keep CHARMM as machine independent as possible, all
specification of files is done through Fortran unit numbers. Two unit
numbers have special signifigance, 5 and 6. Unit 5 is the command file
interpreted by CHARMM. Unit 6 is the output file for all printed
messages. As commands are read from unit 5, they are echoed on unit 6.
All other unit numbers have no predefined meaning. The CHARMM OPEN
command may be used to assign files to units.

It just follows fortran's I/O rules.


Moderated by  John Legato, lennart 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 5.6.33-0+deb8u1 Page Time: 0.010s Queries: 22 (0.004s) Memory: 0.9109 MB (Peak: 0.9932 MB) Data Comp: Off Server Time: 2020-06-07 10:13:05 UTC
Valid HTML 5 and Valid CSS