Hello Ahsan, I am unfamiliar with Environment modules, but I found this: http://modules.sourceforge.net/. Is this what you are using? If the issue is indeed with the Environment modules, you will need to contact the Environment modules developer support; I'm afraid I cannot provide any help there, and the script file you provided does not have any obvious issues. Can you provide the config.log file generated when you run configure? Thank you, -Ward > Dear Sir/Madam > > I have a question rather confusion for netCDF installation. I am using > Environment modules and correctly made and loaded module files for zlib and > hdf5 before configuring netcdf with netcdf-4 support. I get error about > hdf5 library not being found in the path. But when I give the following > configuration found the problem is solved. My question is that why hdf5 > library is not being found while it has been loaded correctly using > environment modules. Is passing these compiler flags is necessary even when > hdf5 is in path? Module file is attached for reference. > > CPPFLAGS="-I/export/apps/hdf5-1.8.13_zlib-1.2.8_gcc-4.9.2/include > -I/export/apps/zlib-1.2.8_gcc-4.9.2/include" > > LDFLAGS="-L/export/apps/hdf5-1.8.13_zlib-1.2.8_gcc-4.9.2/lib > -L/export/apps/zlib-1.2.8_gcc-4.9.2/lib" ./configure > --prefix=/export/apps/netcdf-4.3.2_gcc-4.9.2 > > > Best Regards > > Ahsan > > -- > > Ticket Details =================== Ticket ID: DFM-220948 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.