<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1: testbench won't compile</title><link href="https://sourceforge.net/p/gnuplotfortran/support-requests/1/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplotfortran/support-requests/1/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplotfortran/support-requests/1/</id><updated>2006-01-02T15:16:01Z</updated><subtitle>Recent changes to 1: testbench won't compile</subtitle><entry><title>testbench won't compile</title><link href="https://sourceforge.net/p/gnuplotfortran/support-requests/1/" rel="alternate"/><published>2006-01-02T15:16:01Z</published><updated>2006-01-02T15:16:01Z</updated><author><name>Steffen Brinkmann</name><uri>https://sourceforge.net/u/subcom/</uri></author><id>https://sourceforge.neta6fa8ab28f13e1dabfeea0d69fe1d255b7a0ece7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I installed fortranposix and gnuplotfortran copied the&lt;br /&gt;
library to /usr/local/lib and executed&lt;br /&gt;
$ sudo f95 -o gnuplot_fortran95_testbench \
gnuplot_fortran95_testbench.f90 -lfortranposix \
-lgnuplotfortran&lt;/p&gt;
&lt;p&gt;in the installing directory. The error messages I get are:&lt;/p&gt;
&lt;p&gt;&amp;lt;snip&amp;gt;&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:25&lt;/p&gt;
&lt;p&gt;use datatypes, only : i4b,dp,dpc,lgc&lt;br /&gt;
1&lt;br /&gt;
Error: Symbol 'dpc' referenced at (1) not found in&lt;br /&gt;
module 'datatypes'&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:37&lt;/p&gt;
&lt;p&gt;complex(dpc), dimension(:), allocatable :: cp&lt;br /&gt;
1&lt;br /&gt;
Error: Symbol 'dpc' at (1) has no IMPLICIT type&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:74&lt;/p&gt;
&lt;p&gt;allocate(cp(numpoints), stat=status)&lt;br /&gt;
1&lt;br /&gt;
Error: Syntax error in ALLOCATE statement at (1)&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:92&lt;/p&gt;
&lt;p&gt;cp(i)=cmplx(cos(x(i)),sin(x(i)),dpc)&lt;br /&gt;
1&lt;br /&gt;
Error: Unexpected STATEMENT FUNCTION statement at (1)&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:140&lt;/p&gt;
&lt;p&gt;itle='sqrt(x&lt;br /&gt;
1&lt;br /&gt;
Error: Unterminated character constant beginning at (1)&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:198&lt;/p&gt;
&lt;p&gt;status=gnuplot_plotcomplex(ptr_gctrl,numpoints,cp,'A&lt;br /&gt;
circle ?')&lt;br /&gt;
1&lt;br /&gt;
Error: Symbol 'cp' at (1) has no IMPLICIT type&lt;br /&gt;
In file gnuplot_fortran95_testbench.f90:198&lt;/p&gt;
&lt;p&gt;status=gnuplot_plotcomplex(ptr_gctrl,numpoints,cp,'A&lt;br /&gt;
circle ?')&lt;br /&gt;
1&lt;br /&gt;
Error: Type/rank mismatch in argument 'c1' at (1)&lt;/p&gt;
&lt;p&gt;&amp;lt;snap&amp;gt;&lt;/p&gt;
&lt;p&gt;What did I do wrong?&lt;/p&gt;
&lt;p&gt;Thanks in advance, Steffen&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>