Hello
since some decades I am trying to access functionality for the use of plplot
I am running on Linux Leap15.0
I am a 75-Dino(saur) still working on Fortran.
Since two weeks I succeed in installing plplot with Cmake and looking at some old mails you exchanged
with some bros, I even succeeded in compiling the examples with DBUILD_TEST=ON.
But excuse that I still feel like in a no-where-land and I do not know what to do.
So I derived a simple own program. I tried to compile but I failed. (see below)
Can you help?
program my1stpl
use plplot
implicit none
real(plflt),dimension(6) :: x,y
real(plflt) :: xmin,ymin,xmax,ymax
x(1)=1
x(2)=2
x(3)=3
x(4)=4
x(5)=5
x(6)=6
y=xx
write(,*) y
call plinit()
xmin=1.
ymin=1.
xmax=7.
ymax=40.
call plcol0(1)
call plenv(xmin,xmax,ymin,ymax,0,0)
call pllab('X','Y','MY1ST 2D PLOT')
call plpoin(x,y,8)
call plline(x,y)
call plend()
end program my1stpl
linux-cj8n:~ # gfortran my1stpl.f90 -o my1stpl /root/plplot/build_dir/lib/csa /root/plplot/build_dir/bindings/fortran /root/plplot/build_dir/src
my1stpl.f90:2:4:
use plplot
1
Fatal Error: Can't open module file ‘plplot.mod’ for reading at (1): No such file or directory
compilation terminated.
linux-cj8n:~ #
(I found a plplot.mod but it the file appears as music note)
Regards
Ron Deslandes
Hi all,
Alan posted the solution, everything looks okay. 100%.
Thanks and regards
Ron