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);
 

Reply via email to