Dear list,

if I call

./configure --enable-shared F77=mpif77 ...

where mpif77 translates to

ifort -I/opt/parastation/mpi2-intel/include
-L/opt/parastation/mpi2-intel/lib -Wl,-rpath
-Wl,/opt/parastation/mpi2-intel/lib -lmpich -lpthread
-L/opt/parastation/lib64 -Wl,-rpath,/opt/parastation/lib64
-Wl,--enable-new-dtags -lpscom -lrt

configure fails in finding PIC flags (mpicc (icc) and mpicxx (icpc) PIC
flags are discovered though):

configure:17627: checking for mpif77 option to produce PIC
configure:17899: result:

There is no more output concerning the PIC flags in config.log.
With F77=ifort everything works as expected:

configure:16805: checking for ifort option to produce PIC
configure:17077: result: -fPIC
configure:17086: checking if ifort PIC flag -fPIC works
configure:17104: ifort -c -g -fPIC  conftest.f >&5
configure:17108: $? = 0
configure:17121: result: yes

Any ideas what is going wrong there?

Thanks,
Christian

_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to