[petsc-users] Compiling Error of petsc-dev

Zhang zyzhang at nuaa.edu.cn
Sun Apr 7 22:21:03 CDT 2013


Dear all,

I use git to pull the petsc-dev and configured with the folliwing options:

./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

When make it, error appeared in make.log
...
ainvcusp.cu:373:118: error: macro "PetscObjectComposeFunction" requires 3 arguments, but only 2 given
/usr/bin/ar: ainvcusp.o: No such file or directory
...
=========================================
**************************ERROR************************************
  Error during compile, check arch-linux2-c-opt/conf/make.log
  Send it and arch-linux2-c-opt/conf/configure.log to petsc-maint at mcs.anl.gov
********************************************************************

Please leave me any light on solving it, thanks first

BTW, any instruction on correct installation of development version is welcome, :-)


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


More information about the petsc-users mailing list