- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dears,
when i try to compile my fortran 90 program using ifort, it replies with error:
/usr/local/pgplot/libpgplot.so: undefined reference to `e_rsfe'
/usr/local/pgplot/libpgplot.so: undefined reference to `e_wsfi'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_stop'
/usr/local/pgplot/libpgplot.so: undefined reference to `G77_getenv_0'
/usr/local/pgplot/libpgplot.so: undefined reference to `f_clos'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_wsfe'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_rsue'
/usr/local/pgplot/libpgplot.so: undefined reference to `f_inqu'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_cmp'
/usr/local/pgplot/libpgplot.so: undefined reference to `e_wsfe'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_cat'
/usr/local/pgplot/libpgplot.so: undefined reference to `e_rsue'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_copy'
/usr/local/pgplot/libpgplot.so: undefined reference to `do_fio'
/usr/local/pgplot/libpgplot.so: undefined reference to `f_open'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_rsfe'
/usr/local/pgplot/libpgplot.so: undefined reference to `s_wsfi'
/usr/local/pgplot/libpgplot.so: undefined reference to `do_uio'
/usr/local/pgplot/libpgplot.so: undefined reference to `i_indx'
libpgplot is a plotting sofware.
where can i get libraries including these functions?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your library was compiled by g77 and must be used with g77 only. In general, objects and libraries built with one Fortran compiler can't be used with a different Fortran compiler.
If sources for that library are available, you will need to recompile them with Intel Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a write up on how to build PGPLOT with Intel compilers:
http://www.intel.com/support/performancetools/sb/cs-027810.htm
I helped write this about 18 months ago for the 10.0 compiler, but it should still work with 11.0 or 10.1. Let me know if you find any errors. And also let me know if it was helpful.
ron
![](/skins/images/8B6E2C8F64F54CBD7F7262AA46F575DA/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page