From owner-chemistry "-at-" ccl.net Sat May 5 12:47:00 2007 From: "=?ISO-8859-1?Q?=D6d=F6n?= Farkas farkas%%chem.elte.hu" To: CCL Subject: CCL:G: Question about coding in Gaussian Message-Id: <-34194-070505113430-13759-Yz55mH/NEoc1dA2geEAyXg*server.ccl.net> X-Original-From: =?ISO-8859-1?Q?=D6d=F6n?= Farkas Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Sat, 05 May 2007 17:32:06 +0200 Mime-Version: 1.0 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