|
| 1 | +# This file provides configuration information about non-Python dependencies for |
| 2 | +# HSL.py. |
| 3 | + |
| 4 | +# The format of the file is that of the standard library's ConfigParser module. |
| 5 | +# |
| 6 | +# http://www.python.org/doc/current/lib/module-ConfigParser.html |
| 7 | +# |
| 8 | +# Each section defines settings that apply to one particular dependency. Some of |
| 9 | +# the settings are general and apply to nearly any section and are defined here. |
| 10 | +# Settings specific to a particular section will be defined near their section. |
| 11 | +# |
| 12 | +# libraries |
| 13 | +# Comma-separated list of library names to add to compile the extension |
| 14 | +# with. Note that these should be just the names, not the filenames. For |
| 15 | +# example, the file "libfoo.so" would become simply "foo". |
| 16 | +# libraries = lapack,f77blas,cblas,atlas |
| 17 | +# |
| 18 | +# library_dirs |
| 19 | +# List of directories to add to the library search path when compiling |
| 20 | +# extensions with this dependency. Use the character given by os.pathsep |
| 21 | +# to separate the items in the list. On UN*X-type systems (Linux, FreeBSD, |
| 22 | +# OS X): |
| 23 | +# library_dirs = /usr/lib:/usr/local/lib |
| 24 | +# On Windows: |
| 25 | +# library_dirs = c:\mingw\lib,c:\atlas\lib |
| 26 | +# |
| 27 | +# include_dirs |
| 28 | +# List of directories to add to the header file earch path. |
| 29 | +# include_dirs = /usr/include:/usr/local/include |
| 30 | +# |
| 31 | +# src_dirs |
| 32 | +# List of directories that contain extracted source code for the |
| 33 | +# dependency. For some dependencies, numpy.distutils will be able to build |
| 34 | +# them from source if binaries cannot be found. The FORTRAN BLAS and |
| 35 | +# LAPACK libraries are one example. However, most dependencies are more |
| 36 | +# complicated and require actual installation that you need to do |
| 37 | +# yourself. |
| 38 | +# src_dirs = /home/rkern/src/BLAS_SRC:/home/rkern/src/LAPACK_SRC |
| 39 | +# |
| 40 | +# search_static_first |
| 41 | +# Boolean (one of (0, false, no, off) for False or (1, true, yes, on) for |
| 42 | +# True) to tell numpy.distutils to prefer static libraries (.a) over |
| 43 | +# shared libraries (.so). It is turned off by default. |
| 44 | +# search_static_first = false |
| 45 | + |
| 46 | +# Defaults |
| 47 | +# ======== |
| 48 | +# The settings given here will apply to all other sections if not overridden. |
| 49 | +# This is a good place to add general library and include directories like |
| 50 | +# /usr/local/{lib,include} |
| 51 | +# |
| 52 | +#[DEFAULT] |
| 53 | +#library_dirs = /home/MGI/syarre/lib |
| 54 | +#include_dirs = /usr/local/include |
| 55 | + |
| 56 | +# Optimized BLAS and LAPACK |
| 57 | +# ------------------------- |
| 58 | +# Use the blas_opt and lapack_opt sections to give any settings that are |
| 59 | +# required to link against your chosen BLAS and LAPACK, including the regular |
| 60 | +# FORTRAN reference BLAS and also ATLAS. Some other sections still exist for |
| 61 | +# linking against certain optimized libraries (e.g. [atlas], [lapack_atlas]), |
| 62 | +# however, they are now deprecated and should not be used. |
| 63 | +# |
| 64 | +# These are typical configurations for ATLAS (assuming that the library and |
| 65 | +# include directories have already been set in [DEFAULT]; the include directory |
| 66 | +# is important for the BLAS C interface): |
| 67 | +# |
| 68 | +#[blas_opt] |
| 69 | +#libraries = f77blas, cblas, atlas |
| 70 | +# |
| 71 | +#[lapack_opt] |
| 72 | +#libraries = lapack, f77blas, cblas, atlas |
| 73 | +# |
| 74 | +# If your ATLAS was compiled with pthreads, the names of the libraries might be |
| 75 | +# different: |
| 76 | +# |
| 77 | +#[blas_opt] |
| 78 | +#libraries = ptf77blas, ptcblas, atlas |
| 79 | +# |
| 80 | +#[lapack_opt] |
| 81 | +#libraries = lapack, ptf77blas, ptcblas, atlas |
| 82 | + |
| 83 | +# HSL |
| 84 | +# --- |
| 85 | +# 1. You will need the following files from the HSL Archive |
| 86 | +<
10000
div class="diff-text-inner"># (see http://www.hsl.rl.ac.uk/archive/hslarchive/hslarchive.html for |
| 87 | +# license terms and for obtaining the software): |
| 88 | +# fd05ad.f ma27ad.f |
| 89 | +# These two files must be placed in the directory specified in hsl_dir |
| 90 | +# below. |
| 91 | +# |
| 92 | +# 2. You will need the following packages from the HSL: |
| 93 | +# (see http://hsl.rl.ac.uk/hsl2007/hsl20074researchers.html for license |
| 94 | +# terms and for obtaining the software): |
| 95 | +# ma57d mc29d hsl_zd11d.f90 |
| 96 | +# The directory specified in hsl_dir below should contain a subdirectory |
| 97 | +# named ma57d and one named mc29d. These should not be altered. The file |
| 98 | +# hsl_zd11d.f90 should be placed in hsl_dir. |
| 99 | +# |
| 100 | +[CODE_GENERATION] |
| 101 | +# log file name **without** extension (by default, we use '.log') |
| 102 | +log_name = generator |
| 103 | +# DEBUG/INFO/WARNING/ERROR/CRITICAL |
| 104 | +log_level = DEBUG |
| 105 | +console_log_level = DEBUG |
| 106 | +file_log_level = DEBUG |
| 107 | +# 32bits/64bits |
| 108 | +# if left blank, we use INT64_t on 64 bits platforms and INT32_t on 32 bits platforms |
| 109 | +DEFAULT_INDEX_TYPE = |
| 110 | +# Do you want to generate the .c files from Cython? |
| 111 | +use_cython = true |
| 112 | +# Use debug symbols? |
| 113 | +use_debug_symbols = false |
| 114 | + |
| 115 | +# Defaults |
| 116 | +# ======== |
| 117 | +# The settings given here will apply to all other sections if not overridden. |
| 118 | +# This is a good place to add general library and include directories like |
| 119 | +# /usr/local/{lib,include} |
| 120 | +# |
| 121 | +[DEFAULT] |
| 122 | +library_dirs = /usr/local/lib |
| 123 | +include_dirs = /usr/local/include |
| 124 | + |
| 125 | +[HSL] |
| 126 | +hsl_rootdir = /Users/syarra/work/programs/hsl |
| 127 | + |
| 128 | +# METIS |
| 129 | +# ----- |
| 130 | +# You will need the METIS library and header files. |
| 131 | +# The source tree may be downloaded from |
| 132 | +# http://glaros.dtc.umn.edu/gkhome/metis/metis/download |
| 133 | +# Warning: **only** version **4** is supported by MA57. |
| 134 | +[METIS] |
| 135 | +metis_dir = /usr/local/opt/metis4/lib |
| 136 | +metis_lib = metis |
| 137 | + |
| 138 | +# Optional |
| 139 | +# [CYSPARSE] |
| 140 | +# cysparse_rootdir = /Users/syarra/work/VirtualEnvs/nlpy_new/programs/cysparse/ |
0 commit comments