I have a program that runs fine on one machine but when I take it to another machine I get this runtime error:
Runtime error from program:c:\users\aks\desktop\smpnew\checkmate\win32\smp.exe Run-time Error Attempt to call a routine with argument number five containing too few array elements
RAOPHS - in file raophs.for at line 28 [+0136]
RMSTOE - in file rmstoe.for at line 143 [+0ba8]
IRGSEA - in file irgsea.for at line 28 [+013b]
main - in file smp91.for at line 128 [+031e]
break point RMSTOE.for
CALL RAOPHS (AOMGE(1,IH),RAO1(1,1,IH),DUM,RAO2(1,1,KH),DUM,
2 KREC(IH),IR,IV,IH,IPHS)
RAOPHS.for
COMMON/PHYSCO/II,TPI,PI,PIOT,DEGRAD,RADDEG,VKMETR,METRVK,GRAV,RHO,
2 GNU,RHOS,RHOF,GNUS,GNUF,FTMETR,PUNITS,REYSCL
The errors come in the lines that begin with 2. I checked the variable named DUM and it says that it's undefined. This code works on another computer without any issues[/i]