3 ms·
Does anybody here have any advice on reading and understanding old fortran77 code written around the year 2000? We need to make it faster. Any advice on visuali
by Something1234 8y ago
Does anybody here have any advice on reading and understanding old fortran77 code written around the year 2000? We need to make it faster. Any advice on visualizing the flow would also be helpful, as it makes use of goto extensively.
- celias 8y agohttps://stackoverflow.com/questions/3161564/how-can-i-visualize-fortran-90-or-later-source-code-e-g-using-graphviz https://stackoverflow.com/questions/3161564/how-can-i-visual... has some suggestions. I haven't tried any but am thinking of using Doxygen as described for some old Fortran77 code with lots of gotos since Understand is well outside of our budget. You're probably aware of this, but our biggest speed gains in some code we ported from DEC Fortran to gfortran was vectorizing loops. Best of luck.
- gnufx 8y agoIf you want to do performance engineering on computational code, particularly parallel, go to vi-hps.org or the sites for other toolsets like openspeedshop and hpctoolkit; also tools.bsc.es if vi-hps doesn't cover them -- I can't remember.