xref: /petsc/config/examples/arch-ci-linux-pkgs-64idx.py (revision d5b43468fb8780a8feea140ccd6fa3e6a50411cc)
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  'COPTFLAGS=-g -O',
9  'FOPTFLAGS=-g -O',
10  'CXXOPTFLAGS=-g -O',
11  '--with-64-bit-indices=1',
12  '--download-mpich=1', #openmpi gives errors of type: Error: There is no specific subroutine for the generic 'mpi_send'
13  '--download-metis=1',
14  '--download-parmetis=1',
15  '--download-hwloc=1',
16  '--download-pastix=1',
17  '--download-ptscotch=1',
18  '--download-hypre=1',
19  '--download-hypre-configure-arguments=--enable-bigint=no --enable-mixedint=yes', # HYPRE with mixed integers
20  '--download-superlu_dist=1',
21  '--download-mumps=1',
22  '--download-scalapack=1',
23  '--donwload-suitesparse=1',
24  '--download-p4est=1',
25  '--download-revolve=1',
26  '--with-zlib=1',
27  '--with-blaslapack-dir='+os.environ['MKLROOT'],
28  '--download-slepc=1',
29  '--download-hpddm=1',
30  ]
31
32if __name__ == '__main__':
33  import sys,os
34  sys.path.insert(0,os.path.abspath('config'))
35  import configure
36  configure.petsc_configure(configure_options)
37