[petsc-dev] Checking for valid C linker flags with Intel 19 on Cygwin

Tim Steinhoff kandanovian at gmail.com
Mon Apr 1 05:10:23 CDT 2019


we moved from Intel 16 to Intel 19 compiler on Cygwin and it seems
that Intel has changed their error message, when PETSc is testing for
rpath flag.

Intel 16 - PETSc rejects the flag correctly:
stdout: icl: command line warning #10157: ignoring option '/W';
argument is of wrong type
            Rejecting C linker flag -Wl,-rpath,/reps/petsc.git due to

Now with Intel 19, PETSc thinks it is valid despite the warning message:
stdout: icl: command line warning #10148: option
'/Wl,-rpath,/home/jac/reps/petsc/petsc.git' not supported
            Valid C linker flag -Wl,-rpath,/home/jac/reps/petsc/petsc.git

This leads to PETSc not recognizing that rpath is actually not
supported which will lead to problems later.

Could you please add the new message to the check in
containsInvalidFlag (setCompilers.py) or should I create a PR?

Thanks and kind regards,


More information about the petsc-dev mailing list