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

rad.ObjDrwOpenGL problem! #15

Open
aliramezanimoghaddam opened this issue Apr 15, 2021 · 4 comments
Open

rad.ObjDrwOpenGL problem! #15

aliramezanimoghaddam opened this issue Apr 15, 2021 · 4 comments

Comments

@aliramezanimoghaddam
Copy link

Hi there,
I have a problem to open the 3D geometry in Linux. I have been received this error message : " Runtime Error: This function is not implemented on that platform." , In windows it runs without any problem.

I am sure the OpenGL is installed in our server Linux (RH) and I have checked it with "glxgears" command!

Any comments!?

@bruhwiler
Copy link

Hello @aliramezanimoghaddam,

Another option you may consider for running Radia on Linux is to use the RadiaSoft Jupyter server, which is freely available at
https://www.sirepo.com Click the 'Supported Codes' dropdown menu and select 'Jupyter'.

Radia is already installed, so you can immediately test the Python interface to see if your problem is present on our system.

RadiaSoft personnel have been translating the Python examples into Jupyter notebooks, which give many of the same interactive capabilities that Mathematica provides. We are also developing 3-D interactive graphics capabilities which are accessible via Jupyter notebooks.

The Jupyter notebooks are available in GitHub:
https://github.com/radiasoft/Radia-Examples

To access a GitHub repository on Jupyter, open a terminal session and type

git clone https://github.com/radiasoft/Radia-Examples.git

For example, have a look at the Radia_Ex05.ipynb notebook which allows solving and visualization of the Example 5 dipole.

Sincerely,
David

@ochubar
Copy link
Owner

ochubar commented Apr 15, 2021

It is just "under-programmed" a bit. ObjDrwOpenGL uses OpenGL via "Glut", which is kind of obsolete now (though still exists). >20 years ago, I implemented this function on Windows, and since that time look for a motivated and knowledgeable Linux C++ programmer to port it to Linux.:)

@aliramezanimoghaddam
Copy link
Author

Thanks Oleg,

I think it is more easy to check the 3D structure in windows and then run in on Linux :)!

@ochubar
Copy link
Owner

ochubar commented Apr 15, 2021

Yea, that's what I'm doing all the time: create and fine-tune a simulation script on Windows, and then increase segmentation and run it on Linux server.:) But we may still try to do something with this OpjDrwOpenGL, besides using this other way that was mentioned by David - working with Jupyter Notebooks and eventually with Sirepo, and use ObjDrwVTK that was implemented recently.

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

No branches or pull requests

3 participants