/usr/lib/petscdir/3.4.2/linux-gnu-c-opt/conf/petscrules is in libpetsc3.4.2-dev 3.4.2.dfsg1-8.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | shared_install:
-@echo "Now to check if the libraries are working do:"
-@echo "make PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} test"
-@echo "========================================="
remoteclean:
remote:
libc: ${LIBNAME}(${OBJSC})
libcu: ${LIBNAME}(${OBJSCU})
libf: ${OBJSF}
-${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF}
shared_arch: shared_linux
.F.a:
${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} $<
-${AR} ${AR_FLAGS} ${LIBNAME} $*.o
-${RM} $*.o
.f.o .f90.o .f95.o:
${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} -o $@ $<
.f.a:
${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} $<
-${AR} ${AR_FLAGS} ${LIBNAME} $*.o
-${RM} $*.o
.F.o .F90.o .F95.o:
${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} -o $@ $<
petsc4py:
mpi4py_noinstall:
mpi4py:
|