Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: add BLIS, sync with BLAS++ #73

Merged
merged 1 commit into from
Jan 5, 2025
Merged

Conversation

mgates3
Copy link
Collaborator

@mgates3 mgates3 commented Dec 26, 2024

@mgates3
Copy link
Collaborator Author

mgates3 commented Dec 26, 2024

Test on ICL cluster with CMake. Compile and test output abbreviated (...). See make test in icl-utk-edu/blaspp#97 for module setup.

sh methane build-blis> cmake -DCMAKE_INSTALL_PREFIX=$PWD/../../blaspp/install-cmake ..
-- Using CMAKE_INSTALL_PREFIX = /home/mgates/repos/blaspp/install-cmake

-- Looking for CUDA (gpu_backend = auto)
-- Building CUDA support

-- No HIP/ROCm support: gpu_backend = cuda

-- No oneMKL-SYCL device support: gpu_backend = cuda

-- lapackpp_id = d4c9e003
-- Check for BLAS++
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found CUDAToolkit: /apps/spacks/2024-07-19/opt/spack/linux-rocky9-x86_64/gcc-11.4.1/cuda-11.8.0-q6jpi3of5v7cawdtdr6rldslzmqn7jgb/targets/x86_64-linux/include (found version "11.8.89")
   Found BLAS++: /home/mgates/repos/blaspp/install-cmake/lib64/cmake/blaspp

-- Looking for LAPACK libraries and options
   In BLAS library                                  yes
   Found LAPACK library in BLAS library
-- Checking LAPACK version
   LAPACK version 3.11.00 (31100)
-- Checking for XBLAS
   XBLAS not found.
-- Checking for LAPACKE library 
   Found LAPACKE library in BLAS library
-- Checking for TestSweeper library

---------- TestSweeper
-- Fetching TestSweeper v2024.05.31 from https://github.com/icl-utk-edu/testsweeper
-- Using CMAKE_INSTALL_PREFIX = /home/mgates/repos/blaspp/install-cmake
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- testsweeper_id = c16ca65
-- Performing Test fp_model
-- Performing Test fp_model - Failed
-- Performing Test warn_unused
-- Performing Test warn_unused - Success
---------- TestSweeper done

-- Configuring done (3.3s)
-- Generating done (0.1s)
-- Build files have been written to: /home/mgates/repos/lapackpp/build-blis
sh methane build-blis> make 
[  1%] Building CXX object _deps/testsweeper-build/CMakeFiles/testsweeper.dir/testsweeper.cc.o
...
[ 70%] Linking CXX shared library liblapackpp.so
[ 70%] Built target lapackpp
[ 70%] Building CXX object test/CMakeFiles/tester.dir/cblas_wrappers.cc.o
[ 70%] Building CXX object test/CMakeFiles/tester.dir/matrix_generator.cc.o
[ 71%] Building CXX object test/CMakeFiles/tester.dir/matrix_params.cc.o
[ 71%] Building CXX object test/CMakeFiles/tester.dir/test.cc.o
...
[100%] Building CXX object test/CMakeFiles/tester.dir/test_tprfb.cc.o
[100%] Linking CXX executable tester
[100%] Built target tester


sh methane build-blis> cd test/
sh methane test> ./run_tests.py --quick > q
Thu Dec 26 19:08:17 2024
./tester  --type s,d,c,z --align 32 --dim 100 gesv
pass
...
./tester  --type s,d,c,z --dim 100 --norm max,1,inf,fro lanst
pass

All routines passed.
Elapsed 189.49 sec
Thu Dec 26 19:11:26 2024

@mgates3
Copy link
Collaborator Author

mgates3 commented Dec 26, 2024

Test on ICL cluster with make. Compile and test output abbreviated (...). See make test in icl-utk-edu/blaspp#97 for module setup.

sh methane lapackpp> make gpu_backend=none
python3 configure.py
--------------------------------------------------------------------------------
                              Welcome to LAPACK++.

