[petsc-dev] Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process

Satish Balay balay at mcs.anl.gov
Sun Oct 9 10:39:14 CDT 2016


Perhaps chkopts also doesn't make sense anymore [esp with user
makefiles] - so you could use the attached patch [which diables
checkopts - and this also disables petscnagupgrade.py]

Satish

On Sun, 9 Oct 2016, Matthew Knepley wrote:

> On Sun, Oct 9, 2016 at 7:11 AM, Antonio Trande <anto.trande at gmail.com>
> wrote:
> 
> > On 10/09/2016 11:48 AM, Matthew Knepley wrote:
> > > On Sun, Oct 9, 2016 at 4:23 AM, Antonio Trande <anto.trande at gmail.com
> > > <mailto:anto.trande at gmail.com>> wrote:
> > >
> > >     On 10/08/2016 11:50 PM, Satish Balay wrote:
> > >     >>
> > >     >> Do tests need internet by chance?
> > >     >
> > >     > Nope - but you might want to disable petscnagupgrade.py in
> > >     lib/petsc/conf/rules
> > >
> > >
> > >     How?
> > >
> > >
> > > Change the action for the chk_upgrade target to 'true'
> > >
> >
> > I hope that it's right:
> >
> 
> That is not what I was talking about at all. It has
> 
> chk_upgrade:
> - at PETSC_DIR=${PETSC_DIR} ${PYTHON} ${PETSC_DIR}/bin/petscnagupgrade.py
> 
> which you change to
> 
> chk_upgrade:
> - at true
> 
>    Matt
> 
> 
> 
> > --- lib/petsc/conf/rules.orig   2016-07-24 19:18:20.000000000 +0200
> > +++ lib/petsc/conf/rules        2016-10-09 12:09:20.632035457 +0200
> > @@ -82,7 +82,7 @@
> >             user=`ls -l ${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX}
> > | tr
> > -s ' ' | cut -d ' ' -f 3`; \
> >             echo "Libraries were built by user $$user; please contact
> > him/her
> > to have them rebuilt."; \
> >             printf
> > "******************************************************"${
> > PETSC_TEXT_NORMAL}"\n"
> > ; \
> > -           false; \
> > +           true; \
> >           fi; \
> >         fi; \
> >         done
> >
> > PAPI disabled.
> >
> > Please, see the result of testing at the bottom of this log:
> > https://copr-be.cloud.fedoraproject.org/results/
> > sagitter/petsc/fedora-rawhide-x86_64/00462741-petsc/build.log.gz
> >
> > --
> > ---
> > Antonio Trande
> > mailto: sagitter 'at' fedoraproject 'dot' org
> > http://fedoraos.wordpress.com/
> > https://fedoraproject.org/wiki/User:Sagitter
> > GPG Key: 0x6CE6D08A
> > Check on https://keys.fedoraproject.org/
> >
> >
> 
> 
> 
-------------- next part --------------
diff --git a/lib/petsc/conf/rules b/lib/petsc/conf/rules
index c6cfba4..7491faf 100644
--- a/lib/petsc/conf/rules
+++ b/lib/petsc/conf/rules
@@ -60,9 +60,10 @@ chklib_dir: chk_makej
 	@if [ ! -d "${INSTALL_LIB_DIR}" ]; then \
 	  echo Making directory ${INSTALL_LIB_DIR} for library; ${MKDIR} ${INSTALL_LIB_DIR} ; fi
 
-
 # 3. Check if the shared libs are out of date
-chkopts: chk_upgrade
+chkopts:
+	@true
+chkopts_disabled: chk_upgrade
 	@for LIBNAME in ${SHLIBS}; do \
 	  library=${INSTALL_LIB_DIR}/$$LIBNAME.a; \
 	sharedlibrary=${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX}; \


More information about the petsc-dev mailing list