On 2007-05-31 13:32+0900 Valery Pipin wrote: > I have added -Vaxlib to FCFLAGS and it does not help.
Hi Valery: I am sure you knew this, but just to keep the record straight it should be FC, i.e., export FC='ifort -O0 -Vaxlib' not FCFLAGS. > It may be because the > intel libraries are not in standard path. As rpm complaine is > > verify-elf: WARNING: ./usr/lib/libplplotf95d.so.9.1.1: not found: libimf.so > verify-elf: WARNING: ./usr/lib/libplplotf95d.so.9.1.1: not found: > libifport.so.5 > verify-elf: WARNING: ./usr/lib/libplplotf95d.so.9.1.1: not found: > libifcore.so.5 > verify-elf: WARNING: ./usr/lib/libplplotf95d.so.9.1.1: undefined symbol: > for_iargc > > Both libimf and libifort are in /usr/local/intel/lib that is in > LD_LIBRARY_PATH. I think you are correct that rpm won't work for your setup since rpm expects everything is installed in standard locations. At this point, you may just want to turn off the f77 and f95 interfaces since you are not primarily interested in those. However, in case you have some remaining interest or someone else runs into ifort problems there is still the alternative of doing a simple PLplot build and install without worrying about the special requirements of rpm. That is, use the normal cmake; make; and make install. I think that procedure would work correctly on any system where ifort is installed in a non-standard location. After all, ifort knows how to link everything (i.e., it knows the locations of its libraries), and at run-time, your LD_LIBRARY_PATH tells the run-time loader where to find those same fortran libraries. A comprehensive test of the fortran interface to PLplot built and installed that way is provided if you try "make install", and then run the standard installed examples test (e.g., run "make" and "./plplot-test.sh" in $PREFIX/share/plplot5.7.3/examples, where $PREFIX is the PLplot installation prefix you specified to the cmake command with the -DCMAKE_INSTALL_PREFIX option.) You could also try "ldd -r $PREFIX/lib/libplplotf95d.so" to make sure all libraries are found and those libraries define all required symbols. 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 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 __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general