Error termination by fortran temp file

Asked by zheng

Hi,

I'm running processes with MG5 as a muon collider for mu+ mu- > tthhvv and sometimes (seems randomly) come across the following error message:

At line 190 of file driver.f (unit = 27, file = '/tmp/gfortrantmpNYVPMI')
Fortran runtime error: Bad address
Error termination. Backtrace
:#0  0x7f3f55d9e32a
#1  0x7f3f55d9eed5
#2  0x7f3f55d9f69d
#3  0x7f3f55f1a8b2
#4  0x7f3f55f199d8
#5  0x555fc8c379eb
#6  0x555fc8c37abc
#7  0x7f3f553fdbf6
#8  0x555fc8c359d9
#9  0xffffffffffffffff
ERROR DETECTED

It seems gfortran cannot find some temp file which is supposed to be generated. Do you have any clue about the cause this error? Thanks!

Yajuan

Question information

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

Is it possible that your /tmp is not large enough (or too busy because of something else) to store the full file.
This file is written (and then read later) by the script.

If your /tmp is too small, then one option is to ask fortran to use another disk to write such file.
This should be possible via environment variable TMPDIR (but does not seem to always work)

Cheers,

Olivier

> On 13 Jun 2021, at 05:25, zheng <email address hidden> wrote:
>
> New question #697508 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/697508
>
> Hi,
>
> I'm running processes with MG5 as a muon collider for mu+ mu- > tthhvv and sometimes (seems randomly) come across the following error message:
>
> At line 190 of file driver.f (unit = 27, file = '/tmp/gfortrantmpNYVPMI')
> Fortran runtime error: Bad address
> Error termination. Backtrace
> :#0 0x7f3f55d9e32a
> #1 0x7f3f55d9eed5
> #2 0x7f3f55d9f69d
> #3 0x7f3f55f1a8b2
> #4 0x7f3f55f199d8
> #5 0x555fc8c379eb
> #6 0x555fc8c37abc
> #7 0x7f3f553fdbf6
> #8 0x555fc8c359d9
> #9 0xffffffffffffffff
> ERROR DETECTED
>
> It seems gfortran cannot find some temp file which is supposed to be generated. Do you have any clue about the cause this error? Thanks!
>
> Yajuan
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
zheng (yjzheng218) said :
#2

Thanks Olivier Mattelaer, that solved my question.