JCSDA / spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
https://spack.io
Other
0 stars 13 forks source link

Installation issue: gdal on NOAA RDHPC Gaea #72

Closed climbfuji closed 2 years ago

climbfuji commented 2 years ago

Steps to reproduce the issue

gdal doesn't build on gaea, because gaea doesn't support gdal's 64bit I/O needs.

Error message

...
checking for direct.h... no
checking linux/userfaultfd.h usability... yes
checking linux/userfaultfd.h presence... yes
checking for linux/userfaultfd.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking whether byte ordering is bigendian... no
checking for long long... yes
checking for 64bit file io... no
configure: error: 64-bit file I/O missing. Build will not support files larger than 4 GB. If that is intended, ./configure --with-unix-stdio-64=no
==> Error: ProcessError: Command exited with status 1:
    '/tmp/Dom.Heinzeller/spack-stage/spack-stage-gdal-3.4.2-ikn6optpwzebxbjmo66py3rfdrqdbo5l/spack-src/configure' '--prefix=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/gdal-3.4.2-ikn6opt' '--with-libtiff=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/libtiff-4.3.0-47ac2sr' '--with-geotiff=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/libgeotiff-1.6.0-zq3oa4u' '--with-libjson-c=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/json-c-0.15-n3s37hg' '--disable-driver-bsb' '--disable-driver-mrf' '--disable-driver-grib' '--with-proj=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/proj-7.2.1-itf6z6j' '--with-crypto=no' '--with-qhull=no' '--with-cryptopp=no' '--with-kea=no' '--with-libtool=yes' '--with-libz=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/zlib-1.2.12-emxgcmr' '--with-libiconv-prefix=no' '--with-liblzma=yes' '--with-pg=no' '--with-cfitsio=no' '--with-png=no' '--with-jpeg=/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/libjpeg-turbo-2.1.0-qgzuicx' '--with-gif=no' '--with-sosi=no' '--with-hdf4=no' '--with-hdf5=no' '--with-netcdf=no' '--with-jasper=no' '--with-openjpeg=no' '--with-xerces=no' '--with-expat=no' '--with-libkml=no' '--with-odbc=no' '--with-curl=no' '--with-xml2=no' '--with-sqlite3=no' '--with-pcre2=no' '--with-pcre=no' '--with-geos=no' '--with-opencl=no' '--with-poppler=no' '--with-perl=no' '--with-python=/opt/python/3.7.3.2/bin/python3.7' '--with-java=no' '--with-mdb=no' '--with-armadillo=no' '--with-grass=no' '--with-libgrass=no' '--with-pcraster=no' '--with-dds=no' '--with-gta=no' '--with-pcidsk=no' '--with-ogdi=no' '--with-fme=no' '--with-fgdb=no' '--with-ecw=no' '--with-kakadu=no' '--with-mrsid=no' '--with-jp2mrsid=no' '--with-mrsid_lidar=no' '--with-msg=no' '--with-oci=no' '--with-mysql=no' '--with-ingres=no' '--with-dods-root=no' '--with-spatialite=no' '--with-idb=no' '--with-webp=no' '--with-freexl=no' '--with-pam=no' '--with-podofo=no' '--with-rasdaman=no' '--with-heif=no' '--with-exr=no' '--with-rdb=no' '--with-tiledb=no' '--with-mongocxxv3=no' '--with-jp2lura=no' '--with-rasterlite2=no' '--with-teigha=no' '--with-sfcgal=no' '--with-mongocxx=no' '--with-pdfium=no' 'LDFLAGS=-L/lustre/f2/pdata/esrl/gsd/spack-stack/spack-stack-v0.0.2/envs/jedi-all-intel-2021.3.0/install/intel/2021.3.0/json-c-0.15-n3s37hg/lib64'

1 error found in build log:
     167    checking linux/fs.h usability... yes
     168    checking linux/fs.h presence... yes
     169    checking for linux/fs.h... yes
     170    checking whether byte ordering is bigendian... no
     171    checking for long long... yes
     172    checking for 64bit file io... no
  >> 173    configure: error: 64-bit file I/O missing. Build will not support files larger than 4 GB. If that is intended, ./configure --with-unix-stdio-64=no

See build log for details:
  /tmp/Dom.Heinzeller/spack-stage/spack-stage-gdal-3.4.2-ikn6optpwzebxbjmo66py3rfdrqdbo5l/spack-build-out.txt

Information on your system

NOAA RDHPCS Gaea (Cray):

Linux gaea9 4.12.14-197.99-default #1 SMP Thu Jul 15 13:52:56 UTC 2021 (a15b9f6) x86_64 x86_64 x86_64 GNU/Linux

spack debug report:

* **Spack:** 0.18.0.dev0 (d54e0f91ca81c84c921a6915e17b8cdc82f092a6)
* **Python:** 3.7.3
* **Platform:** cray-sles15-haswell
* **Concretizer:** clingo

Additional information

No longer available, because I already fixed the problem.

General information

climbfuji commented 2 years ago

Closed via #73