Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package primecount 4.3 #24966

Closed
videlec opened this issue Mar 13, 2018 · 80 comments
Closed

package primecount 4.3 #24966

videlec opened this issue Mar 13, 2018 · 80 comments

Comments

@videlec
Copy link
Contributor

videlec commented Mar 13, 2018

The goal of this ticket is to

Note that

  • primecount's build system uses cmake, which needs an upgrade (see Upgrade cmake to 3.11.0 #25109)
  • the latest release of primecount should work on both big-endian and little-indian
    processors but has been tested successfully
  • linking on Mac OSX looks fishy but seems to work fine

Tarball (to be renamed primecount-4.3.tar.gz in Sage):

This ticket led to opening and solving an upstream issue,
leading to improvements in the build and documentation:

Depends on #25109

CC: @jpflori @kiwifb @vinklein @slel

Component: packages: optional

Keywords: thursdaysbdx

Author: Vincent Delecroix

Branch/Commit: 6f73fad

Reviewer: Vincent Klein, François Bissey

Issue created by migration from https://trac.sagemath.org/ticket/24966

@videlec videlec added this to the sage-8.2 milestone Mar 13, 2018
@videlec videlec changed the title package prime count package primecount Mar 13, 2018
@dimpase
Copy link
Member

dimpase commented Mar 13, 2018

comment:2

We are told that this is little-endian only. So this in its present form can at best become an experimental package, AFAIK.

@videlec

This comment has been minimized.

@videlec
Copy link
Contributor Author

videlec commented Mar 14, 2018

comment:3

Thanks for the clarification Dima. It was actually a question that Kim Walish asked on github.

@jdemeyer

This comment has been minimized.

@ohanar
Copy link
Member

ohanar commented Mar 14, 2018

comment:5

It appears that Kim has put out a new release of primecount with big-endian support.

@dimpase

This comment has been minimized.

@dimpase
Copy link
Member

dimpase commented Mar 15, 2018

comment:6

I just checked the latest release on (big-endian) SPARC, it appears to work.
(I tried ./primecount 1e11 with different algorithms, it worked)

I didn't test with OpenMP. Should I?

@videlec
Copy link
Contributor Author

videlec commented Mar 18, 2018

Commit: c5bcc9e

@videlec
Copy link
Contributor Author

videlec commented Mar 18, 2018

New commits:

c5bcc9epackage primecount

@videlec

This comment has been minimized.

@videlec
Copy link
Contributor Author

videlec commented Mar 18, 2018

Branch: u/vdelecroix/24966

@videlec videlec changed the title package primecount package primecount 4.3 Mar 18, 2018
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 18, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

559ef72package primecount

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 18, 2018

Changed commit from c5bcc9e to 559ef72

@jdemeyer
Copy link

comment:9

This should use the modern style spkg-install script with the sdh_ functions.

@dimpase
Copy link
Member

dimpase commented Mar 18, 2018

comment:10

In spkg-check one needs $MAKE test rather than $MAKE check.

Must be another cmake-ism... :-)

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 18, 2018

Changed commit from 559ef72 to 1297aba

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 18, 2018

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

1297abapackage primecount

@kiwifb
Copy link
Member

kiwifb commented Apr 5, 2018

comment:57

OK I have read other reports. Did you run xcode-select --install after installing/upgrading xcode? This unfortunately has to be done regularly after upgrades otherwise some stuff is missing at the root level.

@vinklein
Copy link
Mannequin

vinklein mannequin commented Apr 6, 2018

comment:58

Replying to @kiwifb:

OK I have read other reports. Did you run xcode-select --install after installing/upgrading xcode?

Yes i tried this one. It just say command line tools are already installed. And xcode doesn't appear with softwareupdate --list

@kiwifb
Copy link
Member

kiwifb commented Apr 6, 2018

comment:59

Hum... could be the way cmake is built and installed Homebrew/homebrew-core#15232 Homebrew/homebrew-core#19372 it looks like we need to upgrade cmake to fix this.

@vinklein
Copy link
Mannequin

vinklein mannequin commented Apr 6, 2018

comment:60

Indeed it works fine after upgrading sage's cmake package to 3.11.0

@vinklein
Copy link
Mannequin

vinklein mannequin commented Apr 6, 2018

Dependencies: 25109

@vinklein vinklein mannequin assigned vinklein and unassigned vinklein Apr 6, 2018
@vinklein
Copy link
Mannequin

vinklein mannequin commented Apr 6, 2018

Changed dependencies from 25109 to #25109

@videlec

This comment has been minimized.

@vinklein
Copy link
Mannequin

vinklein mannequin commented Apr 13, 2018

comment:65

tests are currently runnings on MacOS 10.13.4 and on Ubuntu 16.04

@kiwifb
Copy link
Member

kiwifb commented Apr 17, 2018

comment:66

I really want to see -DCMAKE_VERBOSE_MAKEFILE=ON in spkg-install. Once it is done, it is a positive review from me.

@kiwifb
Copy link
Member

kiwifb commented Apr 17, 2018

Changed reviewer from Vincent Klein to Vincent Klein, François Bissey

@kiwifb kiwifb modified the milestones: sage-8.2, sage-8.3 Apr 17, 2018
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 17, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

6f73fadCMAKE_VERBOSE_MAKEFILE=ON

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 17, 2018

Changed commit from e60448c to 6f73fad

@videlec
Copy link
Contributor Author

videlec commented Apr 17, 2018

comment:68

great

@slel
Copy link
Member

slel commented Apr 17, 2018

comment:69

The ticket description has this somewhat puzzling statement:

should work on both big-endian and little-indian
processors but has been tested successfully

Can someone clarify?

@slel

This comment has been minimized.

@vbraun
Copy link
Member

vbraun commented May 14, 2018

Changed branch from u/vdelecroix/24966 to 6f73fad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants