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

Compiling with lapack and blas #2

Closed
svigerske opened this issue Feb 24, 2019 · 9 comments
Closed

Compiling with lapack and blas #2

svigerske opened this issue Feb 24, 2019 · 9 comments
Labels
enhancement New feature or request

Comments

@svigerske
Copy link
Contributor

Issue created by migration from Trac.

Original creator: fmargot

Original creation time: 2006-06-21 13:24:21

Assignee: somebody

Version:

Keywords: lapack

How do I compile a package with Lapack and Blas?
With the old build process, there was a line

CoinLibsDefined += COIN_lapack

in Makefile.location. I tried

./configure --with-lapack --with-blas

but this does not seem to work. At least, there is no mention
of Lapack or Blas in the config.log. I could not find any mention of this on the BuildTools Trac pages.

@svigerske svigerske added component1 enhancement New feature or request labels Feb 24, 2019
@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2006-06-21 15:06:55

CoinUtils has not yet been set up to work with Blas and Lapack. Will be addressed in the future.

@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2006-06-21 15:06:55

Changing assignee from somebody to @andrea5w.

@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2006-06-21 15:06:55

Changing status from new to assigned.

@svigerske
Copy link
Contributor Author

Comment by @LouHafer created at 2006-11-15 18:30:43

In the macros COIN_HAS_BLAS and COIN_HAS_LAPACK, there is a subtle typo in the call to AC_COIN_TRY_FLINK for the -sun- case. Misplaced '],' means that sunperf isn't added to ADDLIBS. Here's a diff (line numbers are off because of some other local changes in my coin.m4).

`@``@` -2170,8 +2177,8 `@``@`
       LIBS="-xlic_lib=sunperf $LIBS"
       AC_COIN_TRY_FLINK([daxpy],
                [AC_MSG_RESULT([yes])
-                use_blas='-xlic_lib=sunperf'],
-                ADDLIBS="-xlic_lib=sunperf $ADDLIBS"
+                use_blas='-xlic_lib=sunperf'
+                ADDLIBS="-xlic_lib=sunperf $ADDLIBS"],
                [AC_MSG_RESULT([no])
                 LIBS="$SAVE_LIBS"])
       ;;
`@``@` -2272,8 +2279,8 `@``@`
         LIBS="-xlic_lib=sunperf $LIBS"
         AC_COIN_TRY_FLINK([dsyev],
                  [AC_MSG_RESULT([yes])
-                  use_lapack='-xlic_lib=sunperf'],
-                  ADDLIBS="-xlic_lib=sunperf $ADDLIBS"
+                  use_lapack='-xlic_lib=sunperf'
+                  ADDLIBS="-xlic_lib=sunperf $ADDLIBS"],
                  [AC_MSG_RESULT([no])
                   LIBS="$SAVE_LIBS"])
         ;;

@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2006-11-15 21:07:06

Corrected coin.m4 file in stable/0.5 and trunk, according to Lou's suggestion

I'm not closing ticket, since the Blas and Lapack libraries are still not properly integrated and documented.

@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2006-11-15 21:07:06

Changing priority from major to minor.

@svigerske svigerske added minor and removed major labels Feb 24, 2019
@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2006-12-12 00:14:03

Who voluntees to write the documentation...? :) It is all working properly now.

@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2007-08-09 16:42:08

updated some documentation on the wiki. closing ticket.

@svigerske
Copy link
Contributor Author

Comment by @andrea5w created at 2007-08-09 16:42:08

Resolution: fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant