| e4c30378 | 02-May-2022 |
Barry Smith <bsmith@petsc.dev> |
Fix passing of linker, compiler and preprocessor flags from BuildSystem to the makefiles
* Buildsystem includes preprocessor flags with compiler flag in output to makefile compiler flag * Buildsyste
Fix passing of linker, compiler and preprocessor flags from BuildSystem to the makefiles
* Buildsystem includes preprocessor flags with compiler flag in output to makefile compiler flag * Buildsystem includes compiler flags but not preprocessor flags with linker flag output to makefile linker flag * Makefile assumes the preprocessor flags are explicitly needed for compiler * Makefile assumes the compiler flags are explicitly needed for linker
Hence the makefile rules have many duplicative flags passed to commands
Fix: Change the output from Buildsystem so that the flags in the makefiles are not inclusive of the previous levels
Fix: openmp.py to set the OpenMP flag in the processor flags and the link flags but not in the compiler flag to prevent unneeded duplication in the makefile commands (previously there were up to three -fopenmp in one command line)
/spend 1.5h
show more ...
|
| f0016814 | 05-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
gcc: add -Wno-lto-type-mismatch to default C/CXX/FFLAGS
This gets the PETSc build working with MUMPS and Ubuntu-22.04-mpich
svcpetsc@compute-240-15:/scratch/svcpetsc/petsc$ /usr/bin/mpicc.mpich -sh
gcc: add -Wno-lto-type-mismatch to default C/CXX/FFLAGS
This gets the PETSc build working with MUMPS and Ubuntu-22.04-mpich
svcpetsc@compute-240-15:/scratch/svcpetsc/petsc$ /usr/bin/mpicc.mpich -show gcc -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -I/usr/include/x86_64-linux-gnu/mpich -L/usr/lib/x86_64-linux-gnu -lmpich
Executing: mpicc -o /tmp/petsc-tr3nmczo/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-stringop-overflow -fstack-protector -fvisibility=hidden -O /tmp/petsc-tr3nmczo/config.libraries/conftest.o -Wl,-rpath,/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -L/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -Wl,-rpath,/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -L/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -lparmetis -Wl,-rpath,/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -L/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -lmetis -Wl,-rpath,/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -L/home/jroman/soft/petsc/arch-gnu-c-opt-libs/lib -lscalapack -llapack -lblas -lm -lstdc++ -ldl -lmpichfort -lmpich -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11 -lgfortran -lm -lgcc_s -lquadmath -lquadmath -lstdc++ -ldl Possible ERROR while running linker: stderr: arch-gnu-c-opt-libs/externalpackages/MUMPS_5.5.0/src/ana_orderings_wrappers_m.F:119:72: warning: type of ‘metis_nodend’ does not match original declaration [-Wlto-type-mismatch] 119 | & OPTIONS_METIS, IKEEP2(1), IKEEP1(1)) | ^
Reported-by: Jose E. Roman <jroman@dsic.upv.es>
show more ...
|
| 589e537f | 15-Mar-2022 |
Patrick Sanan <patrick.sanan@gmail.com> |
Docs: Generate MyST (.md) files instead of .html for man pages
Use a new version of Sowing doctext that accepts the -myst flag.
We use a mostly-duplicated local myst.def here.
Split the copying of
Docs: Generate MyST (.md) files instead of .html for man pages
Use a new version of Sowing doctext that accepts the -myst flag.
We use a mostly-duplicated local myst.def here.
Split the copying of the classic docs into a "pre" and "post" stage, now accepting a destination argument, so that .md manualpage files may be copied at the start of the Sphinx build.
Change -html to -myst in the manualpages target.
Remove the manualpages_buildcite target entirely, as we remove the -mapref argument from the manualpages target. Now the .cit file is generated during a single run of doctext and converted to htmlmap, which is used to create man pages links with the custom Sphinx extension.
Remove the add_version_header.py script, which leaves a few classic HTML pages without a version, but this feature was mainly for the man pages, which now have the same version information at the bottom as all the Sphinx-generated pages.
This commit does not address further required changes: - index.html pages auto-generated in the docs/manualpages/ tree have not been converted to .md - Man page postprocessing stages have not been updated to operate on .md instead of .html and will thus fail
show more ...
|
| b16205a2 | 25-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
MPICH: update hwloc dependency, and disable hwloc with valgrind CI job
- download-mpich defaults to with-hwloc=embedded if hwloc is not specified [instead of picking up system hwloc] - if -with-hwlo
MPICH: update hwloc dependency, and disable hwloc with valgrind CI job
- download-mpich defaults to with-hwloc=embedded if hwloc is not specified [instead of picking up system hwloc] - if -with-hwloc=0 is used - build mpich without-hwloc [usable with valgrind]
show more ...
|