From: Nicolas Ratier <nicolas.ratier@femto-st.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Problem with: opam install conf-openblas (openSUSE 13.2, OCaml 4.06.1, opam 1.2.2)
Date: Mon, 10 Sep 2018 10:07:12 +0200 [thread overview]
Message-ID: <ca5eb607-27b4-d4bb-d2e9-fd62b5118214@femto-st.fr> (raw)
In-Reply-To: <E12A3790-ECAE-468C-B3C0-6A23FEA029E6@inria.fr>
Dear OCaml list,
openblas is installed in my computer, but opam fail to find it.
The opam message is: idon't find the file "cblas.h"(see 2)
$ ls /usr/include/openblas/
cblas.h f77blas.h lapacke_config.h lapacke.h lapacke_mangling.h
lapacke_utils.h openblas_config.h
I have the same problem with plplot (I need both to useowl)
I work on:(Command: uname -mrs & lsb_release -ds)
Linux 3.16.7-42-desktop x86_64
"openSUSE 13.2 (Harlequin) (x86_64)"
OCaml 4.06.1
opam 1.2.2
How to solve this ?
I compile OpenBLAS from source (see 1)
Is there a place to re-install OpenBLAS to be seen by Opam ?
Thank you very much for your help
Nicolas
==========================================================================
1
==========================================================================
OpenBLAS build complete. (BLAS CBLAS LAPACK LAPACKE)
OS ... Linux
Architecture ... x86_64
BINARY ... 64bit
C compiler ... GCC (command line : gcc)
Fortran compiler ... GFORTRAN (command line : gfortran)
Library Name ... libopenblas_haswellp-r0.2.20.a (Multi threaded;
Max num-threads is 12)
To install the library, you can run "make
PREFIX=/path/to/your/installation install".
===========================================================================
2
===========================================================================
$ opam install conf-openblas
=-=- Processing actions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of conf-openblas failed at "sh -exc cc $CFLAGS
test.c -lopenblas".
#=== ERROR while installing conf-openblas.0.2.0
===============================#
# opam-version 1.2.2
# os linux
# command sh -exc cc $CFLAGS test.c -lopenblas
# path /home/nicolas/.opam/4.06.1/build/conf-openblas.0.2.0
# compiler 4.06.1
# exit-code 1
# env-file
/home/nicolas/.opam/4.06.1/build/conf-openblas.0.2.0/conf-openblas-14498-dd682e.env
# stdout-file
/home/nicolas/.opam/4.06.1/build/conf-openblas.0.2.0/conf-openblas-14498-dd682e.out
# stderr-file
/home/nicolas/.opam/4.06.1/build/conf-openblas.0.2.0/conf-openblas-14498-dd682e.err
### stderr ###
# + cc test.c -lopenblas
# test.c:1:19: fatal error: cblas.h: Aucun fichier ou dossier de ce type
# #include <cblas.h>
# ^
# compilation terminated.
next prev parent reply other threads:[~2018-09-10 8:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 15:55 [Caml-list] OCaml release 4.07.0 Damien Doligez
2018-07-11 21:01 ` Ian Zimmerman
2018-07-11 21:12 ` Ian Zimmerman
2018-07-12 0:11 ` Jacques Garrigue
2018-09-10 8:07 ` Nicolas Ratier [this message]
2018-09-10 9:22 ` [Caml-list] Problem with: opam install conf-openblas (openSUSE 13.2, OCaml 4.06.1, opam 1.2.2) Gabriel Scherer
2018-09-10 15:45 ` Nicolas Ratier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ca5eb607-27b4-d4bb-d2e9-fd62b5118214@femto-st.fr \
--to=nicolas.ratier@femto-st.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox