[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 19991027: Solaris 7
- Subject: Re: 19991027: Solaris 7
- Date: Thu, 28 Oct 1999 08:55:40 -0600
Martin,
>Date: Thu, 28 Oct 1999 16:31:44 +0200
>From: address@hidden (Martin Ridal)
>Organization: .
>To: address@hidden
>Subject: Re: 19991027: Solaris 7
>Keywords: 199910251557.JAA00350
In the above message, you wrote:
> the file to be read is about 5.4 Mb. Should I send it?
> If I read different variables using ncdump -v it works fine.
>
> The model crashes when NF_INQ_VARID is called.
Lets try something else first. I want to make your netCDF installation
pass the "nf_test" test. Please do the following:
1. Go to the nf_test/ subdirectory.
2. Edit the file tests.inc. Change the following section:
#if defined(_CRAY)
# define I_INT1_MAX 2147483647
# define I_INT1_MIN (-I_INT1_MAX-1)
# define I_INT2_MAX 2147483647
# define I_INT2_MIN (-I_INT2_MAX-1)
# define I_INT_MAX 9223372036854775807
# define I_INT_MIN (-I_INT_MAX-1)
#else
# if defined(__SUNPRO_F90)
# define I_INT1_MAX 2147483647
# define I_INT1_MIN (-2147483647-1)
# define I_INT2_MAX 2147483647
# define I_INT2_MIN (-2147483647-1)
# define I_INT_MAX 2147483647
# define I_INT_MIN (-2147483647-1)
# else
# define I_INT1_MAX 127
# define I_INT1_MIN (-128)
# define I_INT2_MAX 32767
# define I_INT2_MIN (-32768)
# define I_INT_MAX 2147483647
# define I_INT_MIN (-2147483647-1)
# endif
#endif
to
# define I_INT1_MAX 127
# define I_INT1_MIN (-128)
# define I_INT2_MAX 32767
# define I_INT2_MIN (-32768)
# define I_INT_MAX 2147483647
# define I_INT_MIN (-2147483647-1)
3. Execute the command "make clean".
4. Execute the command "make".
5. Execute the command "make test".
If this works, then reinstall the netCDF package from the top-level
source directory ("make install"), relink your model against the new
library, and try it.
--------
Steve Emmerson <http://www.unidata.ucar.edu>