sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.
Modify

Opened 11 years ago

Closed 11 years ago

#261 closed defect (fixed)

Compilation error with gcc 4.7.2 and --enable-mpi

Reported by: cjohnson@cern.ch Owned by: support@sherpa-mc.de
Priority: minor Milestone: rel-2.0.0
Component: Unknown Version: 1.4.3
Keywords: Cc:

Description

It seems that Sherpa 1.4.3 wont compile with the --enable-mpi option while using gcc 4.7.2. Its giving me this error:

  CXX    Sherpa.lo
  CXX    SVN_Info.lo
Sherpa.C: In member function 'bool SHERPA::Sherpa::InitializeTheRun(int, char**)':
Sherpa.C:110:53: error: 'getpid' was not declared in this scope

After a Google search, I found that may have to do with the fact that getpid() was moved to <unistd.h> in gcc 4.7.2.

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by anonymous

Resolution: fixed
Status: newclosed

Thanks for the report, this issue has been fixed in the public Sherpa 1.4.3 SVN branch as well as in our development version.

Modify Ticket

Change Properties
Action
as closed The owner will remain support@sherpa-mc.de.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.