Whenever I try to run any process an error comes which is not sorted even if I try some other version of MadGraph.

Asked by Sagar Modak

The error message is:

import /Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile
The import format was not given, so we guess it as proc_v4
ERROR: I/O error on file /Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile (2): No such file or directory
Command "import /Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile" interrupted in sub-command:
"#import proc_v4 /Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile" with error:
InvalidCmd : "/Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile" is not a valid path
quit

Question information

Language:
English Edit question
Status:
Expired
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,

You seem to use a weird name for your command file.
What is the command that you use in your terminal?
What is the content of the file /Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile

Cheers,

Olivier

Revision history for this message
Sagar Modak (sagarmodakiisc) said :
#2

Thanks Olivier for your kind response. The thing is no matter what version I install, the directory "compile" is not anywhere in the parent directory of MadGraph, as you can see:

Sagar-iMac:MG5_aMC_v3_4_2 sagarmodak$ ls
HELAS ME5_debug README VERSION bin madgraph proc_card.dat tests
INSTALL MadSpin Template aloha doc mg5decay py.py vendor
LICENSE PLUGIN UpdateNotes.txt apidoc input models test
Sagar-iMac:MG5_aMC_v3_4_2 sagarmodak$ ls -a
. HELAS ME5_debug README VERSION bin madgraph proc_card.dat tests
.. INSTALL MadSpin Template aloha doc mg5decay py.py vendor
.bzrignore LICENSE PLUGIN UpdateNotes.txt apidoc input models test

Revision history for this message
zombiecatchersapk (zombiecatchersapk32) said :
#3

The error message suggests that the path "/Users/sagarmodak/MadGraph/MG5_aMC_v2_9_6/compile" does not exist, which is causing the import command to fail. Double-check that the path is correct and that the necessary file or directory exists in that location. If the path is correct, it's possible that the file or directory was accidentally deleted or moved. In that case, you may need to reinstall the MadGraph software or restore the missing file/directory from a backup.

Revision history for this message
Sagar Modak (sagarmodakiisc) said :
#4

As you can see from my last reply, I have reinstalled the latest version of the MadGraph software, as I also thought that it might solve the issue. But it didn't solve it and I am unable to locate the file/directory "complie" in the MadGraph parent directory. I don't understand what I am doing wrong here?

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

The file "compile" is indeed not part of the MG5aMC distribution.
So it makes sense that you do not have it. I thought originally that you did create that file.

Now the question is why you have a reference to that file?
And for that I would need to know how you run the code (and/or from which script you are running it)
Maybe you follow instruction for old version of the code (like the one for MadGraph4 which was is not supported any more since when we move to MadGraph5_aMC@NLO version 2.0.0)?

If you can be more specific about how you run our code, I should be able to be more helpful.

Cheers,

Olivier

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.