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

[netCDF #ANY-749300]: using netCDF within a FORTRAN program

Hello Maurice,

Unfortunately, we do not officially support the netCDF Fortran interface under 
a Windows environment.  While it has been reported to us that some users have 
been able to build netCDF-Fortran using Windows and Visual Studio (to generate 
the .dll file), this is not something we officially support yet.

If you are able to build the Fortran DLL, you will also need the netCDF C 
library; the Fortran library provides an interface to the C library for use 
with Fortran software.  The C libraries may be downloaded (for Windows) from 

I'm sorry I can't provide a more positive answer, but hopefully this 
information will be useful to you,


> I apologize but english is not my natural
> language and I am unable to under stand the page
> http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
> I have been hired to translate R program to FORTRAN. We use Intel's
> Fortran . Nowadays netCDF is used within R and I have to use it within
> the FORTRAN programs I am building. I have a netCDF.dll and a netCDF.inc
> but they are not compatible.
> What would be the best for me is to get a 'netcdf.dll' and a 'netcdf.inc'
> working with Intel's fortran ie with an interface block. So my first
> question is "has anyone already did it ?"
> The second option is that I build my own DLL from the sources I got from
> your site. But I have a lot of difficulties with compilation constants
> not being declared (for example : EightByteInt). Are those constants
> part of a file that I forgot ? And, If I built the DLL, I do not have
> to use the C netCDF library right ?
> I thank you in advance for all the help you can give to me !
> J. MAURICE in France
> Ce message et toutes les piÃces jointes (ci-aprÃs le 'Message') sont 
> Ãtablis à l'intention exclusive des destinataires et les informations qui y 
> figurent sont strictement confidentielles. Toute utilisation de ce Message 
> non conforme à sa destination, toute diffusion ou toute publication totale 
> ou partielle, est interdite sauf autorisation expresse.
> Si vous n'Ãtes pas le destinataire de ce Message, il vous est interdit de le 
> copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. 
> Si vous avez reÃu ce Message par erreur, merci de le supprimer de votre 
> systÃme, ainsi que toutes ses copies, et de n'en garder aucune trace sur 
> quelque support que ce soit. Nous vous remercions Ãgalement d'en avertir 
> immÃdiatement l'expÃditeur par retour du message.
> Il est impossible de garantir que les communications par messagerie 
> Ãlectronique arrivent en temps utile, sont sÃcurisÃes ou dÃnuÃes de 
> toute erreur ou virus.
> ____________________________________________________
> This message and any attachments (the 'Message') are intended solely for the 
> addressees. The information contained in this Message is confidential. Any 
> use of information contained in this Message not in accord with its purpose, 
> any dissemination or disclosure, either whole or partial, is prohibited 
> except formal approval.
> If you are not the addressee, you may not copy, forward, disclose or use any 
> part of it. If you have received this message in error, please delete it and 
> all copies from your system and notify the sender immediately by return 
> message.
> E-mail communication cannot be guaranteed to be timely secure, error or 
> virus-free.

Ticket Details
Ticket ID: ANY-749300
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.