Hi!
I installed fortranposix and gnuplotfortran copied the
library to /usr/local/lib and executed
$ sudo f95 -o gnuplot_fortran95_testbench \
gnuplot_fortran95_testbench.f90 -lfortranposix \
-lgnuplotfortran
in the installing directory. The error messages I get are:
<snip>
In file gnuplot_fortran95_testbench.f90:25
use datatypes, only : i4b,dp,dpc,lgc
1
Error: Symbol 'dpc' referenced at (1) not found in
module 'datatypes'
In file gnuplot_fortran95_testbench.f90:37
complex(dpc), dimension(:), allocatable :: cp
1
Error: Symbol 'dpc' at (1) has no IMPLICIT type
In file gnuplot_fortran95_testbench.f90:74
allocate(cp(numpoints), stat=status)
1
Error: Syntax error in ALLOCATE statement at (1)
In file gnuplot_fortran95_testbench.f90:92
cp(i)=cmplx(cos(x(i)),sin(x(i)),dpc)
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
In file gnuplot_fortran95_testbench.f90:140
itle='sqrt(x
1
Error: Unterminated character constant beginning at (1)
In file gnuplot_fortran95_testbench.f90:198
status=gnuplot_plotcomplex(ptr_gctrl,numpoints,cp,'A
circle ?')
1
Error: Symbol 'cp' at (1) has no IMPLICIT type
In file gnuplot_fortran95_testbench.f90:198
status=gnuplot_plotcomplex(ptr_gctrl,numpoints,cp,'A
circle ?')
1
Error: Type/rank mismatch in argument 'c1' at (1)
<snap>
What did I do wrong?
Thanks in advance, Steffen
Logged In: NO
Please replace dpc with dp in the testbench program. Its a
known bug and will be fixed in the next release.