I am trying to compile a finite element library (DEAL.II) using pgcc/pgCC version 6.2 on 64bit linux.
But it seems that there are many compiling warnings and link warnings when I compile the shared library file. When I compile the example files in this library I got the following errors:
pgCC-Warning-Unknown switch: -rdynamic
/scratch/xub/dealii/lib/libdeal_II_2d.g.so: undefined reference to `__builtin_expect’
After that, I add a compiler option -shared , this time I can compile the example file, but I got a run-time error:
[xub@matrix step-1]$ ./step-1
However, I can compile this library sucessfully with gcc/g++ compiler.
Could anyone help me ??
The deal.ii library can be downloaded from :