On Wed, May 23, 2012 at 3:44 AM, Jon Elson <el...@pico-systems.com> wrote: > Matt Shaver wrote: >> >> I would also be interested in hearing from any people with experience >> in Fortran who would be interested in helping port this code to the >> Linux platform. If you could indicate your level of Fortran experience >> and any reasons for your interest in this code, that would be very >> helpful. >> > Aughhhh! I used to write a LOT of code in FORTRAN, and I know "where > the bodies are > buried". Ie. the kinds of things in FORTRAN that cause endless > trouble. The worst > is having unmatching common blocks in different parts of the code. A > compiler that
I have spent a while trying to get the APT360 version 64bit compliant and have to agree about common block missmatch. This code does have unmatched common blocks in differing phases of the code which Im not sure f2c and gcc get right. > permits something like the C include statement goes a long way toward > preventing > those. There are a few more things that either don't translate well or > lead to other > difficulties. There is an f2c converter program that might be useful. f2c has trouble with some of the evil constructs that APT uses these need fixing in the original code I think or hand fixing during conversion. I would love to run a diff between versions of the code base to see if these constructs are fixed later versions. One dirty hack Im seeing is saving space in an area of the common block by putting multiple flags in bytes/words without sensible comments. Dave Caroline (not in USA) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users