CCL:G: Question about coding in Gaussian



 Sent to CCL by: =?ISO-8859-1?Q?=D6d=F6n?= Farkas [farkas++chem.elte.hu]
 Hi,
 It seems to be a simple problem. If you want using a COMMON block to
 transfer data between different executables, you have to make sure it is
 written out to the read-write file and then in the other program it is
 read and the COMMON block is initialized.
 Best wishes,
 Ödön
 On Fri, 2007-05-04 at 11:41 -0400, george li lgh19721031*hotmail.com
 wrote:
 > Sent to CCL by: "george  li" [lgh19721031-$-hotmail.com]
 > Hi CCLers,
 >
 > I am new programmer for Gaussian(03). I am trying to use COMMON block to
 transfer some data between different subroutines, but when I do this, in the
 sender subroutine (say L101.F) it is OK, which shows all correct values for the
 variables, but in receiver subroutines (say L301.F) it cannot show correct
 values, which all of them are zero.
 >
 > Compilation is no problem.
 >
 > Could you give me some hints for how to use COMMON block in Gaussian codes?
 >
 > Thank you very much!!!
 >
 > Have a great weekend!!!>
 >
 >
 --
 Ödön Farkas
 Associate professor
 Deparment of Organic Chemistry and
 Laboratory of Chemical Informatics,
 Institute of Chemistry,
 Eötvös Loránd University, Budapest
 Address: 1/A Pázmány Péter sétány,
 H-1117 Budapest, Hungary
 Phone: +36-1-372-2570
 Cell phone: +36-30-255-3111
 Fax: +36-1-372-2620
 URL: http://organ.elte.hu/farkas