<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 50: Help compiling a simple plplot-prog</title><link href="https://sourceforge.net/p/plplot/support-requests/50/" rel="alternate"/><link href="https://sourceforge.net/p/plplot/support-requests/50/feed.atom" rel="self"/><id>https://sourceforge.net/p/plplot/support-requests/50/</id><updated>2020-08-25T09:34:21.104000Z</updated><subtitle>Recent changes to 50: Help compiling a simple plplot-prog</subtitle><entry><title>#50 Help compiling a simple plplot-prog</title><link href="https://sourceforge.net/p/plplot/support-requests/50/?limit=25#1949" rel="alternate"/><published>2020-08-25T09:34:21.104000Z</published><updated>2020-08-25T09:34:21.104000Z</updated><author><name>Ron Deslandes</name><uri>https://sourceforge.net/u/mac-rodes74/</uri></author><id>https://sourceforge.netae77ca3e84c483ba115246978566c4538ac8a6de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;br/&gt;
Alan posted the solution, everything looks okay. 100%.&lt;br/&gt;
Thanks and regards&lt;br/&gt;
Ron&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Help compiling a simple plplot-prog</title><link href="https://sourceforge.net/p/plplot/support-requests/50/" rel="alternate"/><published>2020-08-24T09:15:32.063000Z</published><updated>2020-08-24T09:15:32.063000Z</updated><author><name>Ron Deslandes</name><uri>https://sourceforge.net/u/mac-rodes74/</uri></author><id>https://sourceforge.net37ac5630541e00fa894e6c19c853b0847aec416a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;br/&gt;
since  some decades I am trying to access functionality for the use of plplot&lt;br/&gt;
I am running on Linux Leap15.0&lt;br/&gt;
I am a 75-Dino(saur) still working on Fortran.&lt;br/&gt;
Since two weeks I succeed in installing plplot with Cmake and looking at some old mails you exchanged&lt;br/&gt;
with some bros, I even succeeded in compiling the examples with DBUILD_TEST=ON.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;linux-cj8n:~ # cd plplot&lt;br/&gt;
2.linux-cj8n:~/plplot # rm -rf plplot-5.15.0 build_dir install_directory&lt;/li&gt;
&lt;li&gt;linux-cj8n:~/plplot # tar -zxf plplot-5.15.0.tar.gz&lt;br/&gt;
4.linux-cj8n:~/plplot # mkdir build_dir&lt;br/&gt;
5  linux-cj8n:~/plplot # cd build_dir&lt;/li&gt;
&lt;li&gt;copy cmake(bin) to /root/bin&lt;/li&gt;
&lt;li&gt;copy cmake(share) to /root/share/&lt;br/&gt;
8.linux-cj8n:~/plplot # cmake -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=/home/root/plplot/install_directory ../plplot-5.15.0 &amp;gt;&amp;amp; cmake.out&lt;/li&gt;
&lt;li&gt;less cmake.out&lt;/li&gt;
&lt;li&gt;linux-cj8n:~/plplot/build_dir # make VERBOSE=1 &amp;gt;&amp;amp; make.out&lt;/li&gt;
&lt;li&gt;linux-cj8n:~/plplot/build_dir # less make.out&lt;/li&gt;
&lt;li&gt;linux-cj8n:~/plplot/build_dir # less make_install.out&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;But excuse that I still feel like in a no-where-land and I do not know what to do.&lt;br/&gt;
So I  derived a simple own program. I tried to compile but I failed. (see below)&lt;br/&gt;
Can you help?&lt;/p&gt;
&lt;p&gt;program my1stpl&lt;br/&gt;
use plplot&lt;br/&gt;
implicit none&lt;br/&gt;
real(plflt),dimension(6) :: x,y&lt;br/&gt;
real(plflt) :: xmin,ymin,xmax,ymax&lt;br/&gt;
x(1)=1&lt;br/&gt;
x(2)=2&lt;br/&gt;
x(3)=3&lt;br/&gt;
x(4)=4&lt;br/&gt;
x(5)=5&lt;br/&gt;
x(6)=6&lt;br/&gt;
y=x&lt;em&gt;x&lt;br/&gt;
write(&lt;/em&gt;,*) y&lt;br/&gt;
call plinit()&lt;br/&gt;
xmin=1.&lt;br/&gt;
ymin=1.&lt;br/&gt;
xmax=7.&lt;br/&gt;
ymax=40.&lt;br/&gt;
call plcol0(1)&lt;br/&gt;
call plenv(xmin,xmax,ymin,ymax,0,0)&lt;br/&gt;
call pllab('X','Y','MY1ST 2D PLOT')&lt;br/&gt;
call plpoin(x,y,8)&lt;br/&gt;
call plline(x,y)&lt;br/&gt;
call plend()&lt;br/&gt;
end program my1stpl&lt;/p&gt;
&lt;p&gt;linux-cj8n:~ # gfortran my1stpl.f90 -o my1stpl /root/plplot/build_dir/lib/csa /root/plplot/build_dir/bindings/fortran /root/plplot/build_dir/src&lt;br/&gt;
my1stpl.f90:2:4:&lt;br/&gt;
 use plplot&lt;br/&gt;
    1&lt;br/&gt;
Fatal Error: Can't open module file ‘plplot.mod’ for reading at (1): No such file or directory&lt;br/&gt;
compilation terminated.&lt;br/&gt;
linux-cj8n:~ #&lt;/p&gt;
&lt;p&gt;(I found a plplot.mod but it the file appears as music note)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Ron Deslandes&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>