Project

General

Profile

Bug #323

Compile problem with cyclecounter on sparc 32

Added by Christoph Junghans over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

The cyclecounter assembly code doesn't seem to work on sparc with 32-bit userland:

http://bugs.gentoo.org/show_bug.cgi?id=260995#c19

The bug appeared in gromacs 4.0.4, but should also be there in the cvs head branch.

With disabled cyclecounter the rest works!

Any suggestions?

(47 Bytes) Patch for Cyclecounter on sparc Christoph Junghans, 05/10/2009 11:41 AM

History

#1 Updated by Erik Lindahl over 10 years ago

Hi!

Great to see that sparc is still alive - I used to have such a workstation years ago ;-)

I don't think it is very common for people to run parallel jobs on sparc (that's when we need the timestep counters for load balancing), but before we disable it, could you try changing "ticks" to "unsigned long" on the culprit line (411 in gmx_cyclecounter.h)? That might actually fix it so it is supported...

Cheers,

Erik

#2 Updated by Christoph Junghans over 10 years ago

Created an attachment (id=368)
Patch for Cyclecounter on sparc

This patch fixed the compiling issue on sparc.

Can you add it to the source?

#3 Updated by Erik Lindahl over 10 years ago

Committed to release-4-0-patches and head.

Also available in: Atom PDF