Project

General

Profile

Bug #573

CMake doesn't detect Altivec support

Added by Justin Lemkul over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build system
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

While installing 4.5.1 with CMake on PowerPC, the Altivec nonbonded kernels are not detected, although they are when installing using autoconf, even though these are non-functional (bug report to follow). The log file simply reports that standard kernels are being used:

Configuring nonbonded kernels...
Configuring standard C nonbonded kernels...

Also related to the thread started here:

http://lists.gromacs.org/pipermail/gmx-users/2010-September/054352.html

config.h (12.1 KB) config.h config.h file generated by cmake Justin Lemkul, 11/08/2010 11:53 PM

Related issues

Related to GROMACS - Bug #574: Using autoconf produces zero forces with AltivecClosed2010-09-28
Related to GROMACS - Bug #682: Gromacs 4.5.3 fails to compile on ppcClosed2011-01-24

History

#1 Updated by Rossen Apostolov over 8 years ago

I commited a patch: cc79213a5e0722715b63ad5c82f7fa7f4d2d3a70.

Can you check whether it works now?

#2 Updated by Justin Lemkul over 8 years ago

(In reply to comment #1)

I commited a patch: cc79213a5e0722715b63ad5c82f7fa7f4d2d3a70.

Can you check whether it works now?

Yes, it does. Thank you! The only weird part is that the use of Altivec kernels is not reported in the md.log file any more. Is this expected? I get the correct output, building with -DGMX_ACCELERATION=ALTIVEC.

#3 Updated by Rossen Apostolov over 8 years ago

Hmm... I think it should be saying "Configuring PPC/Altivec nonbonded kernels..." but I don't have a machine to test on

#4 Updated by Justin Lemkul over 8 years ago

Created an attachment (id=565)
config.h file generated by cmake

#5 Updated by Justin Lemkul over 8 years ago

(In reply to comment #4)

Created an attachment (id=565) [details]
config.h file generated by cmake

I'm attaching my config.h file that cmake generated, in case that helps. I don't know how else to tell if things went as planned.

#6 Updated by Szilárd Páll about 8 years ago

  • Category changed from mdrun to build system
  • Assignee deleted (Erik Lindahl)
  • Target version deleted (4.5.1)

#7 Updated by Teemu Murtola almost 7 years ago

  • Status changed from New to Closed
  • Assignee set to Erik Lindahl
  • Target version set to 4.6

Altivec support has been removed in 5ba7125c for 4.6, so closing this issue.

Also available in: Atom PDF