MantisBT - MEGA
View Issue Details
0001142MEGA[All Projects] Feedbackpublic2019-03-04 16:042023-04-19 02:06
guest 
gstecher 
normalminorhave not tried
feedbackreopened 
MEGA-CC 11 (command line version) 
 
Harry
Mangalam
harry.mangalam@uci.edu
harry.mangalam@uci.edu
0001142: megacc requires X11 even tho it's a commandline
I'm admin on a UCI cluster that has mega installed. I'm trying to help a user get the megacc commandline version running as a batch job, but it insists on an X11 connection:
$ megacc
(megacc:17433): Gtk-WARNING **: cannot open display:

altho this is only a warning, the program dies and won't progress. Is there a way to shut this off?
Trying to set 'xhost +', explicitly set a DISPLAY, etc does not work in batch mode.

megacc -h does not seem to provide a way to do this.
No tags attached.
Issue History
2019-03-04 16:04guestNew Issue
2019-03-05 09:32gstecherFile Deleted: mega4.pdf
2019-03-05 10:02gstecherNote Added: 0004205
2019-03-05 10:02gstecherStatusnew => resolved
2019-03-05 10:02gstecherResolutionopen => fixed
2019-03-05 10:02gstecherAssigned To => gstecher
2019-03-05 12:28gstecherNote Deleted: 0001016
2023-04-19 02:06guestNote Added: 0007058
2023-04-19 02:06guestStatusresolved => feedback
2023-04-19 02:06guestResolutionfixed => reopened

Notes
(0004205)
gstecher   
2019-03-05 10:02   
Hi Harry,

I am writing in response to the bug report you recently submitted regarding the megacc software. To resolve the issue you encountered, you can download an updated build of megacc using the link below:

http://www.megasoftware.net/releases/megacc [^]

This is just the binary executable (no installer) so you should just move it to /usr/lib/megax/ to replace the megacc file there (or just uninstall megax and put the megacc file in the path - maybe /usr/local/bin). This new build has no dependency on GTK so it should run fine on a headless machine.

--
Best regards,
Glen Stecher
Institute for Genomics and Evolutionary Medicine
igem.temple.edu
(0007058)
guest   
2023-04-19 02:06   
The link died, where I can find the megacc build has no dependency on GTK so it should run fine on a headless machine.Thanks a lot!