[MINC-users] minc-2.0.15 build error

EJ Nikelski nikelski at bic.mni.mcgill.ca
Sat May 17 11:57:08 EDT 2008


Hi All,

   For reasons that I would rather not get into, I found myself
rebuilding minc2 on my Intel mac (os x 10.5).  Although I'm certain
that this worked previously, I now get an error during "make check" --
specifically:

Testing icv_dim1
Testing icv_fillvalue
PASS: run_test2.sh
PASS: xfmconcat_01.sh
PASS: xfmconcat_02.sh
Assertion failed: (extent != 0), function px_get, file posixio.c, line 412.
/bin/sh: line 1: 66090 Abort trap              ${dir}$tst
FAIL: mincapi
==================================
1 of 5 tests failed
Please report to a.janke at gmail.com
==================================

   I've done some snooping, and the problem is related to this bit of
code in mincapi.c  ...

  /* Try to open the file for write - should fail.
   */
  fd2 = miopen(ip->name, NC_WRITE);
  if (fd2 >= 0) {
    FUNC_ERROR("miopen");
  }

   The call to miopen does indeed fail, but instead of returning, it
fails on the assertion in posixio.c.   Andrew, given that you've
dutifully attached your name to the error message, I suppose that you
get first kick at the can.  What do you think?  BTW - I'm building
minc2 with hdf5-1.6.7 and netcdf-3.6.2.

Cheers,

-Jim


More information about the MINC-users mailing list