For one we haven't seen this issue before, and don't know what it causing this 
on your machine. [why is
/home/txdy827/software/petsc-3.8.4/arch-linux2-cxx-debug/lib/libpetsc.a created 
in 'deterministic mode' as this message suggests].

It not clear why this warning comes up. Likely you can ignore it.

Or if you wish to debug - suggest:

- create a fresh build of petsc
- and send us the relevant logs, [configure.log, make.log]


And you are using a very old version of petsc. Suggest upgrading to current 
release - 3.13 - if feasible.

Satish

On Mon, 29 Jun 2020, yym wrote:

> txdy827@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!

Reply via email to