From: Alan W. I. <ir...@be...> - 2015-07-14 22:17:55
|
On 2015-07-14 18:34-0000 Spong, Donald A. wrote: > I recently upgraded to Plplot 5.11.0. If I use Plplot from within a Fortran 90 code that tries to open a formatted file and read from it, I get an error upon execution: > forrtl: severe (257): formatted I/O to unit open for unformatted transfers, unit 15, file /Users/dsp/fortran_code_development/taeflseab/MVanZeeland_ECH_2015/modeling_inputs_157737_t470.txt > Image PC Routine Line Source > libplplotf95.12.d 0000000109393DDC Unknown Unknown Unknown > xmvz-read 0000000109323889 Unknown Unknown Unknown > xmvz-read 0000000109320A4B Unknown Unknown Unknown > xmvz-read 000000010932051E Unknown Unknown Unknown > > If I change the unit number from 15 to something else I still get the error. If I comment out the Plplot calls and compile without Plplot, the error goes away. It’s acting as if Plplot has occupied all available I/O units and declared them to be unformatted. How do I fix this? Hi Don: The answer depends on whether this is a regression we have recently introduced or a long-standing characteristic of our Fortran binding (or more likely our core C library which is interfaced by that binding since I believe all the PLplot I/O is done by our core C library). So to help us formulate that answer, do you get similar problems for the previous PLplot release (5.10.0) or not? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |