Changes between Version 14 and Version 15 of tools
- Timestamp:
- 07/30/08 10:33:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tools
v14 v15 42 42 }}} 43 43 44 As seen above, to unset an option just leave the right side of the assignment blank. The example above sets the path to the Python interpreter to use in babel and ccaffeine, specifies that Intel compilers should be used for Fortran 90, and disables Fortran 77 support.44 As seen above, to unset an option just leave the right side of the assignment blank. Alternatively, you can use the syntax option_name=None to disable an option. The example above sets the path to the Python interpreter to use in Babel and Ccaffeine, specifies that Intel compilers should be used for Fortran 90, and disables Fortran 77 support. 45 45 46 46 Specific stages can be built easily using the new build system. There are a couple of special stages of note: the default target (called when no arguments are passed), the global clean target (to clean everything), and the per-package all and clean targets. … … 53 53 $ ./contract.py clean 54 54 ... 55 }}} 56 57 === Example Configurations === 58 59 Here are some sample configurations used different architectures. 60 61 * Linux Ubuntu 8.04, dual quad-core Opteron; build latest release distributions, enable mpi, python, fortran (adding nightly=True would build from the nightly tarballs): 62 {{{ 63 ../contract.py --configure python=/usr/bin/python \ 64 f90=ifort f77=ifort \ 65 mpi=$HOME/software/linux-Ubuntu_7.04-x86_64/openmpi-1.2.3 \ 66 prefix=/path/to/install/dir 67 }}} 68 69 70 * MacOS X 10.4, MacBook Pro; use nightly tarball of software, specify python explicitly, enable mpi: 71 {{{ 72 ../contract.py --configure nightly=True \ 73 prefix=/path/to/install/dir \ 74 f77=/usr/local/bin/gfortran python=python2.3 \ 75 mpi=/usr/local/openmpi-1.1.4 76 }}} 77 78 * MacOS X 10.4, MacBook Pro; use latest official releases of tools, enable mpi, use gfortran for f77 79 {{{ 80 ../contract.py --configure mpi=/usr/local/openmpi-1.1.4 \ 81 python=python2.3 \ 82 f77=/usr/local/bin/gfortran \ 83 prefix=/path/to/install/dir 55 84 }}} 56 85