<br>Dear all,<br><br>I use git to pull the petsc-dev and configured with the folliwing options:<br><br>./configure --with-shared-libraries=1 --with-dynamic-loading=1  --with-x=1 --with-blas-lapack-dir=/usr/lib/lapack --with-valgrind=1 --download-openmpi=1 --with-cc=gcc --with-fc=gfortran --with-clanguage=C++   --with-c++-support=1 --with-valgrind=1 --with-sieve=1 --with-opt-sieve=1 --with-fiat=1 --download-scientificpython --download-fiat --download-generator --download-triangle --with-ctetgen --download-chaco --download-boost=1 --download-ctetgen --download-hypre=1 --download-metis --download-parmetis --with-cuda=1 --with-thrust=1 --with-cusp=1 --with-cusp-dir=/usr/local/cuda/include/ --download-txpetscgpu=1 --download-cmake<br><br>When make it, error appeared in make.log<br>...<br>ainvcusp.cu:373:118: error: macro "PetscObjectComposeFunction" requires 3 arguments, but only 2 given<br>/usr/bin/ar: ainvcusp.o: No such file or directory<br>...<br>=========================================<br>**************************ERROR************************************<br>  Error during compile, check arch-linux2-c-opt/conf/make.log<br>  Send it and arch-linux2-c-opt/conf/configure.log to petsc-maint@mcs.anl.gov<br>********************************************************************<br><br>Please leave me any light on solving it, thanks first<br><br>BTW, any instruction on correct installation of development version is welcome, :-)<br><br><br>Zhenyu Zhang<br><br><span></span>