superlu_dist
superlu_dist copied to clipboard
Compied with trilinos with the following error "can not be used when making a shared object"
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.