Parallel NetCDF Configure Error

Wei-keng Liao wkliao at eecs.northwestern.edu
Wed Jul 31 11:08:16 CDT 2019


Hi, Jason

From your file ‘config.log’, I am seeing the error message below.

/Users/jmgate/toolchain/install/gcc-9.1.0/lib/gcc/x86_64-apple-darwin18.6.0/9.1.0/include-fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
   78 | #include <_stdio.h>
      |          ^~~~~~~~~~
compilation terminated.

This indicates your installation of Xcode may not be complete.
Please try command
    xcode-select —install

Googling shows the following 2 links related to this problem.
https://stackoverflow.com/questions/52509602/cant-compile-c-program-on-a-mac-after-upgrade-to-mojave/52530212
https://github.com/Microsoft/LightGBM/issues/1420

Wei-keng

> On Jul 30, 2019, at 10:22 AM, Gates, Jason Matthew via parallel-netcdf <parallel-netcdf at lists.mcs.anl.gov> wrote:
> 
> ​Good morning,
> 
> I'm trying to build pnetcdf-1.11.2, but I'm running into the following configure error:
> 
> checking whether we are cross compiling... configure: error: in `/Users/jmgate/toolchain/build/pnetcdf-1.11.2':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> 
> The config.log file and the full output from the following configure command
> 
> /Users/jmgate/toolchain/src/pnetcdf-1.11.2/configure --prefix=${TOOLCHAIN_INSTALL}/pnetcdf-1.11.2 2>&1 | tee config$(date +%y%m%d%H%M%S).log
> 
> are attached.  My compiler/TPL stack so far (and not all these are relevant, but included for the sake of completeness) is
> 	• ​​gcc-9.1.0
> 	• openmpi-4.0.1
> 	• cmake-3.15.0
> 	• python-​3.7.3
> 	• lapack-3.8.0
> 	• boost-1.70.0
> 	• zlib-1.2.11
> 	• hdf5-1.10.5
> This is on Mac OS-X 10.14.6.  Any help resolving the configure error would be appreciated.
> 
> Many thanks,
> 
> Jason M. Gates
> 
> <config.log><config190730074416.log>



More information about the parallel-netcdf mailing list