Hello,
Wow, I am not sure I have ever read a FORTRAN FILE with more thant 30,600 lines. I wonder if there is a maximum number of lines for this file or not.
Anyway, why have not you written a loop to define your ADD_PARTICLE statements in FORTRAN as you did in your external Python script? Maybe it can solve the problem?
Have you tried to run a simple simulation with 3 particles at different depths,
e.g.:
CALL ADD_PARTICLE(393553.D0,6437736.D0,-5.D0,1,NFLOT,
& NFLOT_MAX,XFLOT,YFLOT,ZFLOT,TAGFLO,
& SHPFLO,SHZFLO,ELTFLO,ETAFLO,MESH3D,NPLAN,
& 0.D0,0.D0,0.D0,0.D0,0,0)
CALL ADD_PARTICLE(393553.D0,6437736.D0,-10.D0,1,NFLOT,
& NFLOT_MAX,XFLOT,YFLOT,ZFLOT,TAGFLO,
& SHPFLO,SHZFLO,ELTFLO,ETAFLO,MESH3D,NPLAN,
& 0.D0,0.D0,0.D0,0.D0,0,0)
CALL ADD_PARTICLE(393553.D0,6437736.D0,-15.D0,1,NFLOT,
& NFLOT_MAX,XFLOT,YFLOT,ZFLOT,TAGFLO,
& SHPFLO,SHZFLO,ELTFLO,ETAFLO,MESH3D,NPLAN,
& 0.D0,0.D0,0.D0,0.D0,0,0)
Moreover, I would strongly recommend you to use the latest v8p0r3 version (or the new branch v8p1) as many bugs have been solved since V7P0. We cannot assist users for too old versions.
Hope this helps,
Chi-Tuan