Created
June 12, 2018 12:18
-
-
Save lrsantos11/9442a02338970b792bd23b3903794cac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ _ _(_)_ | A fresh approach to technical computing | |
(_) | (_) (_) | Documentation: https://docs.julialang.org | |
_ _ _| |_ __ _ | Type "?help" for help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 0.6.2 (2017-12-13 18:08 UTC) | |
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release | |
|__/ | x86_64-apple-darwin14.5.0 | |
julia> using BinDeps | |
julia> using Compat | |
julia> @BinDeps.setup | |
library_dependency (generic function with 1 method) | |
julia> # General settings. | |
so = "so" | |
"so" | |
julia> all_load = "--whole-archive" | |
"--whole-archive" | |
julia> noall_load = "--no-whole-archive" | |
"--no-whole-archive" | |
julia> @static if is_apple() | |
so = "dylib" | |
all_load = "-all_load" | |
noall_load = "-noall_load" | |
using Homebrew | |
end | |
julia> hsl_modules = @compat Dict() | |
Dict{Any,Any} with 0 entries | |
julia> here = pwd() | |
"/Users/lrsantos/.julia/v0.6/HSL/deps" | |
julia> include(joinpath(here, "build_blas.jl")) | |
2-element Array{Tuple{BinDeps.DependencyProvider,Dict{Symbol,Any}},1}: | |
(Homebrew Bottles homebrew/core/openblas, Dict{Symbol,Any}(Pair{Symbol,Any}(:os, :Darwin))) | |
(BinDeps.AptGet package liblapack-dev, Dict{Symbol,Any}(Pair{Symbol,Any}(:os, :Linux))) | |
julia> include(joinpath(here, "build_metis4.jl")) | |
"/Users/lrsantos/.julia/v0.6/Homebrew/deps/usr/Cellar/metis4/4.0.3/lib" | |
julia> const hsl_ma57_version = "5.2.0" | |
"5.2.0" | |
julia> const hsl_ma57_sha256 = "aedc5a3e22a7b86779efccaa89a7c82b6949768dbab35fceb85a347e326cf584" | |
"aedc5a3e22a7b86779efccaa89a7c82b6949768dbab35fceb85a347e326cf584" | |
julia> const hsl_ma57_archive = joinpath(here, "downloads", "hsl_ma57-$hsl_ma57_version.tar.gz") | |
"/Users/lrsantos/.julia/v0.6/HSL/deps/downloads/hsl_ma57-5.2.0.tar.gz" | |
julia> info("looking for $hsl_ma57_archive") | |
INFO: looking for /Users/lrsantos/.julia/v0.6/HSL/deps/downloads/hsl_ma57-5.2.0.tar.gz | |
julia> if isfile(hsl_ma57_archive) | |
info("hsl_ma57 found") | |
include("build_hsl_ma57.jl") | |
else | |
info("hsl_ma57 not found") | |
end | |
INFO: hsl_ma57 found | |
:libhsl_ma57 | |
help?> dir | |
search: dirname DirectIndexString mkdir isdir isdirpath redirect_stdin redirect_stdout redirect_stderr usrdir srcdir libdir bindir @__DIR__ divrem walkdir tempdir homedir | |
Couldn't find dir | |
Perhaps you meant div, isdir, mkdir, diag, diff, edit, fdio, dct, dec, den, det, dot, do, Pair, airy, big, bin, cis, cor, eig, im, in, is, min, pi, qr, ror, sin, tic, var or xor | |
No documentation found. | |
Binding dir does not exist. | |
shell> cd $hsl_ma57_src | |
/Users/lrsantos/.julia/v0.6/HSL/deps/src/hsl_ma57-5.2.0 | |
shell> patch -p1 -i $hsl_ma57_depsdir/downloads/get_factors.patch | |
patching file src/ddeps90.f90 | |
patching file src/hsl_ma57d.f90 | |
patching file src/hsl_ma57s.f90 | |
patching file src/sdeps90.f90 | |
shell> ./configure F77=gfortran CFLAGS=-fPIC FFLAGS="-fPIC -fopenmp" FCFLAGS="-fPIC -fopenmp" --prefix=$hsl_ma57_prefix --with-blas=-lblas --with-metis="-L$metis_libpath -lmetis" | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking whether the Fortran 77 compiler works... yes | |
checking for Fortran 77 compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU Fortran 77 compiler... yes | |
checking whether gfortran accepts -g... yes | |
checking for gfortran... gfortran | |
checking whether we are using the GNU Fortran compiler... yes | |
checking whether gfortran accepts -g... yes | |
checking for gcc... gcc | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for style of include used by make... GNU | |
checking dependency style of gcc... none | |
checking for ranlib... ranlib | |
checking build system type... x86_64-apple-darwin17.5.0 | |
checking host system type... x86_64-apple-darwin17.5.0 | |
checking how to get verbose linking output from gfortran... -v | |
checking for Fortran libraries of gfortran... -L/opt/intel/compilers_and_libraries_2018.3.185/mac/compiler/lib -L/opt/intel/compilers_and_libraries_2018.3.185/mac/mkl/lib -L/opt/intel/compilers_and_libraries_2018.1.126/mac/tbb/lib -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0 -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0/../../.. -lgfortran -lgomp -lquadmath -lm | |
checking fortran 90 modules inclusion flag... not found | |
checking how to get verbose linking output from gfortran... -v | |
checking for Fortran 77 libraries of gfortran... -L/opt/intel/compilers_and_libraries_2018.3.185/mac/compiler/lib -L/opt/intel/compilers_and_libraries_2018.3.185/mac/mkl/lib -L/opt/intel/compilers_and_libraries_2018.1.126/mac/tbb/lib -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0 -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0/../../.. -lgfortran -lgomp -lquadmath -lm | |
checking for dummy main to link with Fortran 77 libraries... none | |
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore | |
checking for sgemm_ in -lblas... yes | |
checking for METIS library... checking for metis_nodend_ in -L/Users/lrsantos/.julia/v0.6/Homebrew/deps/usr/Cellar/metis4/4.0.3/lib -lmetis... yes | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating src/Makefile | |
config.status: creating example/Makefile | |
config.status: executing depfiles commands | |
shell> make install | |
Making install in src | |
gfortran -fPIC -fopenmp -c -o sdeps90.o sdeps90.f90 | |
gfortran -fPIC -fopenmp -c -o hsl_ma57s.o hsl_ma57s.f90 | |
gfortran -fPIC -fopenmp -c -o ddeps90.o ddeps90.f90 | |
gfortran -fPIC -fopenmp -c -o hsl_ma57d.o hsl_ma57d.f90 | |
gfortran -fPIC -fopenmp -c -o sdeps.o sdeps.f | |
gfortran -fPIC -fopenmp -c -o ddeps.o ddeps.f | |
rm -f libhsl_ma57.a | |
ar cru libhsl_ma57.a hsl_ma57s.o hsl_ma57d.o sdeps.o sdeps90.o ddeps.o ddeps90.o | |
ranlib libhsl_ma57.a | |
gfortran -fPIC -fopenmp -c -o fakemetis.o fakemetis.f | |
rm -f libfakemetis.a | |
ar cru libfakemetis.a fakemetis.o | |
ranlib libfakemetis.a | |
.././install-sh -c -d '/Users/lrsantos/.julia/v0.6/HSL/deps/usr/lib' | |
/usr/bin/install -c -m 644 libhsl_ma57.a libfakemetis.a '/Users/lrsantos/.julia/v0.6/HSL/deps/usr/lib' | |
( cd '/Users/lrsantos/.julia/v0.6/HSL/deps/usr/lib' && ranlib libhsl_ma57.a ) | |
( cd '/Users/lrsantos/.julia/v0.6/HSL/deps/usr/lib' && ranlib libfakemetis.a ) | |
.././install-sh -c -d 'modules' | |
/usr/bin/install -c -m 644 hsl_ma57_single.mod hsl_ma57_double.mod 'modules' | |
Making install in example | |
make[2]: Nothing to be done for `install-exec-am'. | |
make[2]: Nothing to be done for `install-data-am'. | |
make[2]: Nothing to be done for `install-exec-am'. | |
make[2]: Nothing to be done for `install-data-am'. | |
shell> gfortran -fPIC -shared -Wl,$all_load $hsl_ma57_libdir/libhsl_ma57.a -lblas -llapack -L$metis_libpath -lmetis -lgomp -Wl,$noall_load -o $hsl_ma57_libdir/libhsl_ma57.$so | |
ld: warning: option -noall_load is obsolete and being ignored | |
ulia> Pkg.build("HSL") | |
INFO: Building Homebrew | |
Already up-to-date. | |
Warning: Calling 'depends_on :perl' is deprecated! | |
Use 'depends_on "perl"' instead. | |
/Users/lrsantos/.julia/v0.6/Homebrew/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps/[email protected]:58:in `<class:ImagemagickAT6>' | |
Please report this to the staticfloat/juliadeps tap! | |
Warning: Calling 'depends_on :perl' is deprecated! | |
Use 'depends_on "perl"' instead. | |
/Users/lrsantos/.julia/v0.6/Homebrew/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps/[email protected]:58:in `<class:ImagemagickAT6>' | |
Please report this to the staticfloat/juliadeps tap! | |
INFO: Building HSL | |
INFO: looking for /Users/lrsantos/.julia/v0.6/HSL/deps/downloads/hsl_ma57-5.2.0.tar.gz | |
INFO: hsl_ma57 found | |
INFO: looking for /Users/lrsantos/.julia/v0.6/HSL/deps/downloads/hsl_ma97-2.4.0.tar.gz | |
INFO: hsl_ma97 found | |
julia> Pkg.test("HSL") | |
INFO: Testing HSL | |
WARNING: deprecated syntax "typealias Ma57Data Union{Float32,Float64}" at /Users/lrsantos/.julia/v0.6/HSL/src/hsl_ma57.jl:12. | |
Use "const Ma57Data = Union{Float32,Float64}" instead. | |
WARNING: deprecated syntax "inner constructor Ma57_Control(...) around /Users/lrsantos/.julia/v0.6/HSL/src/hsl_ma57.jl:26". | |
Use "Ma57_Control{T}(...) where T" instead. | |
WARNING: deprecated syntax "inner constructor Ma57_Info(...) around /Users/lrsantos/.julia/v0.6/HSL/src/hsl_ma57.jl:65". | |
Use "Ma57_Info{T}(...) where T" instead. | |
WARNING: deprecated syntax "inner constructor Ma57(...) around /Users/lrsantos/.julia/v0.6/HSL/src/hsl_ma57.jl:127". | |
Use "Ma57{T}(...) where T" instead. | |
INFO: Testing hsl_ma97 with Float32 data | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Testing hsl_ma97 with Float64 data | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Testing hsl_ma97 with Complex{Float32} data | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Testing hsl_ma97 with Complex{Float64} data | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Warning below is expected and normal | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
Warning from ma97_analyse. Warning flag = 4 | |
one or more diagonal entries is missing | |
INFO: Testing hsl_ma57 with Float32 data | |
INFO: Testing hsl_ma57 with Float64 data | |
INFO: HSL tests passed | |
julia> using HSL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment