[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #GWP-637632]: testing cross-compiled netCDF-Fortran


Building the tests, without running them, appears to be a tricky proposition 
when using the autotools toolchain (configure/make check/etc).  It appears that 
you can build tests without running them, however, using the following command:

    $ make check TESTS=

An alternative may be to leverage the 'cmake' support we have added to 
netcdf-c/fortran/cxx.  CMake is a robust alternative to autotools; while I 
cannot offer advice in using it to cross-compile, I know that it will build the 
tests without running them (when you invoke 'make').  

Information on cross-compiling with CMake may be found at the following page:


I hope this helps; have a great day!


> Dear netCDF Support:
> I have cross-compiled netCDF-Fortran (with HDF5) for MIC,
> but have found not all calls to it succeeded in my
> application.  I would like to test my build; but to do so,
> I believe I would need to cross-compile the tests without
> running them, so that I could later run them natively.
> Would you please advise me on how I might do that?
> Best regards,
> Max
> ---
> Max R. Dechantsreiter
> President
> Performance Jones L.L.C.
> address@hidden
> Skype: PerformanceJones (UTC-05:00)
> +1 414 446-3100 (telephone/voicemail)
> http://www.linkedin.com/in/benchmarking

Ticket Details
Ticket ID: GWP-637632
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.