[petsc-users] installation question

Satish Balay balay at mcs.anl.gov
Fri Mar 27 10:16:36 CDT 2015


On Fri, 27 Mar 2015, Gideon Simpson wrote:

> My admin did an install of petsc on ubuntu 14.0 using the package manager.  Things seem to be ok, expect I noticed the following when I compile using the petsc rules:
> 
> mpicxx -o ex19.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O   -fPIC    -I/usr/lib/petscdir/3.4.2/include -I/usr/lib/petscdir/3.4.2/linux-gnu-c-opt/include -I/usr/include -I/usr/include/suitesparse -I/usr/include/scotch -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi    -D__INSDIR__= ex19.c
> /usr/bin/python: can't open file '/usr/lib/petscdir/3.4.2/bin/petscnagupgrade.py': [Errno 2] No such file or directory
> make: [chk_upgrade] Error 2 (ignored)
> mpicxx -Wl,--no-as-needed  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O   -o ex19 ex19.o  -L/usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib -L/usr/lib/petscdir/3.4.2/linux-gnu-c-opt/lib  -lpetsc -L/usr/lib -ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord -lscalapack-openmpi -lHYPRE_utilities -lHYPRE_struct_mv -lHYPRE_struct_ls -lHYPRE_sstruct_mv -lHYPRE_sstruct_ls -lHYPRE_IJ_mv -lHYPRE_parcsr_ls -lcholmod -lumfpack -lamd -llapack -lblas -lX11 -lpthread -lptesmumps -lptscotch -lptscotcherr -L/usr/lib/x86_64-linux-gnu -lfftw3 -lfftw3_mpi -lm -L/usr/lib/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/lib/x86_64-linux-gnu -lmpi_f90 -lmpi_f77 -lgfortran -lm -lgfortran -lm -lquadmath -lm -lmpi_cxx -lstdc++ -ldl -lmpi -lhwloc -lgcc_s -lpthread -ldl 
> /bin/rm -f -f ex19.o
> 
> I know the file is just a nag to upgrade petsc, but should I just continue to ignore it?  Is there a reason it wasn’t installed by the package manager?

Thats a question for the person packaging PETSc [for debian/ubuntu]

You can remove 'chkopts' from your makefile - and then it won't do this check..

Satish


More information about the petsc-users mailing list