By default, configure will automatically choose the first valid value it finds
for each option. You can set it to interactive to find all possible values and
give you a choice:
    make config interactive=1

If you have multiple compilers, we suggest specifying your desired compiler by
setting CXX, as the automated search may prefer a different compiler.

For options, see the `INSTALL.md` file.

Configure assumes environment variables CPATH, LIBRARY_PATH, and LD_LIBRARY_PATH
are set so your compiler can find libraries. See INSTALL.md for more details.
--------------------------------------------------------------------------------
opening log file config/log.txt


C++ compiler
Trying $CXX = g++
g++                                                                      yes (g++)

C++ compiler flags
-std=c++17                                                               yes 
-O2                                                                      yes 
-MMD                                                                     yes 
-Wall                                                                    yes 
-Wno-unused-local-typedefs                                               yes 
-Wno-unused-function                                                     yes 

OpenMP support
-fopenmp                                                                 yes 

BLAS library
Also detects Fortran name mangling and BLAS integer size.
BLAS (ddot) in:
Default
    -DLAPACK_FORTRAN_ADD_                                                no 
    -DLAPACK_FORTRAN_LOWER                                               no 
    -DLAPACK_FORTRAN_UPPER                                               no 
Intel MKL (int, GNU Fortran conventions, threaded)
    -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lm
    -DLAPACK_FORTRAN_ADD_                                                no 
Intel MKL (int64, GNU Fortran conventions, threaded)
    -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -lm
    -DLAPACK_FORTRAN_ADD_                                                no 
Intel MKL (int, GNU Fortran conventions, sequential)
    -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lm
    -DLAPACK_FORTRAN_ADD_                                                no 
Intel MKL (int64, GNU Fortran conventions, sequential)
    -lmkl_gf_ilp64 -lmkl_sequential -lmkl_core -lm
    -DLAPACK_FORTRAN_ADD_                                                no 
Intel MKL (int, Intel Fortran conventions, sequential)
    -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm
    -DLAPACK_FORTRAN_ADD_                                                no 
Intel MKL (int64, Intel Fortran conventions, sequential)
    -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lm
    -DLAPACK_FORTRAN_ADD_                                                no 
IBM ESSL int (lp64), threaded
    -lesslsmp
    -DLAPACK_FORTRAN_ADD_                                                no 
IBM ESSL int64 (ilp64), threaded
    -lesslsmp6464
    -DLAPACK_FORTRAN_ADD_                                                no 
IBM ESSL int (lp64), sequential
    -lessl
    -DLAPACK_FORTRAN_ADD_                                                no 
IBM ESSL int64 (ilp64), sequential
    -lessl6464
    -DLAPACK_FORTRAN_ADD_                                                no 
OpenBLAS
    -lopenblas
    -DLAPACK_FORTRAN_ADD_                                                no 
BLIS
    -lflame -lblis
    -DLAPACK_FORTRAN_ADD_                                                yes 

BLAS (sdot) returns float as float (standard)                            yes 
BLAS (zdotc) returns complex (GNU gfortran convention)                   yes 
BLIS version                                                             yes (AOCL-BLIS 4.2.0 Build 20241025)

CBLAS library
CBLAS (cblas_ddot) in BLAS library                                       yes 

LAPACK library
LAPACK (dpstrf) in BLAS library                                          yes 
LAPACK version                                                           yes (3.11.00)
LAPACK XBLAS (dposvxx) in LAPACK library                                 no 
Matrix generation (dlagsy) in LAPACK library                             no 
Matrix generation (dlagsy) in -ltmglib                                   no 

LAPACKE library
LAPACKE (LAPACKE_dpstrf) in LAPACK library                               yes 

GPU BLAS libraries: gpu_backend = none
skipping CUDA search
skipping HIP/ROCm search
skipping SYCL search
Warning: No GPU BLAS library found

BLAS++
../blaspp/include/blas.hh                                                yes 

TestSweeper
../testsweeper/testsweeper.hh                                            yes 

Output files
creating make.inc
creating include/lapack/defines.h
log in config/log.txt
--------------------------------------------------------------------------------
g++ -std=c++17 -O2 -MMD -Wall -Wno-unused-local-typedefs -Wno-unused-function -fopenmp -fPIC -I./include -I../blaspp/include -c src/bbcsd.cc -o src/bbcsd.o
...
g++ -std=c++17 -O2 -MMD -Wall -Wno-unused-local-typedefs -Wno-unused-function -fopenmp -fPIC -I./include -I../blaspp/include -I../testsweeper -c test/test_upmtr.cc -o test/test_upmtr.o
mkdir -p lib
g++ -fopenmp -fPIC -shared -Wl,-soname,liblapackpp.so.1 -lflame -lblis src/bbcsd.o src/bdsdc.o src/bdsqr.o src/bdsvdx.o src/disna.o src/gbbrd.o src/gbcon.o src/gbequ.o src/gbequb.o src/gbrfs.o src/gbrfsx.o src/gbsv.o src/gbsvx.o src/gbtrf.o src/gbtrs.o src/gebak.o src/gebal.o src/gebrd.o src/gecon.o src/geequ.o src/geequb.o src/gees.o src/geesx.o src/geev.o src/gehrd.o src/gelq.o src/gelq2.o src/gelqf.o src/gels.o src/gelsd.o src/gelss.o src/gelsy.o src/gemlq.o src/gemqr.o src/gemqrt.o src/geql2.o src/geqlf.o src/geqp3.o src/geqr.o src/geqr2.o src/geqrf.o src/geqrfp.o src/geqrt.o src/geqrt2.o src/geqrt3.o src/gerfs.o src/gerfsx.o src/gerq2.o src/gerqf.o src/gesdd.o src/gesv.o src/gesvd.o src/gesvdx.o src/gesvx.o src/getf2.o src/getrf.o src/getrf2.o src/getri.o src/getrs.o src/getsls.o src/ggbak.o src/ggbal.o src/gges.o src/gges3.o src/ggesx.o src/ggev.o src/ggev3.o src/ggglm.o src/gghrd.o src/gglse.o src/ggqrf.o src/ggrqf.o src/ggsvd3.o src/ggsvp3.o src/gtcon.o src/gtrfs.o src/gtsv.o src/gtsvx.o src/gttrf.o src/gttrs.o src/hbev.o src/hbev_2stage.o src/hbevd.o src/hbevd_2stage.o src/hbevx.o src/hbevx_2stage.o src/hbgst.o src/hbgv.o src/hbgvd.o src/hbgvx.o src/hbtrd.o src/hecon.o src/hecon_rk.o src/heequb.o src/heev.o src/heev_2stage.o src/heevd.o src/heevd_2stage.o src/heevr.o src/heevr_2stage.o src/heevx.o src/heevx_2stage.o src/hegst.o src/hegv.o src/hegv_2stage.o src/hegvd.o src/hegvx.o src/herfs.o src/herfsx.o src/hesv.o src/hesv_aa.o src/hesv_rk.o src/hesv_rook.o src/hesvx.o src/heswapr.o src/hetrd.o src/hetrd_2stage.o src/hetrf.o src/hetrf_aa.o src/hetrf_rk.o src/hetrf_rook.o src/hetri.o src/hetri2.o src/hetri_rk.o src/hetrs.o src/hetrs2.o src/hetrs_aa.o src/hetrs_rk.o src/hetrs_rook.o src/hfrk.o src/hgeqz.o src/hpcon.o src/hpev.o src/hpevd.o src/hpevx.o src/hpgst.o src/hpgv.o src/hpgvd.o src/hpgvx.o src/hprfs.o src/hpsv.o src/hpsvx.o src/hptrd.o src/hptrf.o src/hptri.o src/hptrs.o src/hseqr.o src/lacgv.o src/lacp2.o src/lacpy.o src/lae2.o src/laed4.o src/laev2.o src/lag2c.o src/lag2d.o src/lag2s.o src/lag2z.o src/lagge.o src/laghe.o src/lagsy.o src/langb.o src/lange.o src/langt.o src/lanhb.o src/lanhe.o src/lanhp.o src/lanhs.o src/lanht.o src/lansb.o src/lansp.o src/lanst.o src/lansy.o src/lantb.o src/lantp.o src/lantr.o src/lapmr.o src/lapmt.o src/lapy2.o src/lapy3.o src/larf.o src/larfb.o src/larfg.o src/larfgp.o src/larft.o src/larfx.o src/larfy.o src/larnv.o src/lartg.o src/lartgp.o src/lartgs.o src/lascl.o src/laset.o src/lasr.o src/lassq.o src/laswp.o src/lauum.o src/opgtr.o src/opmtr.o src/orcsd2by1.o src/orgbr.o src/orghr.o src/orglq.o src/orgql.o src/orgqr.o src/orgrq.o src/orgtr.o src/orhr_col.o src/ormbr.o src/ormhr.o src/ormlq.o src/ormql.o src/ormqr.o src/ormrq.o src/ormrz.o src/ormtr.o src/pbcon.o src/pbequ.o src/pbrfs.o src/pbstf.o src/pbsv.o src/pbsvx.o src/pbtrf.o src/pbtrs.o src/pftrf.o src/pftri.o src/pftrs.o src/pocon.o src/poequ.o src/poequb.o src/porfs.o src/porfsx.o src/posv.o src/posvx.o src/potf2.o src/potrf.o src/potrf2.o src/potri.o src/potrs.o src/ppcon.o src/ppequ.o src/pprfs.o src/ppsv.o src/ppsvx.o src/pptrf.o src/pptri.o src/pptrs.o src/pstrf.o src/ptcon.o src/pteqr.o src/ptrfs.o src/ptsv.o src/ptsvx.o src/pttrf.o src/pttrs.o src/sbev.o src/sbev_2stage.o src/sbevd.o src/sbevd_2stage.o src/sbevx.o src/sbevx_2stage.o src/sbgst.o src/sbgv.o src/sbgvd.o src/sbgvx.o src/sbtrd.o src/sfrk.o src/spcon.o src/spev.o src/spevd.o src/spevx.o src/spgst.o src/spgv.o src/spgvd.o src/spgvx.o src/sprfs.o src/spsv.o src/spsvx.o src/sptrd.o src/sptrf.o src/sptri.o src/sptrs.o src/stedc.o src/stegr.o src/stein.o src/stemr.o src/steqr.o src/sterf.o src/stev.o src/stevd.o src/stevr.o src/stevx.o src/sturm.o src/sycon.o src/sycon_rk.o src/syequb.o src/syev.o src/syev_2stage.o src/syevd.o src/syevd_2stage.o src/syevr.o src/syevr_2stage.o src/syevx.o src/syevx_2stage.o src/sygst.o src/sygv.o src/sygv_2stage.o src/sygvd.o src/sygvx.o src/syrfs.o src/syrfsx.o src/sysv.o src/sysv_aa.o src/sysv_rk.o src/sysv_rook.o src/sysvx.o src/syswapr.o src/sytrd.o src/sytrd_2stage.o src/sytrf.o src/sytrf_aa.o src/sytrf_rk.o src/sytrf_rook.o src/sytri.o src/sytri2.o src/sytri_rk.o src/sytrs.o src/sytrs2.o src/sytrs_aa.o src/sytrs_rk.o src/sytrs_rook.o src/tbcon.o src/tbrfs.o src/tbtrs.o src/tfsm.o src/tftri.o src/tfttp.o src/tfttr.o src/tgexc.o src/tgsen.o src/tgsja.o src/tgsyl.o src/tpcon.o src/tplqt.o src/tplqt2.o src/tpmlqt.o src/tpmqrt.o src/tpqrt.o src/tpqrt2.o src/tprfb.o src/tprfs.o src/tptri.o src/tptrs.o src/tpttf.o src/tpttr.o src/trcon.o src/trevc.o src/trevc3.o src/trexc.o src/trrfs.o src/trsen.o src/trtri.o src/trtrs.o src/trttf.o src/trttp.o src/tzrzf.o src/ungbr.o src/unghr.o src/unglq.o src/ungql.o src/ungqr.o src/ungrq.o src/ungtr.o src/unhr_col.o src/unmbr.o src/unmhr.o src/unmlq.o src/unmql.o src/unmqr.o src/unmrq.o src/unmrz.o src/unmtr.o src/upgtr.o src/upmtr.o src/util.o src/version.o src/cuda/cuda_common.o src/cuda/cuda_geqrf.o src/cuda/cuda_getrf.o src/cuda/cuda_heevd.o src/cuda/cuda_potrf.o src/rocm/rocm_geqrf.o src/rocm/rocm_getrf.o src/rocm/rocm_heevd.o src/rocm/rocm_potrf.o src/onemkl/onemkl_geqrf.o src/onemkl/onemkl_getrf.o src/onemkl/onemkl_heevd.o src/onemkl/onemkl_potrf.o src/stub/stub_geqrf.o src/stub/stub_getrf.o src/stub/stub_heevd.o src/stub/stub_potrf.o -o lib/liblapackpp.so.1.0.0
ln -fs liblapackpp.so.1.0.0 lib/liblapackpp.so.1
ln -fs liblapackpp.so.1 lib/liblapackpp.so
g++ -L./lib -Wl,-rpath,/home/mgates/repos/lapackpp/lib -L../blaspp/lib -Wl,-rpath,/home/mgates/repos/blaspp/lib -L../testsweeper -Wl,-rpath,/home/mgates/repos/testsweeper -fopenmp -fPIC test/cblas_wrappers.o test/matrix_generator.o test/matrix_params.o test/test.o test/test_gbcon.o test/test_gbequ.o test/test_gbrfs.o test/test_gbsv.o test/test_gbtrf.o test/test_gbtrs.o test/test_gecon.o test/test_geequ.o test/test_geev.o test/test_gehrd.o test/test_gelqf.o test/test_gels.o test/test_gelsd.o test/test_gelss.o test/test_gelsy.o test/test_gemqrt.o test/test_geqlf.o test/test_geqr.o test/test_geqrf.o test/test_geqrf_device.o test/test_gerfs.o test/test_gerqf.o test/test_gesdd.o test/test_gesv.o test/test_gesvd.o test/test_gesvdx.o test/test_gesvx.o test/test_getrf.o test/test_getrf_device.o test/test_getri.o test/test_getrs.o test/test_getsls.o test/test_ggev.o test/test_ggglm.o test/test_gglse.o test/test_ggqrf.o test/test_ggrqf.o test/test_gtcon.o test/test_gtrfs.o test/test_gtsv.o test/test_gttrf.o test/test_gttrs.o test/test_hbev.o test/test_hbevd.o test/test_hbevx.o test/test_hbgv.o test/test_hbgvd.o test/test_hbgvx.o test/test_hecon.o test/test_heev.o test/test_heevd.o test/test_heevd_device.o test/test_heevr.o test/test_heevx.o test/test_hegst.o test/test_hegv.o test/test_hegvd.o test/test_hegvx.o test/test_herfs.o test/test_hesv.o test/test_hetrd.o test/test_hetrf.o test/test_hetri.o test/test_hetrs.o test/test_hpcon.o test/test_hpev.o test/test_hpevd.o test/test_hpevx.o test/test_hpgst.o test/test_hpgv.o test/test_hpgvd.o test/test_hpgvx.o test/test_hprfs.o test/test_hpsv.o test/test_hptrd.o test/test_hptrf.o test/test_hptri.o test/test_hptrs.o test/test_lacpy.o test/test_lae2.o test/test_laed4.o test/test_laev2.o test/test_langb.o test/test_lange.o test/test_langt.o test/test_lanhb.o test/test_lanhe.o test/test_lanhp.o test/test_lanhs.o test/test_lanht.o test/test_lansb.o test/test_lansp.o test/test_lanst.o test/test_lansy.o test/test_lantb.o test/test_lantp.o test/test_lantr.o test/test_larf.o test/test_larfb.o test/test_larfg.o test/test_larfgp.o test/test_larft.o test/test_larfx.o test/test_larfy.o test/test_laset.o test/test_lasr.o test/test_laswp.o test/test_orhr_col.o test/test_pbcon.o test/test_pbequ.o test/test_pbrfs.o test/test_pbsv.o test/test_pbtrf.o test/test_pbtrs.o test/test_pocon.o test/test_poequ.o test/test_porfs.o test/test_posv.o test/test_potrf.o test/test_potrf_device.o test/test_potri.o test/test_potrs.o test/test_ppcon.o test/test_ppequ.o test/test_pprfs.o test/test_ppsv.o test/test_pptrf.o test/test_pptri.o test/test_pptrs.o test/test_ptcon.o test/test_ptrfs.o test/test_ptsv.o test/test_pttrf.o test/test_pttrs.o test/test_spcon.o test/test_sprfs.o test/test_spsv.o test/test_sptrf.o test/test_sptri.o test/test_sptrs.o test/test_sturm.o test/test_sycon.o test/test_syrfs.o test/test_sysv.o test/test_sysv_aa.o test/test_sysv_rk.o test/test_sysv_rook.o test/test_sytrf.o test/test_sytrf_aa.o test/test_sytrf_rk.o test/test_sytrf_rook.o test/test_sytri.o test/test_sytrs.o test/test_sytrs_aa.o test/test_sytrs_rook.o test/test_tgexc.o test/test_tgsen.o test/test_tplqt.o test/test_tplqt2.o test/test_tpmlqt.o test/test_tpmqrt.o test/test_tpqrt.o test/test_tpqrt2.o test/test_tprfb.o test/test_unghr.o test/test_unglq.o test/test_ungql.o test/test_ungqr.o test/test_ungrq.o test/test_ungtr.o test/test_unhr_col.o test/test_unmhr.o test/test_unmtr.o test/test_upgtr.o test/test_upmtr.o \
	-llapackpp -lblaspp -ltestsweeper -lflame -lblis -o test/tester


