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

{math} [intel/2018b] gap/4.9.3 #7040

Merged
merged 13 commits into from Nov 1, 2018
Merged

{math} [intel/2018b] gap/4.9.3 #7040

merged 13 commits into from Nov 1, 2018

Conversation

wpoely86
Copy link
Member

No description provided.

@wpoely86 wpoely86 requested a review from boegel October 17, 2018 10:46
@wpoely86 wpoely86 changed the base branch from master to develop October 17, 2018 10:46
@wpoely86
Copy link
Member Author

Test report by @wpoely86
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/56cc4543c0ef1652abc225e4b94fb4d6 for a full test report.


# This tries to install all of the GAP packages. If one fails because
# of missing dependencies, it's skipped automatically
preinstallopts = 'cd pkg && ../bin/BuildPackages.sh && cd .. #'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wpoely86 Please use skipsteps = ['install'] to skip the installation steps, and do the above via buildopts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be run after the build_step is done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, yes, you can do that via

buildopts = " && cd pkg && ../bin/BuildPackages.sh"

(the cd .. at the end is pointless)

It's the trailing # that I don't like here, this falls in the "hacking" category for me. ;-)

postinstallcmds = ["cd bin && ln -s gap.sh gap && cd -"]

sanity_check_paths = {
'files': ['bin/gap.sh', 'gap', 'gac'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be bin/gap?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, the real file is gap.sh. With the postinstallcmds I add a symlink gap -> gap.sh

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you check for bin/gap, you make sure the symlink is effectively there, and that it points to an existing file. So why not check both?

# of missing dependencies, it's skipped automatically
preinstallopts = 'cd pkg && ../bin/BuildPackages.sh && cd .. #'

postinstallcmds = ["cd bin && ln -s gap.sh gap && cd -"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can drop the cd -, since this command is run in a subshell


sanity_check_paths = {
'files': ['bin/gap.sh', 'gap', 'gac'],
'dirs': ['pkg']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more specific checks for particular packages?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a very long list and I don't know if any are more important then others.

And this comes directly from the tarball. It's not because it's there that it will work

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, fine then :)

toolchain = {'name': 'intel', 'version': '2018b'}

source_urls = ['http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/']
sources = ['%%(name)s-0%s.tar.gz' % version.replace('.', '')]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use %(name)s-0%(version_major)s%(version_minor)s.tar.gz

- g++ -Wall -Wno-write-strings -Wno-sign-compare -Wno-unused-variable -I${BOOSTINC} -L${BOOSTLIB} -Wl,-rpath=${BOOSTLIB} -O3 -DPLRS -o plrsmp plrs.cpp lrslib.c lrsmp.c -lboost_thread -lboost_system
+ $(CXX) $(CXXFLAGS) -DGMP -Wall -Wno-write-strings -Wno-sign-compare -I${BOOSTINC} -O3 -DPLRS -DGMP -o plrs plrs.cpp lrslib.c lrsgmp.c -L${BOOSTLIB} -lboost_thread -lboost_system -lgmp
+ $(CXX) $(CXXFLAGS) -Wall -Wno-write-strings -Wno-sign-compare -Wno-unused-variable -I${BOOSTINC} -L${BOOSTLIB} -O3 -DPLRS -DLRSLONG -o plrs1 plrs.cpp lrslib.c lrslong.c -lboost_thread -lboost_system
+ $(CXX) $(CXXFLAGS) -Wall -Wno-write-strings -Wno-sign-compare -Wno-unused-variable -I${BOOSTINC} -L${BOOSTLIB} -O3 -DPLRS -o plrsmp plrs.cpp lrslib.c lrsmp.c -lboost_thread -lboost_system
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wpoely86 Remove the hardcoded -O3? Same below...


fourier: fourier.c lrslib.h lrslib.c lrsgmp.h lrsgmp.c
- $(CC) $(CFLAGS) -O3 -DTIMES -DSIGNALS -DGMP -I${INCLUDEDIR} fourier.c lrslib.c lrsgmp.c -L${LIBDIR} -lgmp -o fourier
+ $(CC) $(CFLAGS) -O3 -DTIMES -DSIGNALS -DGMP -I${INCLUDEDIR} fourier.c lrslib.c lrsgmp.c -L${LIBDIR} $(LDFLAGS) -lgmp -o fourier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wpoely86 More hardcoded -O3 to remove?

dependencies = [('GMP', '6.1.2')]

sanity_check_paths = {
'files': ['bin/normaliz', 'bin/Qnormaliz', 'lib/libnormaliz.so', 'lib/libQnormaliz.so'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wpoely86 Please use SHLIB_EXT rather than hardcoding .so

sanity_check_paths = {
    'files': ['bin/normaliz', 'bin/Qnormaliz', 'lib/libnormaliz.%s' % SHLIB_EXT, 'lib/libQnormaliz.%s' % SHLIB_EXT],
    'dirs': ['include/libnormaliz']
}

@wpoely86
Copy link
Member Author

Test report by @wpoely86
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/e5a1b7895b1f6ea3b594a947a5d90bb5 for a full test report.

@wpoely86
Copy link
Member Author

Test report by @wpoely86
FAILED
Build succeeded for 4 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/bf0d741343a36d79ff07e7ccb82f28fa for a full test report.

@wpoely86
Copy link
Member Author

Test report by @wpoely86
FAILED
Build succeeded for 4 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/5958d9f138335b851e4ba723fe20ff1d for a full test report.

@wpoely86
Copy link
Member Author

Test report by @wpoely86
FAILED
Build succeeded for 4 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/0bad8082d0cf6e6cf75d783791508850 for a full test report.

@boegel
Copy link
Member

boegel commented Oct 25, 2018

@wpoely86 You should skip the install step?

@wpoely86
Copy link
Member Author

Test report by @wpoely86
FAILED
Build succeeded for 4 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/8bbd6820b1d1a42860c2011fb09131c8 for a full test report.

@wpoely86
Copy link
Member Author

Test report by @wpoely86
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/86d97bf4b89960bfebf1a5c42cf05be0 for a full test report.

boegel
boegel previously approved these changes Oct 27, 2018
@boegel
Copy link
Member

boegel commented Oct 27, 2018

Test report by @boegel
FAILED
Build succeeded for 3 out of 5 (5 easyconfigs in this PR)
node3111.skitty.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz, Python 2.7.5
See https://gist.github.com/f5a925bb232890b0cbc66b4c52dedb82 for a full test report.

@boegel
Copy link
Member

boegel commented Oct 27, 2018

Test report by @boegel
FAILED
Build succeeded for 4 out of 6 (5 easyconfigs in this PR)
node2699.swalot.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/5cbb9f0263ba59a308db96b5ecd3f451 for a full test report.

@boegel
Copy link
Member

boegel commented Oct 27, 2018

Test report by @boegel
FAILED
Build succeeded for 3 out of 5 (5 easyconfigs in this PR)
node2060.delcatty.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/9d3cf857edc1f574e0c1550fa0f5d0c4 for a full test report.

@boegel
Copy link
Member

boegel commented Oct 28, 2018

@wpoely86 Missing dependency on Boost for Normaliz?

./libnormaliz/matrix.h(41): catastrophic error: cannot open source file "boost/dynamic_bitset.hpp"
#include <boost/dynamic_bitset.hpp>

@wpoely86
Copy link
Member Author

Test report by @wpoely86
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
nic420 - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz, Python 2.7.5
See https://gist.github.com/6b624f8319dea804218d9fbe167556e1 for a full test report.

@wpoely86
Copy link
Member Author

@boegel can you retry?

@boegel
Copy link
Member

boegel commented Oct 31, 2018

Test report by @boegel
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
node2464.golett.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, Python 2.7.5
See https://gist.github.com/e9dc8aeabda35c46d9adbe0f728b3dcc for a full test report.

@boegel
Copy link
Member

boegel commented Oct 31, 2018

Test report by @boegel
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
node2095.delcatty.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/53b08a31e121793156830d70ffc0eaff for a full test report.

@boegel
Copy link
Member

boegel commented Oct 31, 2018

Test report by @boegel
SUCCESS
Build succeeded for 5 out of 5 (5 easyconfigs in this PR)
node3152.skitty.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz, Python 2.7.5
See https://gist.github.com/590cac653de029168e24039cb9613103 for a full test report.

@boegel boegel added this to the 3.8.0 milestone Nov 1, 2018
@boegel
Copy link
Member

boegel commented Nov 1, 2018

Going in, thanks @wpoely86!

@boegel boegel merged commit cc5c4ed into easybuilders:develop Nov 1, 2018
@wpoely86 wpoely86 deleted the gap branch November 2, 2018 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants