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

[netCDF #END-100126]: Test Failed



Hello,

I believe part of the issue is the use of 'sudo' to run make check, as it 
discards some of the environmental variables; those set by the user, and those 
determined by 'configure'.  Please try the following instead:

   $ ./configure --enable-parallel-tests && make && make check && sudo make 
install

Let me know if you observe the same results! 

Thank you, have a good day,

-Ward

> Hi,
> 
> I have some questions about installing netcdf-c-4.7.4. My question is
> probably similar to this post (
> https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg13231.html),
> but I don't think it's a duplicate. The configuration I used is
> 
> export H5DIR=/usr/local/hdf5-1.12.0
> export CPPFLAGS="-I/usr/local/hdf5-1.12.0/include"
> export CC=/usr/local/mpich-3.3.2/bin/mpicc
> export LDFLAGS=-L/usr/local/hdf5-1.12.0/lib
> export LIBS=-ldl
> ./configure --enable-parallel --enable-parallel-tests 2>&1 | tee
> configure.log
> 
> and then I did
> 
> sudo make 2>&1 | tee make.log
> sudo make install 2>&1 | tee make.install.log
> sudo make check 2>&1 | tee make.check.log
> 
> which works fine until I get
> 
> =============================================
> 
> Testsuite summary for netCDF 4.7.4
> 
> =============================================
> # TOTAL: 27
> 
> # PASS:  26
> 
> # SKIP:  0
> 
> # XFAIL: 0
> 
> # FAIL:  1
> 
> # XPASS: 0
> 
> # ERROR: 0
> 
> ==============================================
> 
> The test that fails is run_par_tests.sh, here is what run_par_test.sh.log
> says:
> 
> Testing parallel I/O with HDF5...
> 
> ./run_par_tests.sh: line 15: mpiexec: command not found
> 
> FAIL run_par_tests.sh (exit status: 127)
> 
> but I am pretty sure that I installed mpich correctly (because I use
> opencoarrays frequently, which also requires mpich), so I simply just typed
> ./run_par_tests.sh under h5_test and it returns:
> 
> Testing parallel I/O with HDF5...
> *** Creating file for parallel I/O read, and rereading it...
> p=1, write_rate=3078.4, read_rate=1722.42
> ok.
> *** Tests successful!
> *** Creating file for parallel I/O read, and rereading it...
> p=2, write_rate=3261.98, read_rate=3786.76
> ok.
> *** Tests successful!
> *** Creating file for parallel I/O read, and rereading it...
> p=4, write_rate=3243.13, read_rate=4521.05
> ok.
> *** Tests successful!
> SUCCESS!!!
> 
> Now I am a bit confused. It seems mpiexec can't be recognized. Also, in the
> INSTALL.md, under  configure options {#configure_options}, I found some
> typos, the option "--disable-shared" in the table should mean "don't build
> shared libraries" right?
> 
> All the log files are also attached, thank you for your precious time for
> reading this email!
> 
> Best regards,
> Han
> 
> 


Ticket Details
===================
Ticket ID: END-100126
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.