How to build netcdf with hpc sdk?

Dear NVIDIA developers:

Now I have a CUDA Fortran program with parallel I/O using netcdf.
So is there an instruction showing how to build the netcdf with HPC SDK compiler?

Thanks much!

Chen

Hi Chen,

We do ship prebuilt versions of pnetcdf/netcdf with the HPC SDK (found under $INSTALL_DIR/ Linux_x86_64/2020/netcdf/)) that you can use.

Otherwise, you should be able to follow the instructions at: PnetCDF/INSTALL at master · Parallel-NetCDF/PnetCDF · GitHub

Just ensure that the MPI implementation that you’re using is configured for use with the NV HPC Compilers.

-Mat

This is great!

Thanks so much, Mat!

Chen

Hi Mat,

Why there is no netcdf under the path of hps sdk as you said on my computer?

Did I miss anything when I install the hpc sdk?

Thanks much!

Chen

My apologies Chen. I thought we shipped those with the release, but I was incorrect.

Hopefully building the pNetCDF library from source wont be too much trouble.

Thank you, Mat!

[



Chen Yang

|

  • |

](头像签名)

Signature is customized by Netease Mail Master