xref: /petsc/config/examples/arch-ci-linux-pkgs-valgrind.py (revision 5d8720fa41fb4169420198de95a3fb9ffc339d07)
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-p1',
13  #'--download-mpich=1',
14  #'--with-hwloc=0', # make sure mpich is built without hwloc - as it doesn't work with valgrind
15  '--download-fblaslapack=1',
16  '--download-hypre=1',
17  '--download-metis=1',
18  '--download-parmetis=1',
19  '--download-ptscotch=1',
20  '--download-suitesparse=1',
21  '--download-triangle=1',
22  '--download-triangle-build-exec=1',
23  '--download-superlu=1',
24  '--download-superlu_dist=1',
25  '--download-scalapack=1',
26  '--download-strumpack=1',
27  '--download-mumps=1',
28  # '--download-elemental=1', # disabled since its maxCxxVersion is c++14, but Kokkos-4.0's minCxxVersion is c++17
29  #'--download-spai=1', valgrind leaks here will probably not get fixed in the near future
30  '--download-parms=1',
31  #'--download-moab=1',
32  '--download-chaco=1',
33  '--download-revolve=1',
34  '--download-cams=1',
35  '--download-codipack=1',
36  '--download-adblaslapack=1',
37  '--download-p4est=1',
38  '--download-zlib=1',
39  '--download-h2opus=1',
40  '--download-thrust=1',
41  '--download-kokkos=1',
42  '--download-kokkos-kernels=1',
43  '--with-strict-petscerrorcode',
44  '--with-coverage',
45  ]
46
47if __name__ == '__main__':
48  import sys,os
49  sys.path.insert(0,os.path.abspath('config'))
50  import configure
51  configure.petsc_configure(configure_options)
52