Hi, Sorry it's taken so long to respond to your question. > Full Name: ammar abdilghanie > Email Address: address@hidden > Organization: u of washington > Package Version: netcdf-4.1.2 and hdf5-1.8.7 > Operating System: > Hardware: > Description of problem: > > I am trying to install netcdf with parallel i/o support. I first installed > zlib and hd5f which seem to work fine. > > I then set > > CPPFLAGS=-I/home/ammar/F90Netcdf/local/include We have to set CPPFLAGS to include -DgFortran to get the right flags generated for mpif90 on our platform, so could you try again, changing CPPFLAGS="-DgFortran -I/home/ammar/F90Netcdf/local/include" You might also try netCDF 4.1.3 instead of 4.1.2, as the former has some bug fixes. If it still doesn't work, could you please send us the information requested here: http://www.unidata.ucar.edu/netcdf/docs/netcdf-install/Reporting-Problems.html Thanks. --Russ > CXXFLAGS=-I/home/ammar/F90Netcdf/local/include > FFFLAGS=-I/home/ammar/F90Netcdf/local/include > FCFLAGS=-I/shecky/local_par/include LDFLAGS=-L/shecky/local_par/lib > > those are where I installed hdf5 and zlib > > I then issued > > FC=mpif90 CXX=mpicxx CC=mpicc ./configure --enable-parallel --disable-shared > --prefix=/home/ammar/F90Netcdf/local/netcdf > > then make followed by make install. I got > > Congratulations! You have successfully installed netCDF! | > | | > | You can use script "nc-config" to find out the relevant | > | compiler options to build your application. Enter | > | | > | nc-config --help | > | > then I issued > > make check install and got the errors > then got bunch of errors like > > til.o: In function `internal_max_': > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1358: undefined reference > to `max_double_' > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1351: undefined reference > to `max_float_' > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1321: undefined reference > to `max_schar_' > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1334: undefined reference > to `max_short_' > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1344: undefined reference > to `max_int_' > util.o: In function `internal_min_': > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1255: undefined reference > to `min_schar_' > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1268: undefined reference > to `min_short_' > /home/ammar/F90Netcdf/netcdf-4.1.2/nf_test/util.F:1278: undefined reference > to `min_int_' > collect2: ld returned 1 exit status > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory `/home/ammar/F90Netcdf/netcdf-4.1.2/nf_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/home/ammar/F90Netcdf/netcdf-4.1.2/nf_test' > make: *** [check-recursive] Error 1 > address@hidden netcdf-4.1.2]# > > I am trying to install this on linux 64 bit machine running redhat. Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: ORW-515290 Department: Support netCDF Priority: High 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.