12 | | maintainers saabusa.com:Yogesh.Sharma |
13 | | description MIT Eletromagnetic Equation Propagation |
14 | | long_description solve the problem of harmonic inversion — given a discrete-time, finite-length signal that consists of a sum of finitely-many sinusoids (possibly exponentially decaying) \ |
15 | | in a given bandwidth, it determines the frequencies, decay constants, amplitudes, and phases of those sinusoids |
16 | | homepage http://ab-initio.mit.edu/harminv |
| 12 | maintainers saabusa.com:Yogesh.Sharma openmaintainer |
| 13 | description MIT Electromagnetic Equation Propagation |
| 14 | long_description Solve the problem of harmonic inversion: given a discrete-time, finite-length signal that consists of a sum of \ |
| 15 | finitely-many sinusoids (possibly exponentially decaying) \ |
| 16 | in a given bandwidth, it determines the frequencies, decay constants, amplitudes, and phases of those sinusoids. |
| 17 | homepage http://ab-initio.mit.edu/wiki/index.php/Harminv |
29 | | foreach ver ${gcc_versions} { |
30 | | set ver_no_dot [join [split ${ver} "."] ""] |
31 | | |
32 | | set variant_line {variant gcc${ver_no_dot} description "build with gfortran from gcc${ver_no_dot}" conflicts g95} |
33 | | |
34 | | foreach over ${gcc_versions} { |
35 | | if {${ver} == ${over}} { |
36 | | continue |
37 | | } |
38 | | |
39 | | set over_no_dot [join [split ${over} "."] ""] |
40 | | append variant_line " conflicts gcc${over_no_dot}" |
41 | | } |
42 | | append variant_line { {}} |
43 | | |
44 | | eval $variant_line |
45 | | |
46 | | append g95_conflicts " conflicts gcc${ver_no_dot}" |
47 | | |
48 | | if {[variant_isset gcc${ver_no_dot}]} { |
49 | | if {${default_fortran_variant} != "+gcc${ver_no_dot}"} { |
50 | | set default_fortran_variant "" |
51 | | } |
52 | | } |
| 29 | if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset openblas]} { |
| 30 | default_variants-append +accelerate |
55 | | eval [concat {variant g95 description {build with g95}} $g95_conflicts {{}}] |
56 | | |
57 | | if {[variant_isset g95]} { |
58 | | if {${default_fortran_variant} != "+g95"} { |
59 | | set default_fortran_variant "" |
60 | | } |
| 33 | # choose one of the following for serial linear algebra |
| 34 | variant accelerate conflicts atlas openblas description {Build with linear algebra from built-in Accelerate framework} { |
| 35 | depends_lib-append port:veclibfort |
| 36 | configure.args-append --with-blas=-lveclibfort |
67 | | foreach ver ${gcc_versions} { |
68 | | set ver_no_dot [join [split ${ver} "."] ""] |
69 | | |
70 | | if {[variant_isset gcc${ver_no_dot}]} { |
71 | | depends_lib-append path:lib/libgcc/libgcc_s.1.dylib:libgcc |
72 | | depends_build-append port:gcc${ver_no_dot} |
73 | | |
74 | | configure.fc ${prefix}/bin/gfortran-mp-${ver} |
75 | | configure.f77 ${prefix}/bin/gfortran-mp-${ver} |
76 | | configure.f90 ${prefix}/bin/gfortran-mp-${ver} |
77 | | } |
| 44 | variant openblas conflicts accelerate atlas description {Build with linear algebra from OpenBLAS} { |
| 45 | # allow OpenBLAS-devel too |
| 46 | depends_lib-append path:lib/libopenblas.dylib:OpenBLAS |
| 47 | require_active_variants path:lib/libopenblas.dylib:OpenBLAS lapack |
| 48 | configure.args-append --with-blas=-lopenblas |