Previous Thread
Next Thread
Print Thread
#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
Joined: Oct 2003
Posts: 23
cao Offline
Forum Member
Offline
Forum Member
Joined: Oct 2003
Posts: 23
The document, io.doc will be helpful!

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
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  lennart, rmv 

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

PHP: 7.3.31-1~deb10u1 Page Time: 0.007s Queries: 22 (0.005s) Memory: 0.7401 MB (Peak: 0.7883 MB) Data Comp: Off Server Time: 2022-05-25 14:05:00 UTC
Valid HTML 5 and Valid CSS