[petsc-users] Compiling Error of petsc-dev
Jed Brown
jedbrown at mcs.anl.gov
Sun Apr 7 23:05:24 CDT 2013
Zhang <zyzhang at nuaa.edu.cn> writes:
> 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
This was a bad batch rename, though I don't know why nobody noticed it
yet. Can you:
$ git checkout next
$ git pull
$ make reconfigure all test
Let us know if you encounter any other problems.
More information about the petsc-users
mailing list