From: Alan W. I. <ir...@be...> - 2006-11-27 22:09:38
|
On 2006-11-28 05:18+0900 hiroyasu yasuda wrote: >> You could try the following: >> >> - Copy, say, x01f.f90 to a separate directory >> - Then compile it and link it like this: >> >> gfortran -o example x01f.f90 -I/directory/with/modules -L/ >> directory/with/libraries -lplplotf95d -lplplotf95cd -lplplotd > > > I gave above-command Include directory and Libraries directory on my > system, I could succeed compiling. > Since I can not find 'plplot.mod' in /usr/local/include/, I give > unziped plplot directory as Include directory temporally. > How to produce 'plplot.mod' ? Where should be modules file > 'plplot.mod' ? This is all taken care of in the recommended pkg-config approach that is used with our new CMake build system. Again, look at what the installed examples/f95/Makefile file does (for our new CMake build system), and copy that. 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); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |