Compiler is rejecting '-dynamic' [and its not really an optimization option]

Satish

>>>>>>>>>>
xecuting: mpiicc -c -o /tmp/petsc-qYByEL/config.setCompilers/conftest.o 
-I/tmp/petsc-qYByEL/config.setCompilers -I/tmp/petsc-qYByEL/config.libraries  
-fPIC  -wd1572 -g -O3 -fp-model fast -xMIC-AVX512 -qopt-report=5 
-DX2_HAVE_INTEL -dynamic   /tmp/petsc-qYByEL/config.setCompilers/conftest.c
Possible ERROR while running compiler:
stderr:
icc: command line warning #10006: ignoring unknown option '-dynamic'
icc: remark #10397: optimization reports are generated in *.optrpt files in the 
output location
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
              Rejecting compiler flag -g -O3 -fp-model fast -xMIC-AVX512 
-qopt-report=5 -DX2_HAVE_INTEL -dynamic  due to
icc: command line warning #10006: ignoring unknown option '-dynamic'
icc: remark #10397: optimization reports are generated in *.optrpt files in the 
output location
>>>>>>>>>>>>

On Wed, 31 Aug 2016, Mark Adams wrote:

> I am not getting my COPTFLAGS to get used. This is what I use and I see
> them in the log but they do not seem to make it to the compile line.
> 
>   configure_options = [
>     'COPTFLAGS=-g -O3 -fp-model fast -xMIC-AVX512 -qopt-report=5
> -DX2_HAVE_INTEL -dynamic',
>     'CXXOPTFLAGS=-g -O3 -fp-model fast -xMIC-AVX512 -qopt-report=5
> -DX2_HAVE_INTEL -dynamic',
>     'FOPTFLAGS=-g -O3 -fp-model fast -xMIC-AVX512 -qopt-report=5
> -DX2_HAVE_INTEL -dynamic',
> 

Reply via email to