Closed casparvl closed 5 years ago
Just logging this here for future reference, so that people encountering this issue can use the same workaround. I will close the ticket right away, since there is (probably) no action to be taken on the EasyBuild side...
Reproducing For those who want to reproduce: EasyConfigs for some of the dependencies are not yet in the repo - I just wrote them. Will just add them here for now:
GEOS-3.6.2-intel-2018b-Python-2.7.15.eb
easyblock = 'ConfigureMake'
name = 'GEOS'
version = '3.6.2'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://trac.osgeo.org/geos'
description = """GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS)"""
toolchain = {'name': 'intel', 'version': '2018b'}
source_urls = ['http://download.osgeo.org/geos/']
sources = [SOURCELOWER_TAR_BZ2]
patches = [
'GEOS-%(version)s_fix-Python3.patch',
]
checksums = [
'045a13df84d605a866602f6020fc6cbf8bf4c42fb50de237a08926e1d7d7652a', # geos-3.6.2.tar.bz2
'ce320e5533e407807c0e0599b6cf06e207bc993204b27250bf7e1d0f24160029', # GEOS-3.6.2_fix-Python3.patch
]
dependencies = [('Python', '2.7.15')]
builddependencies = [('SWIG', '3.0.12', versionsuffix)]
configopts = '--enable-python'
modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
sanity_check_paths = {
'files': ['bin/geos-config', 'lib/libgeos.%s' % SHLIB_EXT, 'lib/libgeos.a', 'include/geos.h'],
'dirs': ['lib/python%(pyshortver)s/site-packages/geos'],
}
moduleclass = 'math'
PROJ-5.0.0-intel-2018b.eb
easyblock = 'ConfigureMake'
name = 'PROJ'
version = '5.0.0'
homepage = 'http://trac.osgeo.org/proj/'
description = """Program proj is a standard Unix filter function which converts
geographic longitude and latitude coordinates into cartesian coordinates"""
toolchain = {'name': 'intel', 'version': '2018b'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = ['http://download.osgeo.org/proj/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['b30df08d736e69744cb255828721abb545b494d6032c13a96520f3219a444cd2']
sanity_check_paths = {
'files': ['bin/cs2cs', 'bin/geod', 'bin/invgeod', 'bin/invproj',
'bin/nad2bin', 'bin/proj'],
'dirs': [],
}
moduleclass = 'lib'
Thanks for reporting & documenting this @casparvl!
Issue I have created a GDAL-2.2.3-intel-2018b-Python-2.7.15.eb (included at the bottom, for reference).
On on of our two systems, building this fails with:
What we know so far
eb ... --dump-env-script
, source that, and run the lasticpc
command, it fails with the same error. If I dump an environment script witheb ... --dump-env-script
, source that, do amake clean
and thenmake -j 24
, the build completes succesfully.--parallel=1
) on the RHEL7 system also fails.Workaround
configopts += ' CFLAGS="$CFLAGS -no-ipo -ip" CXXFLAGS="$CXXFLAGS -no-ipo -ip"'
works. This can be used as a workaround, though at the cost of disabling completely the interprocedural optimization (IPO).Original GDAL-2.2.3-intel-2018b-Python-2.7.15.eb (without workaround)