Menu

Provided blacs does not work

Help
2019-12-23
2023-06-20
1 2 > >> (Page 1 of 2)
  • CrocoDuck o'Ducks

    Hi there!

    I am trying to build the docker file 'acousto-2.0_dockerfile' by issuing
    this command:

    docker build - < acousto-2.0_dockerfile
    

    However, the build fails at this stage:

    checking for Cblacs_pinfo in -lblacsCinit... no
    checking for Cblacs_pinfo in -lblacsC... no
    checking for Cblacs_pinfo in -lmpiblacsCinit... no
    checking for Cblacs_pinfo in -lblacsCinit_MPI... no
    checking for Cblacs_pinfo in -lblacsCinit-openmpi... no
    configure: error: Provided blacs does not work!
    

    It is perhaps worth to mention that I had the same exact error while
    trying to build from source a native installation, despite being sure I
    sorted out all dependencies. See my docker info below:

    Client:
      Debug Mode: false
    
    Server:
      Containers: 1
       Running: 0
       Paused: 0
       Stopped: 1
      Images: 20
      Server Version: 19.03.5-ce
      Storage Driver: overlay2
       Backing Filesystem: extfs
       Supports d_type: true
       Native Overlay Diff: false
      Logging Driver: json-file
      Cgroup Driver: cgroupfs
      Plugins:
       Volume: local
       Network: bridge host ipvlan macvlan null overlay
       Log: awslogs fluentd gcplogs gelf journald json-file local
    logentries splunk syslog
      Swarm: inactive
      Runtimes: runc
      Default Runtime: runc
      Init Binary: docker-init
      containerd version: d50db0a42053864a270f648048f9a8b4f24eced3.m
      runc version: d736ef14f0288d6993a1845745d6756cfc9ddd5a
      init version: fec3683
      Security Options:
       seccomp
        Profile: default
      Kernel Version: 5.4.6-arch1-1
      Operating System: Arch Linux
      OSType: linux
      Architecture: x86_64
      CPUs: 4
      Total Memory: 7.696GiB
      Name: arch
      ID: RH74:WYGN:OK44:FQSW:4K2D:424E:UNCH:GEG4:M46C:DL46:CIGP:54VD
      Docker Root Dir: /var/lib/docker
      Debug Mode: false
      Registry: https://index.docker.io/v1/
      Labels:
      Experimental: false
      Insecure Registries:
       127.0.0.0/8
      Live Restore Enabled: false
    

    Any idea?

    Cheers,

    CrocoDuck

     
  • Umberto Iemma

    Umberto Iemma - 2019-12-24

    Hi CrocoDuck,
    I'll check the procedure this afternoon and let you know.
    Best wishes
    Umb

     
  • Umberto Iemma

    Umberto Iemma - 2019-12-26

    Hi CrocoDuck,

    try the following

    • in the dockerfile change "FROM debian" to "FROM debian:8.6"

    • from the directory where the dockerfile is, issue the command
      docker build -t name-of-image . -f ./acousto-2.0_dockerfile

    Let me know ...

    Umb

     
    • James Marine

      James Marine - 2020-02-03

      Hi Umb,

      I have same issue here. The difference is that i am using native build under centos 7.4, do you know how to solver this problem?

      Thanks & Regards,
      James

       
    • Fred Voisin

      Fred Voisin - 2020-02-26

      Yep, FROM debian:8.6 is working on ubuntu 18.04 :)
      Thank's.
      Fred

       
  • Umberto Iemma

    Umberto Iemma - 2020-02-03

    Hi James,

    if you are trying to compile outside a docker cintainer it's not the same issue. CrocoDuck problem was a purely dockerfile problem.

    Could you please post the config.log ?

    U

     
    • James Marine

      James Marine - 2020-02-03

      Hi Umberto,

      See attached. Is there any requirement on which version of lib and openmpi should be used?

      By the way, is there any update on AcouSTO? I noted that there has been long time no update.

      Thanks & Regards,
      James

       

      Last edit: James Marine 2020-02-03
  • Umberto Iemma

    Umberto Iemma - 2020-02-03

    My group is working on a major update that will take some time to be released.
    Soon, we will publish minor updates to guarantee compatibility with the latest MPI release
    and fix some installation problem.

    It seems that there is something wrong in your installation.

    • blas seems to be not present
    • MPI seems to be compiled without fortyran support

    Check carefully your setup and send a feedback

    U

     
  • Umberto Iemma

    Umberto Iemma - 2020-02-03

    please try with the mpi new and sclapack new oprtions

     
  • Umberto Iemma

    Umberto Iemma - 2020-02-03

    mmmh, strange... Later this afternoon I'll try to reproduce your probloem here. Now I have to teach ...

     
  • Umberto Iemma

    Umberto Iemma - 2020-02-03

    I've tried on a Centos 7.4 VM and works perfectly !

    Just install openmpi3 suite and lapack devel package from standard centos repository.
    Then follow these steps

    1) Download latest epel-release rpm from
    
    http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/
    
    2) Install epel-release rpm:
    
    # rpm -Uvh epel-release*rpm
    
    3) Install scalapack-openmpi3-static rpm package:
    
    # yum install scalapack-openmpi3-static
    

    Then, configure acousto with

    ./configure --enable-mppinew --enable-scalapack_new

    Now you can compile and instal with

    make && sudo make install

    Best,
    Umb

     
  • Nazalli choucha

    Nazalli choucha - 2021-02-25

    Hello,
    I'm trying to install with ubuntu 20.04. I got the following error with configure :
    configure: MPI version used: 1.6.x
    checking for Cblacs_pinfo in -lblacsCinit... no
    checking for Cblacs_pinfo in -lblacsC... no
    checking for Cblacs_pinfo in -lmpiblacsCinit... no
    checking for Cblacs_pinfo in -lblacsCinit_MPI... no
    checking for Cblacs_pinfo in -lblacsCinit-openmpi... no
    configure: error: Provided blacs does not work!

    Could you please help me solve this problem.

    Cheers,
    Nazalli

     
  • Max Funk

    Max Funk - 2021-04-07

    Hello, I have the same problem: blacs not working in current Ubuntu 20.04

    However, I found that in Ubuntu 16.04 there was
    libblacs-openmpi-dev
    Now, in Ubuntu 20.04, there is only a "virtual" package, "provided" by
    libscalapack-openmpi-dev

    [...]

    By the way, the other installation option in docker, with the modification FROM debian:8.6 as described above by Umberto lemma was also successful for me.

     

    Last edit: Max Funk 2021-04-11
    • fred voisin

      fred voisin - 2021-04-07

      Hello,

      I’m sorry I’m still using ubuntu 18.04.
      As you said it should be easy to fix, probably just a link.
      Thank’s for your positive experience with using docker option.

      Fred

      On 7 Apr 2021, at 19:19, Max Funk mf3@users.sourceforge.net wrote:

      Hello, I have the same problem: blacs not working in current Ubuntu 20.04

      However, I found that in Ubuntu 16.04 there were the packages
      libblacs-openmpi-dev
      and
      libblacs-openmpi1
      which contain some "blacs" library files

      Now, in Ubuntu 20.04, there is only a "virtual" package:
      libblacs-openmpi-dev
      which is "provided" by
      libscalapack-openmpi-dev
      and the binary files are provided from
      libscalapack-openmpi2.1

      Perhaps one should modify the configure.ac file so that these libraries are properly linked; however I had no success with this up to now.

      Maybe for some expert this would be trivial...
      .......

      By the way, the other installation option in docker, with the modification FROM debian:8.6 as described above by Umberto lemma was also successful for me.

      Provided blacs does not work https://sourceforge.net/p/acousto/discussion/852636/thread/ecebae1d2e/?limit=25#5d0d
      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/acousto/discussion/852636/ https://sourceforge.net/p/acousto/discussion/852636/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/


      Fred Voisin
      computer music & sound designer

      http://fredvoisin.com
      Office: +33 (0)9 54 16 10 40
      GSM: +33 (0)670 21 86 61

       
  • Max Funk

    Max Funk - 2021-04-07

    (removed)

     

    Last edit: Max Funk 2021-04-09
  • Max Funk

    Max Funk - 2021-04-09

    Hello, thanks for the reply :-)

    I got it compiled in Ubuntu 20.04.

    • Compile and install ScaLAPACK 2.1.0 from sources (with cmake and default configuration:
    cp SLmake.inc.example SLmake.inc 
    

    this gives libscalapack.a in /usr/local/lib

    • For AcouSTO, run ./configure with following options (of course, all necessary libraries must be installed):
    ./configure --prefix=/usr/local \
       --enable-mpinew --enable-scalapack_new \
       --with-libconfig=/usr/lib/x86_64-linux-gnu \
       --with-blas=/usr/lib/x86_64-linux-gnu/blas \
       --with-lapack=/usr/lib/x86_64-linux-gnu/lapack \
       --with-scalapack=/usr/local/lib
    
    • The newest MPI library has changed its syntax, and make gives an error in
    src/mpi/mpiutils.c
    

    I tried a preliminary fix and replaced all occurrences of MPI_UB with MPI_INT.

    Hopefully, it will also calculate, let's see...

    Best, Max

     

    Last edit: Max Funk 2021-04-12
  • Nazalli choucha

    Nazalli choucha - 2021-04-10

    Thanks for you help. I installed the docker image with changing FROM debian to FROM debian:8.6 as. It worked well !

     
  • Max Funk

    Max Funk - 2021-04-12

    Hallo, I wanted to finish this investigation about Ubuntu installation; meanwhile I did it better...

    • The "BLACS" not found message in newer library versions can mean, that "libscalapack.a" is not found. Because "blacs" is now contained in "scalapack". However, it is not necessary to rebuild scalapack. Instead, the shared libraries in the package "libscalapack-openmpi-dev" are sufficient. However, a link is needed:
    ln -s /usr/lib/x86_64-linux-gnu/libscalapack-openmpi.so /usr/lib/x86_64-linux-gnu/libscalapack.so
    
    • The ./configure command can be simply:
     ./configure --prefix=/usr/local \
                 --enable-mpinew --enable-scalapack_new \
                 --with-libs=/usr/lib/x86_64-linux-gnu
    
     #define OMPI_ENABLE_MPI1_COMPAT 0
    

    with

    #define OMPI_ENABLE_MPI1_COMPAT 1
    

    in the file

     /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h
    

    That's all.

    I wrote a shell script from the template of the dockerfile, which makes everything (package download, mpi setting, compile, install) out of the box (attachment). On my Windows10 - Linux subsystem it works; however no whatever warranty...

    Best regards

     

    Last edit: Max Funk 2021-04-13
  • Max Funk

    Max Funk - 2021-04-12

    Here my install script again, tested with a complete vanilla Ubuntu 20.04 and two bugs fixed.

     
  • Max Funk

    Max Funk - 2021-04-13

    Tried out Ubuntu 18.04 and current Debian (10.6) shell and the install script (see previous post) worked fine :-)

     
  • Umberto Iemma

    Umberto Iemma - 2021-04-13

    Dear Max
    thank you for your contribution! We are about to release v2.5 and we will test your script also with it. This will be the last Acousto version, then something new will happen .... Thank you again

     
  • Max Funk

    Max Funk - 2021-04-13

    Happy, that I could contribute. And looking forward to your new version :-)

     
  • Max Funk

    Max Funk - 2021-04-14

    Finally, I did some code cleaning and better commenting in my script.
    The function is not changed.

    Best regards

     
    • Kevin Michel

      Kevin Michel - 2023-06-08

      Hey Max :)
      I tried the installation procedure on my own and also used your .sh file. Unfortunately, I get the following error:

      collect2: error: ld returned 1 exit status
      make[1]: *** [Makefile:755: acousto] Error 1
      make[1]: Leaving directory '/home/railon/Shell-Installation/acousto-2.0/src'
      make: *** [Makefile:352: all-recursive] Error 1

      I took a look inside the makefile in the src directory, but I cannot figure out, what the problem is. The line of code I guess is causing the error is:

      acousto$(EXEEXT): $(acousto_OBJECTS) $(acousto_DEPENDENCIES) $(EXTRA_acousto_DEPENDENCIES)
      @rm -f acousto$(EXEEXT)
      ** $(AM_V_CCLD)$(acousto_LINK) $(acousto_OBJECTS) $(acousto_LDADD) $(LIBS)**

      Could you help me with that?
      Thank you really much!

       
      • Kevin Michel

        Kevin Michel - 2023-06-08

        Maybe the question is better adressed to its developer @Umberto_Iemma :D

         
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB