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