Hi Dan, Here is the documentation for building the netCDF-Fortran library. Please let us know if you have problems with it or it's not clear: http://www.unidata.ucar.edu/netcdf/docs/building_netcdf_fortran.html --Russ > regarding my previous problem, I fixed that. I had compiled my HDF5 library > using mpicc so I configured like so: > > CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib > CC=/usr/local/bin/mpicc ./configure --prefix=/usr/local/ --enable-parallel > > and the library built just fine. I have just noticed now that the commands I > sent earlier I copy and pasted the wrong command for uncompressing my > download. However, I have now run into an issue with the build for the > netcdf-fortran build. There is no documentation to assist with the build so I > am going at it blind. I tried the same command more or less: > > CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib > FC=/usr/local/bin/mpif90 F90=/usr/local/bin/mpif90 F77=/usr/local/bin/mpif77 > CC=/usr/local/bin/mpicc ./configure --prefix=/usr/local/ --enable-parallel > > but make check fails and gives the following error: > > Error: Symbol 'nf_endian_big' at (1) has no IMPLICIT type > ftst_vars.F:98.63: > > retval = nf_def_var_fletcher32(ncid, varid, NF_FLETCHER32) > 1 > Error: Symbol 'nf_fletcher32' at (1) has no IMPLICIT type > ftst_vars.F:81.48: > > retval = nf_def_var(ncid, "data", NF_INT64, NDIMS, dimids, varid) > 1 > Error: Symbol 'nf_int64' at (1) has no IMPLICIT type > ftst_vars.F:69.46: > > retval = nf_create(FILE_NAME, NF_NETCDF4, ncid) > 1 > Error: Symbol 'nf_netcdf4' at (1) has no IMPLICIT type > ftst_vars.F:56.15: > > retval = nf_set_chunk_cache(CACHE_SIZE, CACHE_NELEMS, > 1 > Error: Function 'nf_set_chunk_cache' at (1) has no IMPLICIT type > ftst_vars.F:61.15: > > retval = nf_get_chunk_cache(cache_size_in, cache_nelems_in, > 1 > Error: Function 'nf_get_chunk_cache' at (1) has no IMPLICIT type > ftst_vars.F:87.15: > > retval = nf_def_var_chunking(ncid, varid, 0, chunks) > 1 > Error: Function 'nf_def_var_chunking' at (1) has no IMPLICIT type > ftst_vars.F:96.15: > > retval = nf_def_var_deflate(ncid, varid, 0, 1, 4) > 1 > Error: Function 'nf_def_var_deflate' at (1) has no IMPLICIT type > ftst_vars.F:102.15: > > retval = nf_inq_var_deflate(ncid, varid, shuffle, deflate, > 1 > Error: Function 'nf_inq_var_deflate' at (1) has no IMPLICIT type > ftst_vars.F:107.15: > > retval = nf_inq_var_fletcher32(ncid, varid, checksum) > 1 > Error: Function 'nf_inq_var_fletcher32' at (1) has no IMPLICIT type > ftst_vars.F:110.15: > > retval = nf_inq_var_chunking(ncid, varid, contiguous, chunks_in) > 1 > Error: Function 'nf_inq_var_chunking' at (1) has no IMPLICIT type > ftst_vars.F:115.15: > > retval = nf_inq_var_endian(ncid, varid, endianness) > 1 > Error: Function 'nf_inq_var_endian' at (1) has no IMPLICIT type > ftst_vars.F:141.15: > > retval = nf_inq_var_deflate(ncid, varid, shuffle, deflate, > 1 > Error: Function 'nf_inq_var_deflate' at (1) has no IMPLICIT type > ftst_vars.F:146.15: > > retval = nf_inq_var_fletcher32(ncid, varid, checksum) > 1 > Error: Function 'nf_inq_var_fletcher32' at (1) has no IMPLICIT type > ftst_vars.F:149.15: > > retval = nf_inq_var_chunking(ncid, varid, contiguous, chunks_in) > 1 > Error: Function 'nf_inq_var_chunking' at (1) has no IMPLICIT type > ftst_vars.F:154.15: > > retval = nf_inq_var_endian(ncid, varid, endianness) > 1 > Error: Function 'nf_inq_var_endian' at (1) has no IMPLICIT type > make[2]: *** [ftst_vars.o] Error 1 > make[2]: Leaving directory `/home/dan/netcdf-fortran-4.4.2/nf_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/home/dan/netcdf-fortran-4.4.2/nf_test' > make: *** [check-recursive] Error 1 > > Any ideas? Or is there any documentation out there to assist with the build > of the fortran library? > > Cheers, > Dan > > ------------------------------------------------------------------------------------------------------------ > Daniel Potter > PhD Student > Room B46 LEC 3 > Lancaster Environmental Centre > > ________________________________________ > From: Potter, Dan > Sent: 03 June 2015 11:41 > To: address@hidden > Subject: > > Hi there, > > I am trying to build netcdf but have run into an issue which suggests sending > the attached file to this address. The commands I have entered to this point > have been: > > gunzip < netcdf-fortran-4.4.2.tar.gz | tar xf - > cd netcdf-4.3.3.1 > CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure > --prefix=/usr/local/ > make check > > I am using Linux Mint 17.1. > > Cheers, > Dan > > ------------------------------------------------------------------------------------------------------------ > Daniel Potter > PhD Student > Room B46 LEC 3 > Lancaster Environmental Centre > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: WHC-184184 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.