[petsc-users] compiler error

Gideon Simpson gideon.simpson at gmail.com
Wed Jan 13 22:42:21 CST 2016


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160113/e8c7f51c/attachment.html>


More information about the petsc-users mailing list