Last change
on this file since 11896 was 11896, checked in by habbalf, 13 years ago |
petsc-dev : Petsc development code in external packages. Mercurial updates
|
-
Property svn:executable
set to
*
|
File size:
998 bytes
|
Line | |
---|
1 | #!/usr/bin/python
|
---|
2 |
|
---|
3 | # Do the following before running this configure script [hopp2.nersc.gov]
|
---|
4 | #
|
---|
5 | # setenv XTPE_INFO_MESSAGE_OFF yes
|
---|
6 | # module add acml
|
---|
7 |
|
---|
8 | if __name__ == '__main__':
|
---|
9 | import sys
|
---|
10 | import os
|
---|
11 | sys.path.insert(0, os.path.abspath('config'))
|
---|
12 | import configure
|
---|
13 | configure_options = [
|
---|
14 | '--with-cc=cc',
|
---|
15 | '--with-cxx=CC',
|
---|
16 | '--with-fc=ftn',
|
---|
17 |
|
---|
18 | '--with-clib-autodetect=0',
|
---|
19 | '--with-cxxlib-autodetect=0',
|
---|
20 | '--with-fortranlib-autodetect=0',
|
---|
21 |
|
---|
22 | '--with-debugging=0',
|
---|
23 | '--COPTFLAGS=-fast -mp',
|
---|
24 | '--CXXOPTFLAGS=-fast -mp',
|
---|
25 | '--FOPTFLAGS=-fast -mp',
|
---|
26 |
|
---|
27 | '--with-blas-lapack-lib=-L/opt/acml/4.4.0/pgi64/lib -lacml -lacml_mv',
|
---|
28 | #'--with-mpiexec=/bin/false',
|
---|
29 | '--with-shared-libraries=0',
|
---|
30 | '--with-x=0',
|
---|
31 |
|
---|
32 | '--download-blacs',
|
---|
33 | '--download-hypre',
|
---|
34 | '--download-mumps',
|
---|
35 | '--download-cmake=1',
|
---|
36 | '--download-metis=1',
|
---|
37 | '--download-parmetis',
|
---|
38 | '--download-scalapack',
|
---|
39 | '--download-superlu_dist',
|
---|
40 | ]
|
---|
41 | configure.petsc_configure(configure_options)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.