From: Irena J. <ijo...@pp...> - 2014-09-22 19:47:14
|
Hello Alan, Please find below the errors I am getting when I ran the comprehensive run-time tests. Scanning dependencies of target tcl_examples Scanning dependencies of target x07c Scanning dependencies of target x13c Scanning dependencies of target x08c [ 0%] [ 0%] Building C object c/CMakeFiles/x07c.dir/x07c.c.o [ 8%] Building C object c/CMakeFiles/x13c.dir/x13c.c.o Building C object c/CMakeFiles/x08c.dir/x08c.c.o [ 39%] Built target tcl_examples Scanning dependencies of target x34c [ 39%] Building C object c/CMakeFiles/x34c.dir/x34c.c.o Linking C executable x13c Linking C executable x07c /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x13c] Error 2 make[2]: *** [c/CMakeFiles/x13c.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x07c] Error 2 make[2]: *** [c/CMakeFiles/x07c.dir/all] Error 2 Linking C executable x08c /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x08c] Error 2 make[2]: *** [c/CMakeFiles/x08c.dir/all] Error 2 Linking C executable x34c /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x34c] Error 2 make[2]: *** [c/CMakeFiles/x34c.dir/all] Error 2 make[1]: *** [CMakeFiles/test_diff_psc.dir/rule] Error 2 make: *** [test_diff_psc] Error 2 Scanning dependencies of target x33c Linking C executable x13c Linking C executable x07c Linking C executable x08c [ 1%] Building C object c/CMakeFiles/x33c.dir/x33c.c.o /usr/bin/ld: cannot find -lplplot /usr/bin/ld: cannot find -lplplot /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x07c] Error 2 make[2]: *** [c/CMakeFiles/x07c.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [c/x08c] Error 2 make[2]: *** [c/CMakeFiles/x08c.dir/all] Error 2 make[3]: *** [c/x13c] Error 2 make[2]: *** [c/CMakeFiles/x13c.dir/all] Error 2 Linking C executable x33c /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x33c] Error 2 make[2]: *** [c/CMakeFiles/x33c.dir/all] Error 2 make[1]: *** [CMakeFiles/test_noninteractive.dir/rule] Error 2 make: *** [test_noninteractive] Error 2 Linking C executable x33c Linking C executable x13c Linking C executable x07c Linking C executable x08c /usr/bin/ld: cannot find -lplplot /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x33c] Error 2 make[2]: *** [c/CMakeFiles/x33c.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [c/x13c] Error 2 make[2]: *** [c/CMakeFiles/x13c.dir/all] Error 2 /usr/bin/ld: cannot find -lplplot /usr/bin/ld: cannot find -lplplot make[3]: *** [c/x08c] Error 2 make[2]: *** [c/CMakeFiles/x08c.dir/all] Error 2 make[3]: *** [c/x07c] Error 2 make[2]: *** [c/CMakeFiles/x07c.dir/all] Error 2 make[1]: *** [CMakeFiles/test_interactive.dir/rule] Error 2 make: *** [test_interactive] Error 2 Thanks, Irena On Wed, Aug 27, 2014 at 3:41 PM, Alan W. Irwin <ir...@be...> wrote: > On 2014-08-27 14:58-0400 Irena Johnson wrote: > > Alan, >> >> I will do the run-time testing -- thank you for the detailed info! >> >> I do have one more question: it seems that I do not have the static >> libraries built under plplot (I only have the shared libraries -- can >> fortran use these libraries?). >> > > Yes, Fortran can use these shared libraries. In fact the run-time > testing I suggested (and just completed for git master) does exactly > that with our standard Fortran 95 examples (for the gfortran/gcc case, > see further comments about the PG case below). > > Is there a flag I should set at >> configuration time? >> > > The VERBOSE=1 make option outputs every flag used in compilation for > CMake-generated Makefiles such as these based on internal knowlege > CMake has about what is required for the PG compilers you are using. > So look up the relevant part of compiling the Fortran 95 examples in > the run-time test *.out files (assuming those run-time tests work), > and that tells you all the flags you need to use. Alternative more > sophisticated ways to get the compile and link flags you need for your > applications in the PG case can be determined from "make install" > results which along with everything else installs both a simple > CMake-based build system for the installed examples as well as a more > traditional (Makefile + pkg-config) build system for those installed > examples. > > Big caveat. Whatever method you use to obtain the necessary compile > and link flags for your applications, you might find an issue for the > PG compilers since as far as I know you are the first in a long time > to try those compilers for the PLplot case. But we will attempt to > fix such bugs so long as you continue to give us details about > any issues you find. > > > 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 > __________________________ > -- Irena |