Hi, I have a problem with -static-intel option. there is a link error.
ifort -O2 -fpic -shared -nofor_main -Wl,-rpath,'$ORIGIN' -o libFBAPICS.so -L/opt/intel/composer_xe_2011_sp1.9.293/mkl/include -L. -lstdc++ -static-intel /opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64/libifcore_pic.a /opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64/libifport.a /opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64/libimf.a /opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64/libsvml.a ADDRESS.o ld: /opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64/libifcore.a(for_close.o): relocation R_X86_64_32 against `.rodata.str1.4' can not be used when making a shared object; recompile with -fPIC
/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64/libifcore.a: could not read symbols: Bad value
make: *** [FBAPICS] Error 1
i have tried libifcoremt_pic.a also but it doesnt work.



