Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29419 Discussions

problem when making pgplot with ifort

bearwards
Beginner
2,568 Views

I have fedora 12 32bit on my PC and ifort 11.1 064 on my pc. When doing "make", I met the problem written like:

ifort -fno-backslash -o pgdemo1 ./examples/pgdemo1.f -L`pwd` -lpgplot -L/usr/X11R6/lib -lX11
ifort: command line warning #10006: ignoring unknown option '-fno-backslash'
ld: pgdemo1: hidden symbol `__svml_sincosf4' in /opt/intel/Compiler/11.1/064/lib/ia32/libsvml.a(svml_stub_ssincos4.o) is referenced by DSO
ld: final link failed: Nonrepresentable section on output
make: *** [pgdemo1] Error 1

Any idea about that? Thanks in advance.

0 Kudos
3 Replies
Kevin_D_Intel
Employee
2,568 Views

From the bit of information in the earlier thread (here) and details of your error, I'm guessing the pglpot library is a DSO and the routine named in the error was resolved from the static library, libsvml.a, which causes the conflict.

Maybe you can successfully link by using dynamic Intel libraries. Try adding the following option to your ifort command line: -shared-intel

You probably also noticed the warning about ignoring '-fno-backslash'. You may substitute that with with either ifort equivalent option: -nbs or -assume nobscc

0 Kudos
Ron_Green
Moderator
2,568 Views

you might also try reading our knowledge base article on building pgplot:

http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-pgplot-with-the-intel-compilers/

If it helps, or if you find that it's hopelessly out of date I'd like to know. This article is about 3 years old and is probably due to be revisited.

ron

0 Kudos
bearwards
Beginner
2,568 Views

Ron, actually I knew this article. But I did not follow it. I had a "ifort_gcc.conf" file in the folder "sys_linux" in pgplot and I successfully compiled pgplot with previous version of intel fortran compiler when I used Fedora 8 two years ago. Anyway, I will try by following the steps written on that article.

Thanks~

0 Kudos
Reply