[petsc-dev] make documentation

Jakub Kruzik jakub.kruzik at vsb.cz
Mon Jan 16 10:09:53 CST 2017


Dear all,

I have a problem with the documentation on the updated master branch.

The problem is in chk_manualpage_dir makefile rule (called by make 
alldoc1). It fails to create $LOC/docs/manualpages/${SUBMANSEC} 
directories for some sections.

Even some manual sections for pestc-dev branch are missing e.g. 
http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/index.html


I believe the problem is in 1b266c9 ( 
https://bitbucket.org/petsc/petsc/commits/1b266c996c0ee2177e49587321b28ae9c622ce9a#chg-lib/petsc/conf/rules 
), the parent ( 3b494cf ) works OK.


Best,

Jakub


Part of the error output:

--------

manualpages_buildcite in: /opt/petsc/petsc/src/vec/vec/utils
if [ "" == "" ] ; then SUBMANSEC=Vec; else SUBMANSEC=; fi; \
          if [ ! -d "/opt/petsc/petsc/docs/manualpages/" ]; then \
   echo Making directory /opt/petsc/petsc/docs/manualpages/${SUBMANSEC} 
for library; /usr/bin/mkdir -p 
/opt/petsc/petsc/docs/manualpages/${SUBMANSEC}; fi
if [ "Vec" != "" ] ; then \
           if [ "" == "" ] ; then SUBMANSEC=Vec; else SUBMANSEC=; fi; \
           DOCTEXT_PATH=/opt/petsc/petsc/src/docs/tex/doctext; export 
DOCTEXT_PATH; \
   TEXTFILTER_PATH=/opt/petsc/petsc/src/docs/tex/doctext; export 
TEXTFILTER_PATH; \
           /opt/petsc/petsc/llvm-debug/bin/doctext -html -indexdir 
../${SUBMANSEC} \
         -index /opt/petsc/petsc/docs/manualpages/manualpages.cit \
         -mpath /opt/petsc/petsc/docs/manualpages/${SUBMANSEC} vinv.c 
vscat.c vpscat.c vecio.c comb.c vecstash.c vecmpitoseq.c vecs.c 
vsection.c projection.c  vpscat.h;  fi
Could not open output file 
/opt/petsc/petsc/docs/manualpages/Vec/VecStrideSet.html
Reason: No such file or directory

--------

ls /opt/petsc/petsc/docs/manualpages/Vec
ls: cannot access '/opt/petsc/petsc/docs/manualpages/Vec': No such file 
or directory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170116/91004007/attachment.html>


More information about the petsc-dev mailing list