[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PIC flags not found for mpif77(ifort)
From: |
Christian Rössel |
Subject: |
PIC flags not found for mpif77(ifort) |
Date: |
Fri, 10 Dec 2010 14:56:51 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 |
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