PROTIN on alpha machines

Dr. Mrigank mrigank at imtech.ernet.in
Thu Jul 1 23:20:13 EST 1993


hello!

> I have ported PROTIN and PROFFT to run on DEC OpenVMS AXP platform.
> I have problems with PROTIN.
> In compiling:
> 
> 	      1       PROGRAM PROTIN
> ................................
> 	   1219       SUBROUTINE PLNTAB (NOPLAN,IEOFIN,KRESMP,ISKIPN,ISKIPC)
> 	   1220 C
> 	   1498       IACID = IDACD(IRES,ICHAIN)
> 	   1499       KIND1 = MAXGRP + 1
> 		..............1          
> %FORT-W-UNINIT, (1) Variable MAXGRP is used before its value has been defined
> ............................
> 	   1759       SUBROUTINE VDWINR (NOVDW,NONOW,ISID1,VDWCUT)
> 	   1760 C
> 	   1897       IF(IRES.EQ.IRESC.AND.IATOM.EQ.ISID1.AND.ID(IA).NE.ICB) GO TO 2190
> 	   1898       IF(JRES.EQ.JRESN.AND.JATOM.EQ.ISID1.AND.ID(JA).NE.ICB) GO TO 2190
> 		.................1                                                      
> %FORT-W-UNINIT, (1) Variable JRESN is used before its value has been defined
> *****************************************************************************

It is because MAXGRP *must be* (confirm) a local variable to Subroutine PLNTAB.
So a easy solution will be to put the follwoing as first executable statment
in the Subroutine PLNTAB:

	MAXGRP = 0

Similarly for JRESN in Subroutine VDWINR.

Hope this will work. Solution can be better, if you know the program well.
Try with some CASE tools . 

       		regards, 
        	
	Mrigank
--
Dr. Mrigank                         Phone: +91 172 45004 x216
Institute of Microbial Technology   Email: mrigank at imtech.ernet.in
P O Box 1304, Sector 39A            UUCP:
Chandigarh 160 014 India.           ...!uunet!sangam!vikram!imtech!mrigank
==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+
-- Various phillosphers have interpreted the world in varios ways. The
   point, however, is to change it.




More information about the Xtal-log mailing list