From: Alan W. I. <ir...@be...> - 2014-08-27 19:41:27
|
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 __________________________ |