I know I did a git pull recently, but when did that change?  What’s the fifth 
argument represent?

-gideon

> On Jan 13, 2016, at 11:54 PM, Satish Balay <ba...@mcs.anl.gov> wrote:
> 
> On Wed, 13 Jan 2016, Gideon Simpson wrote:
> 
>> I haven’t seen this before:
>> 
>> /mnt/HA/opt/openmpi/intel/2015/1.8.1-mlnx-ofed/bin/mpicc -o fixed_batch.o -c 
>> -fPIC  -wd1572 -g   -I/home/simpson/software/petsc/include 
>> -I/home/simpson/software/petsc/arch-linux2-c-debug/include 
>> -I/mnt/HA/opt/openmpi/intel/2015/1.8.1-mlnx-ofed/include   -Wall 
>> `pwd`/fixed_batch.c
>> /home/simpson/projects/dnls/petsc/fixed_batch.c(44): warning #167: argument 
>> of type "PetscScalar={PetscReal={double}} *" is incompatible with parameter 
>> of type "const char *"
>>      PetscOptionsGetScalar(NULL,"-xmax",&xmax,NULL);
>>                                         ^
>> 
>> /home/simpson/projects/dnls/petsc/fixed_batch.c(44): error #165: too few 
>> arguments in function call
>>      PetscOptionsGetScalar(NULL,"-xmax",&xmax,NULL);
> 
> Try:
> 
>      PetscOptionsGetScalar(NULL,NULL,"-xmax",&xmax,NULL);
> 
> Satish

Reply via email to