Opened 6 years ago

Closed 6 years ago

#56609 closed defect (fixed)

SuiteSparse @4.2.1 error: no such file or directory: '/opt/local/lib/vecLibFort.dylib'

Reported by: kencu (Ken) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: suitesparse

Description

make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_SuiteSparse/SuiteSparse/work/SuiteSparse/SPQR/Demo'
/opt/local/bin/clang++-mp-3.9 -Os -stdlib=libc++ -arch x86_64  -O3 -fno-common -fexceptions -DNTIMER  -DNPARTITION -I../../CHOLMOD/Include -I../../SuiteSparse_config -I../Include qrdemo.cpp -o qrdemo ../Lib/libspqr.a ../../SuiteSparse_config/libsuitesparseconfig.a ../../CHOLMOD/Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a  -lm /opt/local/lib/vecLibFort.dylib /opt/local/lib/vecLibFort.dylib 
clang: error: no such file or directory: '/opt/local/lib/vecLibFort.dylib'
clang: error: no such file or directory: '/opt/local/lib/vecLibFort.dylib'

looks like:

$ locate vecLibFort.dylib
/opt/local/lib/libvecLibFort.dylib

so presumably this

set BLAS "${prefix}/lib/vecLibFort.dylib"

should be

set BLAS "${prefix}/lib/libvecLibFort.dylib"

and with that change in the Portfile, looks like success:

make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_SuiteSparse/SuiteSparse/work/SuiteSparse/SPQR/Demo'
/opt/local/bin/clang++-mp-3.9 -Os -stdlib=libc++ -arch x86_64  -O3 -fno-common -fexceptions -DNTIMER  -DNPARTITION -I../../CHOLMOD/Include -I../../SuiteSparse_config -I../Include qrdemo.cpp -o qrdemo ../Lib/libspqr.a ../../SuiteSparse_config/libsuitesparseconfig.a ../../CHOLMOD/Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a  -lm /opt/local/lib/libvecLibFort.dylib /opt/local/lib/libvecLibFort.dylib 
/opt/local/bin/clang++-mp-3.9 -Os -stdlib=libc++ -arch x86_64  -O3 -fno-common -fexceptions -DNTIMER  -DNPARTITION -I../../CHOLMOD/Include -I../../SuiteSparse_config -I../Include qrsimple.cpp -o qrsimple ../Lib/libspqr.a ../../SuiteSparse_config/libsuitesparseconfig.a ../../CHOLMOD/Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a  -lm /opt/local/lib/libvecLibFort.dylib /opt/local/lib/libvecLibFort.dylib 
/opt/local/bin/clang-mp-3.9 -Os -arch x86_64  -O3 -fno-common -fexceptions -DNTIMER  -ansi -I../../CHOLMOD/Include -I../../SuiteSparse_config -I../Include -c qrsimplec.c
/opt/local/bin/clang++-mp-3.9 -Os -stdlib=libc++ -arch x86_64  -O3 -fno-common -fexceptions -DNTIMER  -DNPARTITION -I../../CHOLMOD/Include -I../../SuiteSparse_config -I../Include -o qrsimplec qrsimplec.o ../Lib/libspqr.a ../../SuiteSparse_config/libsuitesparseconfig.a ../../CHOLMOD/Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a  -lm /opt/local/lib/libvecLibFort.dylib /opt/local/lib/libvecLibFort.dylib 
./qrsimple < ../Matrix/ash219.mtx

dunno how (un)important this may or may not be. Looks like some kind of a demo test program.

Change History (2)

comment:1 Changed 6 years ago by michaelld (Michael Dickens)

good catch. I think this change is relatively unimportant, but certainly worth making. thx!

comment:2 Changed 6 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In ce634b0e3e12f4d56fde87a43a8ebeb2ebb25af2/macports-ports (master):

SuiteSparse: use the correct library name for libvecLibFort

It's not clear how meaningful this change is, but rev-bump just in case.

Closes: #56609

Note: See TracTickets for help on using tickets.