|
From: Volodymyr S. <sv...@es...> - 2011-03-10 11:57:54
|
Dear DISCUS users, I have got an "Error -9: Invalid correlation vector index given" in the following macro for MC simulations mmc set neig,rese set vec,1,1,1,1,0,0 set vec,2,1,1,0,1,0 set vec,3,1,1,-1,0,0 set vec,4,1,1,0,-1,0 set neig,vec,1,2,3,4 ====> "Error -9" happens here set neig,add set vec,5,1,1,1,1,0 set vec,6,1,1,-1,1,0 set vec,7,1,1,1,-1,0 set vec,8,1,1,-1,-1,0 set neig,vec,5,6,7,8 set mode, 1.0, swchem,all set targ,1,corr,gd,void,$1,0.0,CORR set targ,2,corr,gd,void,$2,0.0,CORR set cyc, 250000 set feed, 1000 set temp,$3 run exit The format seems right and looks the same as in the manual. Tried to put just one vector for a test and changed to "set neig,vec,1" but still got the same problem. Interestingly, when I was trying this in an older version of DISCUS (from DIFFUSE 060611 package), there was no problem with this line, although I was getting problems later with the "set targ,1,corr,gd,void,$1,0.0,CORR" line. Thank you for you help. Regards, Volodymyr |