Can't find run_card.dat

Asked by teddym

When I test the MG5_2_6_5 in my machine, anything goes without any problem. The problem is that when the madevent prompt ask for any changes in run card, parameter card or pythia, delphes cards, no matter which I choose, the prompt always returns:

[Errno 2] No such file or directory
not valid argument. Valid argument are file path or value in (0,done,1,param,2,run,3,pythia8,4,delphes).

However, these files are indeed located in the Cards directory. So what is the problem?

Thanks!

Ted

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

Like this i do not know.
Do you have the permission on that directory?
How do you run the command? (which executable, what do you type,...)

Cheers,

Olivier

Revision history for this message
teddym (niepanchongsheng) said :
#2

Hi Olivier:
    I do have the permission I think. ( -rw-r--r-- ycwu theory, ycwu is my user name, the theory is the group I belong to)

I first launch ./bin/mg5 and generate process and output them to that directory.
And I check that the cards files are all inside the Cards directory.
Then I went to the directory and launch ./bin/madevent and generate_events, and at this time I can't open the card file the it returns [Errno 2] No such file or directory. But the program can still run without any problem and generate events.

Also, when I output the process, it has following warnings:

cp: preserving permissions for `HTML/info.html': Operation not supported
cp: preserving permissions for `../HTML/card.jpg': Operation not supported

It seems it also didn't affect the event generation. Will it have some hint about this?

Thanks
Ted

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

Hi,

For the first problem, I do not have any clue. It worked nicely on my machine with the command that you report.
I can see that before opening the file, I have this line printed:
"open /Users/omattelaer/Documents/workspace/2.6.6/PROC_sm_103/Cards/param_card.dat"

Do you have such print in your case and is that correct?

The second problem might be symptomatic, since I have never seen that either.
By googling that error, I have found this:
https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/cp-preserving-permissions-for-XXXX-operation-not-supported/td-p/908386

and some other link related to that your filesystem.

So the question, is this a local filesystem of your machine or is it a nfs shared filesystem (or a USB disk/...)
Can you give the details on how you mount such filesystem (static/automount with which options/....)
Likely to be an issue related to the filesystem (maybe related to your OS if you are running on Windows)

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.