xref: /petsc/config/examples/arch-ci-linux-gcc-complex-opt-32bit.py (revision 053abcdfeaa3c4bf7b7c01a7334c7edc5567db03)
1#!/usr/bin/env python3
2
3import os
4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5petsc_datafiles='/nfs/gce/projects/petsc/datafiles'
6
7configure_options = [
8  '--package-prefix-hash='+petsc_hash_pkgs,
9  'DATAFILESPATH='+petsc_datafiles,
10  '--with-cc=gcc -m32',
11  '--with-cxx=g++ -m32',
12  '--with-fc=gfortran -m32',
13  '--with-clanguage=c',
14  '--with-shared-libraries=yes',
15  '--with-debugging=no',
16  '--with-scalar-type=complex',
17  '--with-64-bit-indices=no',
18  '--with-precision=double',
19  '--download-mpich',
20  '--download-fblaslapack',
21  '--with-strict-petscerrorcode',
22  '--with-coverage',
23]
24
25if __name__ == '__main__':
26  import sys,os
27  sys.path.insert(0,os.path.abspath('config'))
28  import configure
29  configure.petsc_configure(configure_options)
30