sh methane lapackpp> cd test
sh methane test> ./run_tests.py --quick > q
Thu Dec 26 19:17:41 2024
./tester  --type s,d,c,z --align 32 --dim 100 gesv
pass
...
./tester  --type s,d,c,z --dim 100 --norm max,1,inf,fro lanst
pass

All routines passed.
Elapsed 87.14 sec
Thu Dec 26 19:19:08 2024


sh methane lapackpp> make install prefix=$PWD/install-make
perl -pe "s'#VERSION'2024.10.26'; \
          s'#PREFIX'/home/mgates/repos/lapackpp/install-make'; \
          s'#CXX\b'g++'; \
          s'#CXXFLAGS'-std=c++17'; \
          s'#CPPFLAGS''; \
          s'#LDFLAGS'-fopenmp'; \
          s'#LIBS'-lflame -lblis';" \
          lib/pkgconfig/lapackpp.pc.in > lib/pkgconfig/lapackpp.pc
mkdir -p /home/mgates/repos/lapackpp/install-make/include/lapack
mkdir -p /home/mgates/repos/lapackpp/install-make/lib/pkgconfig
cp include/*.hh        /home/mgates/repos/lapackpp/install-make/include/
cp include/lapack/*.h  /home/mgates/repos/lapackpp/install-make/include/lapack/
cp include/lapack/*.hh /home/mgates/repos/lapackpp/install-make/include/lapack/
cp -av lib/liblapackpp*    /home/mgates/repos/lapackpp/install-make/lib/
removed '/home/mgates/repos/lapackpp/install-make/lib/liblapackpp.so'
'lib/liblapackpp.so' -> '/home/mgates/repos/lapackpp/install-make/lib/liblapackpp.so'
removed '/home/mgates/repos/lapackpp/install-make/lib/liblapackpp.so.1'
'lib/liblapackpp.so.1' -> '/home/mgates/repos/lapackpp/install-make/lib/liblapackpp.so.1'
'lib/liblapackpp.so.1.0.0' -> '/home/mgates/repos/lapackpp/install-make/lib/liblapackpp.so.1.0.0'
cp lib/pkgconfig/lapackpp.pc              /home/mgates/repos/lapackpp/install-make/lib/pkgconfig/
cd ../blaspp && make install prefix=/home/mgates/repos/lapackpp/install-make
make[1]: Entering directory '/home/mgates/repos/blaspp'
perl -pe "s'#VERSION'2024.10.26'; \
          s'#PREFIX'/home/mgates/repos/lapackpp/install-make'; \
          s'#CXX\b'g++'; \
          s'#CXXFLAGS'-std=c++17'; \
          s'#CPPFLAGS''; \
          s'#LDFLAGS'-fopenmp'; \
          s'#LIBS'-lflame -lblis';" \
          lib/pkgconfig/blaspp.pc.in > lib/pkgconfig/blaspp.pc
mkdir -p /home/mgates/repos/lapackpp/install-make/include/blas
mkdir -p /home/mgates/repos/lapackpp/install-make/lib/pkgconfig
cp include/*.hh      /home/mgates/repos/lapackpp/install-make/include/
cp include/blas/*.h  /home/mgates/repos/lapackpp/install-make/include/blas/
cp include/blas/*.hh /home/mgates/repos/lapackpp/install-make/include/blas/
cp -av lib/libblaspp*  /home/mgates/repos/lapackpp/install-make/lib/
'lib/libblaspp.so' -> '/home/mgates/repos/lapackpp/install-make/lib/libblaspp.so'
'lib/libblaspp.so.1' -> '/home/mgates/repos/lapackpp/install-make/lib/libblaspp.so.1'
'lib/libblaspp.so.1.0.0' -> '/home/mgates/repos/lapackpp/install-make/lib/libblaspp.so.1.0.0'
'lib/libblaspp.so.1.0.0-save' -> '/home/mgates/repos/lapackpp/install-make/lib/libblaspp.so.1.0.0-save'
cp lib/pkgconfig/blaspp.pc            /home/mgates/repos/lapackpp/install-make/lib/pkgconfig/
make[1]: Leaving directory '/home/mgates/repos/blaspp'


sh methane lapackpp> cd examples/
sh methane examples> make 
g++ -I/home/mgates/repos/lapackpp/install-make/include -std=c++17  -c -o example_potrf.o example_potrf.cc
g++ -o example_potrf example_potrf.o -L/home/mgates/repos/lapackpp/install-make/lib -llapackpp -Wl,-rpath,/home/mgates/repos/lapackpp/install-make/lib -lblaspp -fopenmp -lflame -lblis 
sh methane examples> ./example_potrf 
run< float >( 100 )
run< double >( 100 )
run< complex<float> >( 100 )
run< complex<double> >( 100 )

@mgates3 mgates3 mentioned this pull request Dec 29, 2024
@mgates3 mgates3 merged commit d4c9e00 into icl-utk-edu:master Jan 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants