Parallel-NetCDF / PnetCDF

Source code repository of PnetCDF library and utilities
https://parallel-netcdf.github.io
Other
80 stars 22 forks source link

Configure fails: machine `arm64-apple' not recognized #97

Closed platipodium closed 6 months ago

platipodium commented 1 year ago

On Apple M1/Ventura with conda-installed toolchain clang14/gfortran/openmpi

./configure --prefix=$CONDA_PREFIX

gives

checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
wkliao commented 1 year ago

Please provide file config.log, so I can take a look.

mahf708 commented 1 year ago

This problem is likely resolved on master (but not in the latest release). The config.sub and config.guess must be updated. They were updated in https://github.com/Parallel-NetCDF/PnetCDF/commit/c9de74c8334fb4e0ff7f8a4b72e92f6baa674634.

wkliao commented 6 months ago

This is fixed with the new config.guess and config.sub in #116.