superlu_dist icon indicating copy to clipboard operation
superlu_dist copied to clipboard

Compied with trilinos with the following error "can not be used when making a shared object"

Open ztdepztdep opened this issue 1 year ago • 3 comments

I enable the superlu_dist in trilinos, but it gives me the following error:

SuperLU_DIST_2.5/lib/libsuperlu_dist_2.5.a(dutil.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC I have tried to add "-fPIC" after the cflag , but it doesn't change anything. Could you please give me some advices.

ztdepztdep avatar Sep 05 '22 05:09 ztdepztdep