xref: /petsc/config/examples/arch-ci-linux-64idx-i8.py (revision cb666cdff800df228bfbf6d5c187ec3a15aaae4c)
1*cb666cdfSSatish Balay#!/usr/bin/python3
2*cb666cdfSSatish Balay
3*cb666cdfSSatish Balayimport os
4*cb666cdfSSatish Balaypetsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5*cb666cdfSSatish Balay
6*cb666cdfSSatish Balayif __name__ == '__main__':
7*cb666cdfSSatish Balay  import sys
8*cb666cdfSSatish Balay  import os
9*cb666cdfSSatish Balay  sys.path.insert(0, os.path.abspath('config'))
10*cb666cdfSSatish Balay  import configure
11*cb666cdfSSatish Balay  configure_options = [
12*cb666cdfSSatish Balay    '--package-prefix-hash='+petsc_hash_pkgs,
13*cb666cdfSSatish Balay    '--with-64-bit-indices',
14*cb666cdfSSatish Balay    'FFLAGS=-Wall -ffree-line-length-0 -Wno-unused-dummy-argument -fdefault-integer-8',
15*cb666cdfSSatish Balay    '--with-mpi-dir=/nfs/gce/projects/petsc/soft/gcc-7.4.0/mpich-3.3.2',
16*cb666cdfSSatish Balay  ]
17*cb666cdfSSatish Balay  configure.petsc_configure(configure_options)
18*cb666cdfSSatish Balay
19