I tried running in batch=1 and that seems to have fixed it. Default
modules in the KNL compute nodes are different, that may have caused
the problem.
Thanks,

On Sat, Mar 11, 2017 at 11:22 AM, Matthew Knepley <knep...@gmail.com> wrote:
> Looks like a module problem
>
> Executing: cc -c -o /tmp/petsc-7rDzhd/config.setCompilers/conftest.o
> -I/tmp/petsc-7rDzhd/config.setCompilers
> /tmp/petsc-7rDzhd/config.setCompilers/conftest.c
> Possible ERROR while running compiler: exit code 256
> stderr:
> Error invoking pkg-config!
> Package cray-udreg was not found in the pkg-config search path.
> Perhaps you should add the directory containing `cray-udreg.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'cray-udreg', required by 'mpich', not found
> Source:
> #include "confdefs.h"
> #include "conffix.h"
>
> int main() {
> ;
>   return 0;
> }
>               Popping language C
>           Error testing C compiler: Cannot compile C with cc.
>             Deleting "CC"
>
>    Matt
>
> On Sat, Mar 11, 2017 at 8:43 AM, Mark Adams <mfad...@lbl.gov> wrote:
>>
>> I have been using Cori/KNL with Intel MPI and want to move to cray-mpi
>> and am having an error with cc.
>>
>> 06:42 1 cori06 maint= ~/petsc_install/petsc$ cc --version
>> icc (ICC) 17.0.1 20161005
>> Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.
>
>
>
>
> --
> What most experimenters take for granted before they begin their experiments
> is infinitely more interesting than any results to which their experiments
> lead.
> -- Norbert Wiener

Reply via email to