xref: /petsc/config/examples/arch-ci-linux-pkgs-64idx.py (revision 0ba198fca9c5e9de3a9b19db2db2f96c067a03ed)
1f26daa2dSSatish Balay#!/usr/bin/env python
2f26daa2dSSatish Balay
3f26daa2dSSatish Balayimport os
4f26daa2dSSatish Balaypetsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
5f26daa2dSSatish Balay
6f26daa2dSSatish Balayconfigure_options = [
7f26daa2dSSatish Balay  '--package-prefix-hash='+petsc_hash_pkgs,
8f26daa2dSSatish Balay  'COPTFLAGS=-g -O',
9f26daa2dSSatish Balay  'FOPTFLAGS=-g -O',
10f26daa2dSSatish Balay  'CXXOPTFLAGS=-g -O',
11f26daa2dSSatish Balay  '--with-64-bit-indices=1',
12f26daa2dSSatish Balay  '--download-openmpi=1', #download-mpich works - but system mpich gives wierd errors with superlu_dist+parmeits [with shared/64-bit-indices]?
13f26daa2dSSatish Balay  '--download-metis=1',
14f26daa2dSSatish Balay  '--download-parmetis=1',
15*0ba198fcSBarry Smith  '--download-hwloc=1',
16f26daa2dSSatish Balay  '--download-pastix=1',
17f26daa2dSSatish Balay  '--download-ptscotch=1',
18f26daa2dSSatish Balay  '--download-hypre=1',
19f26daa2dSSatish Balay  '--download-hypre-configure-arguments=--enable-bigint=no --enable-mixedint=yes', # HYPRE with mixed integers
20f26daa2dSSatish Balay  '--download-superlu_dist=1',
21f26daa2dSSatish Balay  '--donwload-suitesparse=1',
22f26daa2dSSatish Balay  '--download-cmake',  # superlu_dist requires a newer cmake
23f26daa2dSSatish Balay  '--download-p4est=1',
24f26daa2dSSatish Balay  '--with-zlib=1',
25f26daa2dSSatish Balay  ]
26f26daa2dSSatish Balay
27f26daa2dSSatish Balayif __name__ == '__main__':
28f26daa2dSSatish Balay  import sys,os
29f26daa2dSSatish Balay  sys.path.insert(0,os.path.abspath('config'))
30f26daa2dSSatish Balay  import configure
31f26daa2dSSatish Balay  configure.petsc_configure(configure_options)
32