From: Struct E. <str...@gm...> - 2014-11-19 05:03:52
|
I have installed Plplot-5.10.0 as noted in my previous email. I found the following command to compile with and the error meesages regarding plshades did not appear: gfortran -o main main.f90 `PKG_CONFIG_PATH=/home/greg/plplot/install_directory/lib/pkgconfig pkg-config --cflags --libs plplotd-f95` It appears to have worked (execcutable file main created) and no error messages. However when I try to run the program with the following command: ./main I get the following error message: ./main: error while loading shared libraries: libplplotf95d.so.11: cannot open shared object file: No such file or directory Any help to resolve this would be appreciated. Thanks On Tue, Nov 18, 2014 at 2:32 AM, Alan W. Irwin <ir...@be...> wrote: > On 2014-11-17 22:46-0600 Struct Engr wrote: > > I have installed plplot on Ubuntu 12.04 for use with gfortran (f95). I >> was >> able to compile and run plplot example 1 in fortran. My goal is to use >> plplot for color contour plots. But when I run the following contours >> example: >> >> plshades demo, using color fill >> >> I get the following errors: >> >> ||=== Build: Debug in Test PLplot (compiler: GNU Fortran Compiler) ===| >> /home/greg/Test PLplot/main.f90|133|/home/greg/Test PLplot/main.f90 133 >> .127:| >> ||Error: There is no specific subroutine for the generic 'plshades' | >> /home/greg/Test PLplot/main.f90|181|/home/greg/Test PLplot/main.f90 181 >> .51:| >> ||Error: There is no specific subroutine for the generic 'plshades' | >> /home/greg/Test PLplot/main.f90|229|/home/greg/Test PLplot/main.f90 229 >> .60:| >> ||Error: There is no specific subroutine for the generic 'plshades' | >> /home/greg/Test PLplot/main.f90|278|/home/greg/Test PLplot/main.f90 278 >> .60:| >> ||Error: There is no specific subroutine for the generic 'plshades' | >> /home/greg/Test PLplot/main.f90|343|/home/greg/Test PLplot/main.f90 343 >> .60:| >> ||Error: There is no specific subroutine for the generic 'plshades' | >> ||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) >> ===| >> >> >> I do not know why it finds other plplot subroutines but not plshades. I >> have installed PLplot-5.10.0 using cmake. Is it possible plshades is >> missing from the library? >> >> Help would be appreciated. >> > > Hi Greg: > > In case, that Ubuntu binary version is broken in some way, I suggest > you follow the directions in our Wiki > <https://sourceforge.net/p/plplot/wiki/Home/> for downloading 5.10.0 > and building and testing that version of PLplot. > > Note, if there is anything in that Wiki that needs clarification, > please bring it to our attention here so we can fix it. > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > |