Launching madevent

Asked by John

Hi,

I receive this message.

compile directory
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [../bin/internal/gen_ximprove] Error 1
Error make ../bin/internal/gen_ximprove in Source not successful
Command "generate_events run_01" interrupted with error:
MadEventError : Unable to compile
Please report this bug on https://bugs.launchpad.net/madgraph5

What complier am I missing other than gfortran?

John

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 John,

gfortran is all what you need in order to compile (with gmake if this is not install by default --like on Mac)

By googling on the web your compilation error, I have find the following link:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/738098
or this one
http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o

They contains multiple suggestions on how resolve such error.

Cheers,

Olivier
On Jul 17, 2012, at 6:55 PM, John wrote:

> New question #203420 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/203420
>
> Hi,
>
> I receive this message.
>
> compile directory
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: error: ld returned 1 exit status
> make: *** [../bin/internal/gen_ximprove] Error 1
> Error make ../bin/internal/gen_ximprove in Source not successful
> Command "generate_events run_01" interrupted with error:
> MadEventError : Unable to compile
> Please report this bug on https://bugs.launchpad.net/madgraph5
>
> What complier am I missing other than gfortran?
>
> John
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
John (emilio-chae) said :
#2

Hi Olivier

After making the library link as the two links suggested in your reply, I still get the same error message.

I heard that there needs to be a make file in the madgraph directory to solve this problem. And it looks like there isn't.

Please note that I am using the Red-Hat linux and the gfortran complier, 32-bit processor (i686) downloaded from

http://gcc.gnu.org/wiki/GFortranBinaries#GNU.2BAC8-Linux

Please let me know if I am using a wrong file.

John

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

Hi John,

> I heard that there needs to be a make file in the madgraph directory to
> solve this problem. And it looks like there isn't.

Could you explain more what you mean here?
The path of the makefile in this case is
./Source/makefile
and in your crashing case it's call like:
cd Source
make ../bin/internal/gen_ximprove

Did other (f77) program compiles correctly?

> Please note that I am using the Red-Hat linux and the gfortran complier,
> 32-bit processor (i686) downloaded from
>
> http://gcc.gnu.org/wiki/GFortranBinaries#GNU.2BAC8-Linux

Did your computer is 32 bit?
If not could you try to install the 64 bit version?
(both link seems to indicate a 32-64 bit mismatch)

Cheers,

Olivier

On Jul 18, 2012, at 3:55 AM, John wrote:

> Question #203420 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/203420
>
> Status: Answered => Open
>
> John is still having a problem:
> Hi Olivier
>
> After making the library link as the two links suggested in your reply,
> I still get the same error message.
>
> I heard that there needs to be a make file in the madgraph directory to
> solve this problem. And it looks like there isn't.
>
> Please note that I am using the Red-Hat linux and the gfortran complier,
> 32-bit processor (i686) downloaded from
>
> http://gcc.gnu.org/wiki/GFortranBinaries#GNU.2BAC8-Linux
>
> Please let me know if I am using a wrong file.
>
> John
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Can you help with this problem?

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

To post a message you must log in.