STACK AT C and F library

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
ubafelix
Posts: 3
Joined: Fri Jun 03, 2016 1:45 am
Location: UNIVERSITY OF ENERGY AND NATURAL RESOURCES, GHANA

STACK AT C and F library

#1 Post by ubafelix » Sun Jul 17, 2016 12:54 pm

Greetings From Me To All
Need a little help. First i welcome my good self to ROMS modeling world.
After installing Cygwin and all required packages this was the directory i got
c:/cygwin64/home/lab01
lab01 is a folder it creates using the computer user name. Following one of the TOPICS help tips "netcdf downloading via cygwin". Following the instruction it says, should start with build from C and then F library.
I don't understand
cd ${HOME}/tmp
so i changed my directory to
c:/cygwin64/tmp

Note home, tmp, lib, srv, var, usr, are in the same directory.

this is what i got after building C


*** Testing netcdf-4 variable functions, even more.
*** Testing with classic format:
**** testing simple fill value attribute creation...ok.
**** testing simple fill value with data read...ok.
**** testing fill value with one other attribute...ok.
**** testing fill value with three other attributes...ok.
**** testing fill value with simple example...ok.
**** testing fill value with example from cxx tests in v2 api...ok.
*** Testing with 64-bit offset format:
**** testing simple fill value attribute creation...ok.
**** testing simple fill value with data read...ok.
**** testing fill value with one other attribute...ok.
**** testing fill value with three other attributes...ok.
**** testing fill value with simple example...ok.
**** testing fill value with example from cxx tests in v2 api...ok.
*** Testing with HDF5:
**** testing simple fill value attribute creation...ok.
**** testing simple fill value with data read...ok.
**** testing fill value with one other attribute...ok.
**** testing fill value with three other attributes...ok.
**** testing fill value with simple example...ok.
**** testing fill value with example from cxx tests in v2 api...ok.
*** Testing with HDF5, netCDF Classic Model:
**** testing simple fill value attribute creation...ok.
**** testing simple fill value with data read...ok.
**** testing fill value with one other attribute...ok.
**** testing fill value with three other attributes...ok.
**** testing fill value with simple example...ok.
**** testing fill value with example from cxx tests in v2 api...ok.
**** testing create order varids...ok.
**** testing simple variable renaming...ok.
**** testing dimension and variable renaming...ok.
**** testing endianness...ok.
**** testing chunking and the chunk cache...ok.
**** testing contiguous storage...ok.
**** testing extreme numbers dude...ok.
**** testing error codes for name clashes...ok.
**** testing error codes for name clashes some more...ok.
**** testing error codes for name clashes even more...ok.
**** testing error code for too-large chunks...ok.
**** testing that contiguous storage can't be turned on for vars with unlimited dims or filters...ok.
**** testing that contiguous storage can't be turned on for vars with unlimited dims or filters...ok.
*** Tests successful!
PASS: tst_vars2.exe

*** Testing netcdf file functions.
*** Checking the new inq_path function...ok.
*** Tests successful!
PASS: tst_files5.exe

*** Testing netcdf file functions some more.
*** testing simple opendap open/close...Sorry! Unexpected result, tst_files6.c, line: 25
FAIL: tst_files6.exe

*** Testing netcdf-4 variable syncing.
**** testing that sync works in netCDF-4...ok.
**** testing that sync works in netCDF-4, with test contributed by Jeff W....ok.
**** testing that sync works in netCDF-4, with test contributed by Jeff W....ok.
*** Tests successful!
PASS: tst_sync.exe

*** Testing netcdf-4 v2 API functions.
*** testing simple opens and creates...ok.
*** Tests successful!
PASS: tst_v2.exe
================================================
1 of 50 tests failed
Please report to support-netcdf@unidata.ucar.edu
================================================
make[2]: *** [Makefile:1115: check-TESTS] Error 1
make[2]: Leaving directory '/cygdrive/c/cygwin64/tmp/netcdf-4.2/nc_test4'
make[1]: *** [Makefile:1238: check-am] Error 2
make[1]: Leaving directory '/cygdrive/c/cygwin64/tmp/netcdf-4.2/nc_test4'
make: *** [Makefile:486: check-recursive] Error 1

Lab01@Lab01-PC /cygdrive/c/cygwin64/tmp/netcdf-4.2
$ nice make install
Making install in include
make[1]: Entering directory '/cygdrive/c/cygwin64/tmp/netcdf-4.2/include'
make[2]: Entering directory '/cygdrive/c/cygwin64/tmp/netcdf-4.2/include'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/include" || /usr/bin/mkdir -p "/usr/local/include"
/usr/bin/mkdir: cannot create directory ‘/usr/local/include’: Permission denied
make[2]: *** [Makefile:271: install-includeHEADERS] Error 1
make[2]: Leaving directory '/cygdrive/c/cygwin64/tmp/netcdf-4.2/include'
make[1]: *** [Makefile:385: install-am] Error 2
make[1]: Leaving directory '/cygdrive/c/cygwin64/tmp/netcdf-4.2/include'
make: *** [Makefile:486: install-recursive] Error 1

Just partly of information from mid way to button.
Can i get any help to complete my netcdf installation.

ubafelix
Posts: 3
Joined: Fri Jun 03, 2016 1:45 am
Location: UNIVERSITY OF ENERGY AND NATURAL RESOURCES, GHANA

Re: STACK AT C and F library

#2 Post by ubafelix » Sun Jul 17, 2016 3:42 pm

Bingo.
I have fixed it.
It looks like I was in a hurry to ask for help.
Thanks any way.

Post Reply