xref: /petsc/config/examples/arch-ci-linux-pkgs-valgrind.py (revision c9e3fce0569ac575a7dd571126b52b2826192edc)
1#!/usr/bin/env python3
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5
6configure_options = [
7  '--package-prefix-hash='+petsc_hash_pkgs,
8  '--with-make-test-np=18', # for petsc-gpu-01 - attempt to run 2 simultaneous valgrind jobs
9  'COPTFLAGS=-g -O',
10  'FOPTFLAGS=-g -O',
11  'CXXOPTFLAGS=-g -O',
12  '--with-mpi-dir=/nfs/gce/projects/petsc/soft/u22.04/mpich-4.3.0-p2-ucx', # requires 'UCX_SYSV_HUGETLB_MODE=n' to avoid: WARNING: valgrind ignores shmget(shmflg) SHM_HUGETLB
13  #'--download-mpich=1',
14  #'--with-hwloc=0', # make sure mpich is built without hwloc - as it doesn't work with valgrind
15  '--with-cudac=0',
16  '--with-hipc=0',
17  '--download-make=1',
18  '--download-fblaslapack=1',
19  '--download-hypre=1',
20  '--download-metis=1',
21  '--download-parmetis=1',
22  '--download-ptscotch=1',
23  '--download-suitesparse=1',
24  '--download-triangle=1',
25  '--download-triangle-build-exec=1',
26  '--download-superlu=1',
27  '--download-superlu_dist=1',
28  '--download-scalapack=1',
29  '--download-strumpack=1',
30  '--download-mumps=1',
31  # '--download-elemental=1', # disabled since its maxCxxVersion is c++14, but Kokkos-5.0's minCxxVersion is c++20
32  #'--download-spai=1', valgrind leaks here will probably not get fixed in the near future
33  '--download-parms=1',
34  #'--download-moab=1',
35  '--download-chaco=1',
36  '--download-revolve=1',
37  '--download-cams=1',
38  '--download-codipack=1',
39  '--download-adblaslapack=1',
40  '--download-p4est=1',
41  '--download-zlib=1',
42  '--download-h2opus=1',
43  '--download-thrust=1',
44  '--download-kokkos=1',
45  '--download-kokkos-kernels=1',
46  '--with-strict-petscerrorcode',
47  '--with-coverage',
48  ]
49
50if __name__ == '__main__':
51  import sys,os
52  sys.path.insert(0,os.path.abspath('config'))
53  import configure
54  configure.petsc_configure(configure_options)
55