nohup doesn't work for running the MadGraph5 on the remote terminal

Asked by Da Liu

Hi,

Recently I want to run MadGraph5 on the remote computer (ssh) through nohup.
my command is: nohup ./bin/madevent ttjj_run
where in the script ttjj_run, the command line is:
 multi_run 100
2

But there is an error information:

  IOError : [Errno 9] Bad file descriptor.

What is the problem here? Is there another way to realise the goal that when I terminate the connection, the MadGraph5 is still running.

Best wishes,

Da

PS: I also post the run_02_tag_1_debug.log file as follows:

multi_run 100
 24 Traceback (most recent call last):
 25 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 819, in onecmd
 26 return self.onecmd_orig(line, **opt)
 27 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 812, in onecmd_orig
 28 return func(arg, **opt)
 29 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/madevent_interface.py", line 2128, in do_import
 30 self.import_command_file(args[1])
 31 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 1030, in import_command_file
 32 self.exec_cmd(line, precmd=True)
 33 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 859, in exec_cmd
 34 stop = Cmd.onecmd_orig(current_interface, line, **opt)
 35 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 812, in onecmd_orig
 36 return func(arg, **opt)
 37 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/madevent_interface.py", line 2523, in do_multi_run
 38 self.ask_run_configuration(mode)
 39 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/madevent_interface.py", line 4502, in ask_run_configuration
 40 path_msg='enter path', ask_class = AskforEditCard)
 41 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 616, in ask
 42 fct=question_instance, fct_timeout=fct_timeout)
 43 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 1081, in timed_input
 44 result = fct(question)
 45 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 1418, in __call__
 46 return self.cmdloop()
 47 File "/run/media/liuda/DATACENTER/14TeV/Events/ttjj/bin/internal/extended_cmd.py", line 1488, in cmdloop
 48 cmd.Cmd.cmdloop(self, intro)
 49 File "/usr/lib/python2.7/cmd.py", line 130, in cmdloop
 50 line = raw_input(self.prompt)
 51 IOError: [Errno 9] Bad file descriptor
 52 Run Options----
 53 ---------------
 54 stdout_level | :| None
 55
 56 MadEvent Options----
 57 --------------------
 58 automatic_html_opening | :| True
 59 cluster_retry_wait | :| 300

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

did you run with the latest version of MG5aMC@NLO?
In principle, we have fix the nohup problem.
Otherwise, we are compatible with "screen".

Cheers,

Olivier

Revision history for this message
Da Liu (liuda) said :
#2

Hi Olivier,

 I am still using MadGraph_v1.

But I will try the MadGraph_v2.

Thanks a lot.

Best wishes,

Da

Can you help with this problem?

Provide an answer of your own, or ask Da Liu for more information if necessary.

To post a message you must log in.