[Gnuplotfortran-discuss] gnuplotfortran and g95 on Sun
Status: Beta
Brought to you by:
madhusudansingh
From: Tomasz K. <to...@ec...> - 2005-07-14 21:39:42
|
I tested fortranposix-0.1 and gnuplotfortran-0.2.2-1 on Sun with g95 compiler. Here are results: -------------------------------------------------------------------- Test computer: > uname -a SunOS name.dom1.purdue.edu 5.8 Generic_117350-11 sun4u sparc SUNW,Ultra-80 > g95 -v gcc version 4.0.1 (g95!) Jul 10 2005 > gcc -v gcc version 3.4.3 > make -v GNU Make 3.80 > gnuplot -V gnuplot 4.0 patchlevel 0 Test results: 1. fortranposix required modifications: - Makefile: changed "-shared" to "-G" 2. gnuplotfortran required modifications: - Makefile: changed "-shared" to "-G" - gnuplot_fortran95.f90: uncomment line 94 (why was it commented out?) 3. testbench required modifications: - gnuplot_fortran95_testbench.f90: according to dbx all calls to "fortran_getchar(debug)" failed on line 390 in posixwrapper.c: if((*readchar=getchar())==EOF) I don't know enough to investigate further, so I just replaced status=fortran_getchar(debug) with read(*,'(a1)') debug ------------------------------------------------------------------- As far as I can tell, all tests in gnuplot_fortran95_testbench finished correctly. Sun Fortran 95 8.1 does not fail on "fortran_getchar(debug)" so this looks like a bug in g95. Tomasz |