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

[netCDF #MZI-227932]: Error in building netcdf using Pnetcdf

Good morning,

Thanks for reaching out; I think you'll need to add `CC=mpicc` before 
./configure, e.g.:

    $ CC=mpicc ./configure --prefix=(...)

I was able to replicate the issue you're seeing, and I was able to resolve it 
by specifying the same compiler used to compile `pnetcdf`.

I hope this helps! Have a great day!


> Hi
> I want to build the netcdf using only pnetcdf for classic parallel formats.
> Hence I am using this configuration option
> "./configure --prefix=$HOME/netcdf --disable-netcdf-4 --enable-pnetcdf
> --disable-libxml2"
> I have pnetcdf installed and its bin folder is added to $PATH. But still
> netcdf can't link pnetcdf library during configuration.
> Please help me with this situation. I have attached the config.log file
> with this mail.
> Thank you
> Sincerely
> Avinash

Ticket Details
Ticket ID: MZI-227932
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.