GithubHelp home page GithubHelp logo

Apptainer : No module named 'baramFlow' about baram HOT 4 OPEN

fbob avatar fbob commented on July 27, 2024
Apptainer : No module named 'baramFlow'

from baram.

Comments (4)

bosung-gotocloud avatar bosung-gotocloud commented on July 27, 2024

In my Ubuntu host machine, though the above message shows, the baramMesh and baramFlow work well. I guess that according to the environment setup in the host OS, this error shows and program can't be executed.

Can you try with bash -c command?

apptainer exec ~/BaramApptainer/baram-24.2.0.sif bash -c '/opt/baram/baramFlow.sh'

The program can't be run continously, then try run in the apptainer shell with following command.

apptainer shell ~/BaramApptainer/baram-24.2.0.sif
[baram-24.2.0] username@hostname:directory$ /opt/baram/baramMesh.sh

from baram.

fbob avatar fbob commented on July 27, 2024

Thanks for the feedback.
Useful info :

  • OS: CachyOS (Arch based)
  • Shell : zsh
  • Display server protocol: Wayland (not X11)
❯ apptainer exec ~/BaramApptainer/baram-24.2.0.sif bash -c '/opt/baram/baramFlow.sh'

Detected system locale encoding (ANSI_X3.4-1968, locale "C") is not UTF-8.
Qt shall use a UTF-8 locale ("C.UTF-8") instead. If this causes problems,
reconfigure your locale. See the locale(1) manual for more information.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, wayland-egl, minimalegl, eglfs, vkkhrdisplay, linuxfb, offscreen, wayland, vnc, xcb.

/opt/baram/baramFlow.sh: line 15: 13528 Aborted                 python3 -m baramFlow.main

It looks like the problem is related to the fact that I'm using Wayland isn't ?
Many thanks.
Francois

from baram.

bosung-gotocloud avatar bosung-gotocloud commented on July 27, 2024

I think the error message is related to the OpenGL problem on your host OS. I think 'vglrun' needs to be installed in your host machine.
I installed BARAM with 'vglrun' for x2go remote desktop which doesn't support native GL. The instruction about installing with vglrun is not described until yet. And I didn't test vglrun in the apptainer container yet.

Sooner or later, I will test on the hostOS with vglrun.

from baram.

bosung-gotocloud avatar bosung-gotocloud commented on July 27, 2024

Download baram-24.2.0-vglrun.tar.gz and run apptainer container with following command:

apptainer exec ~/BaramApptainer/baram-24.2.0-vglrun.sif bash -c 'vglrun /opt/baram/baramFlow.sh'

from baram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.