[petsc-dev] *****SPAM*****Re: how to solve this problem ?
Jed Brown
jed at jedbrown.org
Mon Jun 29 08:41:00 CDT 2020
1. It's just a warning
https://askubuntu.com/questions/925485/created-in-deterministic-mode-error/925511
2. You wouldn't normally run make from that subdirectory
3. You're running a rather old version of PETSc, and especially if you're extending/debugging PETSc, please switch to the latest version
"yym" <583692365 at qq.com> writes:
> txdy827 at ubuntu:~/software/petsc-3.8.4/src/snes/impls/ngmres$ make
> make[1]: Warning: Archive '/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a' seems to have been created in deterministic mode. 'snesngmres.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
> /home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/bin/mpicc -o snesngmres.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O -I/home/txdy827/software/petsc-3.8.4/include -I/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/include `pwd`/snesngmres.c
> /usr/bin/ar cr /home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a snesngmres.o
> if test -n ""; then /usr/bin/ar cr snesngmres.lo; fi
> /bin/rm -f snesngmres.o snesngmres.lo
> make[1]: Warning: Archive '/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a' seems to have been created in deterministic mode. 'snesngmres.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
> make[1]: Warning: Archive '/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a' seems to have been created in deterministic mode. 'ngmresfunc.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
> /home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/bin/mpicc -o ngmresfunc.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O -I/home/txdy827/software/petsc-3.8.4/include -I/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/include `pwd`/ngmresfunc.c
> /usr/bin/ar cr /home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a ngmresfunc.o
> if test -n ""; then /usr/bin/ar cr ngmresfunc.lo; fi
> /bin/rm -f ngmresfunc.o ngmresfunc.lo
> make[1]: Warning: Archive '/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a' seems to have been created in deterministic mode. 'ngmresfunc.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
> make[1]: Warning: Archive '/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a' seems to have been created in deterministic mode. 'anderson.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
> /home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/bin/mpicc -o anderson.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -O -I/home/txdy827/software/petsc-3.8.4/include -I/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/include `pwd`/anderson.c
> /usr/bin/ar cr /home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a anderson.o
> if test -n ""; then /usr/bin/ar cr anderson.lo; fi
> /bin/rm -f anderson.o anderson.lo
> make[1]: Warning: Archive '/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a' seems to have been created in deterministic mode. 'anderson.o' will always be updated. Please consider passing the U flag to ar to avoid the problem.
>
>
>
> thank you for your help!!
More information about the petsc-dev
mailing list