Code Monkey home page Code Monkey logo

Comments (8)

zfergus avatar zfergus commented on August 19, 2024

Yes, you can use the option-DIPC_WITH_OPENGL=OFF with cmake or set it interactively with ccmake. The output files will be dumped into an output directory located in the directory you run IPC from.

from ipc.

binoyp avatar binoyp commented on August 19, 2024

Hi ,

I recompiled with -DIPC_WITH_OPENGL=OFF. But i am getting following message instead of GLFW
[2020-07-12 14:05:54.377] [critical] Not offiline mode supported only with opengl Segmentation fault (core dumped)

from ipc.

zfergus avatar zfergus commented on August 19, 2024

Ah, I forgot to mention that in order to run without the viewer you have to change the first argument to the IPC_bin. If the first argument is 10 it runs with the viewer and if it is 100 it runs without. If you compile with -DIPC_WITH_OPENGL=OFF then the only valid option is 100.

If you are using batch.py then change line 30 to:

runCommand += progPath + ' 100 ' + inputFolderPath + inputModelNameI + ' t' + numOfThreads

I will add a cmd-line option to that script to make it easier to choose.

from ipc.

zfergus avatar zfergus commented on August 19, 2024

I forgot to mention in my original reply that you only need to compile with -DIPC_WITH_OPENGL=OFF if your system does not have the necessary OpenGL libraries installed. If the compilation works with -DIPC_WITH_OPENGL=ON, then you can still run without the viewer using the above method.

from ipc.

zfergus avatar zfergus commented on August 19, 2024

In my latest commit (a02cad1), I added an --offline option to batch.py that runs IPC in offline mode. I also updated the README with the information I wrote above.

from ipc.

nburgessCarbon avatar nburgessCarbon commented on August 19, 2024

Thanks Zach, I'll be trying that tomorrow when I get to work.

from ipc.

binoyp avatar binoyp commented on August 19, 2024

Thank you, It worked.

from ipc.

nburgessCarbon avatar nburgessCarbon commented on August 19, 2024

Thanks Zach, everything works great now.

from ipc.

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.