I've been testing the fortran examples using a rather old version of ifort (8.1) on 64-bit linux. In order to get the examples to compile and run I encountered two issues
1) Example 20 requires the -assume byterecl flag to ifort in order to get byte length records. Otherwise reading lena.pgm fails with an error. This is in accord with the comment in the example. 2) Example 21 requires the -O0 flag, otherwise the compiler optimises away the test (x.ne.x) in the function myisnan. For 1) it would be nice to automatically add this option if ifort is detected. For 2) the flag to turn off optimisation is a bit of a fix. ifort does have an isnan intrinsic (along with many other compilers) which we could use instead. This requires some extra cmake logic though. Any suggestions? After these two changes I get the following with ifort 8.1 (64-bit) f77 Missing examples : 26 Differing examples : 20 21 23 f95 Missing examples : 24 25 26 27 Differing examples : 20 21 With gfortran 4.1 on the same machine I get f77 Missing examples : 26 Differing examples : 20 23 f95 Missing examples : 24 25 26 27 Differing examples : 20 For example 21, some of the differences are just rounding errors. I do however see some additional line at the end like. This is from plot3d. I also see similar extra lines from the java and octave versions on a different machine, so again I suspect a rounding error. Andrew ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel