[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #SZU-353193]: Problem building netcdf-4.4.1.1 C version: lib, bin not being built
- Subject: [netCDF #SZU-353193]: Problem building netcdf-4.4.1.1 C version: lib, bin not being built
- Date: Wed, 24 May 2017 15:51:07 -0600
Aloha!
The expected `lib` and `bin` directories is generated as part of the `make
install` command, and are not reflected in the directory structure of the
source code. You can set the desired location by passing `--prefix=[target
location]` to `configure`, and then running 'make install'.
I hope this helps, have a great day!
-Ward
> Aloha.
>
> I'm trying to build netcdf-4.4.1.1 with intel compiler using the following:
>
> #
> # C
> #
> export CPPFLAGS=-I/home/hellyj/src/hdf5-1.10.1/include
> export CXXFLAGS=-I/home/hellyj/src/hdf5-1.10.1/include
> export FFFLAGS=-I/home/hellyj/src/hdf5-1.10.1/include
> export FCFLAGS=-I/home/hellyj/src/hdf5-1.10.1/include
> export LDFLAGS=-L/home/hellyj/src/hdf5-1.10.1/lib
> #
> export NETCDFHOME=/home/hellyj/src/netcdf-4.4.1.1
> #
> cd /home/hellyj/src/netcdf-4.4.1.1
> make clean
> FC=mpif90 CC=mpicc ./configure
> --prefix=/home/hellyj/src/netcdf-4.4.1.1/ --enable-pnetcdf
> --enable-parallel-tests --enable-netcdf-4
> make check
> make install
>
> While this runs apparently successfully, it doesn't produce the expected
> directory structure: no lib or bin directories. There is a liblib
> directory and the executables on in the root directory but it seems like
> something fundamental is amiss. I consequently cannot produce the
> Fortran version netcdf-fortran-4.4. Any suggestions as to what might be
> wrong would be most welcome.
>
> ==================== Resulting directory listing
> ========================================
>
> [hellyj@comet-04-32 netcdf-4.4.1.1]$ ls -al
> total 3210
> drwxr-xr-x 22 hellyj install 70 May 23 14:29 .
> drwxrwxr-x 38 hellyj install 54 May 23 14:33 ..
> -rw-r--r-- 1 hellyj install 18621 Nov 21 2016 acinclude.m4
> -rw-r--r-- 1 hellyj install 43973 Nov 21 2016 aclocal.m4
> -rw-r--r-- 1 hellyj install 3888 May 23 14:28 a.out
> drwxr-xr-x 3 hellyj install 4 Nov 21 2016 cmake
> -rw-r--r-- 1 hellyj install 3427 Nov 21 2016 CMakeInstallation.cmake
> -rw-r--r-- 1 hellyj install 57426 Nov 21 2016 CMakeLists.txt
> -rw-r--r-- 1 hellyj install 1042 Nov 21 2016 cmake_uninstall.cmake.in
> -rwxr-xr-x 1 hellyj install 7333 Nov 21 2016 compile
> -rw-r--r-- 1 hellyj install 3186 Nov 21 2016 COMPILE.cmake.txt
> -rw-r--r-- 1 hellyj install 242 May 23 14:28 comps.txt
> -rwxr-xr-x 1 hellyj install 42938 Nov 21 2016 config.guess
> -rw-r--r-- 1 hellyj install 15371 May 23 14:23 config.h
> -rw-r--r-- 1 hellyj install 9109 Nov 21 2016 config.h.cmake.in
> -rw-r--r-- 1 hellyj install 14512 Nov 21 2016 config.h.in
> -rw-r--r-- 1 hellyj install 180212 May 23 14:29 config.log
> -rwxr-xr-x 1 hellyj install 72406 May 23 14:29 config.status
> -rwxr-xr-x 1 hellyj install 35987 Nov 21 2016 config.sub
> -rwxr-xr-x 1 hellyj install 644326 Nov 21 2016 configure
> -rw-r--r-- 1 hellyj install 52446 Nov 21 2016 configure.ac
> -rw-r--r-- 1 hellyj install 2032 Nov 21 2016 COPYRIGHT
> -rw-r--r-- 1 hellyj install 666 Nov 21 2016 CTestConfig.cmake.in
> -rw-r--r-- 1 hellyj install 209 Nov 21 2016 CTestCustom.cmake
> -rwxr-xr-x 1 hellyj install 23566 Nov 21 2016 depcomp
> drwxr-xr-x 4 hellyj install 32 May 23 14:29 docs
> drwxr-xr-x 4 hellyj install 8 May 23 14:29 examples
> -rw-r--r-- 1 hellyj install 261 Nov 21 2016 FixBundle.cmake.in
> drwxr-xr-x 4 hellyj install 94 May 23 14:30 h5_test
> drwxr-xr-x 2 hellyj install 36 May 23 14:29 include
> -rw-r--r-- 1 hellyj install 19394 Nov 21 2016 INSTALL.md
> -rwxr-xr-x 1 hellyj install 14675 Nov 21 2016 install-sh
> drwxr-xr-x 3 hellyj install 39 May 23 14:29 libdap2
> drwxr-xr-x 3 hellyj install 42 May 23 14:29 libdispatch
> -rw-r--r-- 1 hellyj install 469 Nov 21 2016 lib_flags.am
> drwxr-xr-x 3 hellyj install 8 May 23 14:29 liblib
> -rw-r--r-- 1 hellyj install 868 May 23 14:29 libnetcdf.settings
> -rw-r--r-- 1 hellyj install 835 Nov 21 2016 libnetcdf.settings.in
> drwxr-xr-x 3 hellyj install 31 May 23 14:29 libsrc
> drwxr-xr-x 3 hellyj install 20 May 23 14:29 libsrc4
> drwxr-xr-x 3 hellyj install 8 May 23 14:29 libsrcp
> -rwxr-xr-x 1 hellyj install 339361 May 23 14:29 libtool
> -rw-r--r-- 1 hellyj install 324089 Nov 21 2016 ltmain.sh
> drwxr-xr-x 2 hellyj install 7 Nov 21 2016 m4
> -rw-r--r-- 1 hellyj install 39888 May 23 14:29 Makefile
> -rw-r--r-- 1 hellyj install 7605 Nov 21 2016 Makefile.am
> -rw-r--r-- 1 hellyj install 40685 Nov 21 2016 Makefile.in
> -rwxr-xr-x 1 hellyj install 6872 Nov 21 2016 missing
> -rwxr-xr-x 1 hellyj install 6244 May 23 14:29 nc-config
> -rwxr-xr-x 1 hellyj install 7091 Nov 21 2016 nc-config.cmake.in
> -rwxr-xr-x 1 hellyj install 6255 Nov 21 2016 nc-config.in
> drwxr-xr-x 8 hellyj install 34 May 23 14:29 ncdap_test
> drwxr-xr-x 5 hellyj install 144 May 23 14:29 ncdump
> drwxr-xr-x 3 hellyj install 65 May 23 14:29 ncgen
> drwxr-xr-x 3 hellyj install 26 May 23 14:29 ncgen3
> drwxr-xr-x 3 hellyj install 38 May 23 14:29 nctest
> drwxr-xr-x 3 hellyj install 53 May 23 14:29 nc_test
> drwxr-xr-x 3 hellyj install 135 May 23 14:29 nc_test4
> -rw-r--r-- 1 hellyj install 1124 Nov 21 2016 netCDFConfig.cmake.in
> -rw-r--r-- 1 hellyj install 296 May 23 14:29 netcdf.pc
> -rw-r--r-- 1 hellyj install 275 Nov 21 2016 netcdf.pc.in
> drwxr-xr-x 4 hellyj install 100 May 23 14:29 oc2
> -rw-r--r-- 1 hellyj install 2857 May 23 14:29 postinstall.sh
> -rwxr-xr-x 1 hellyj install 2719 Nov 21 2016 postinstall.sh.in
> -rw-r--r-- 1 hellyj install 4209 Nov 21 2016 README.md
> -rwxr-xr-x 1 hellyj install 89341 Nov 21 2016 RELEASE_NOTES.md
> -rw-r--r-- 1 hellyj install 23 May 23 14:29 stamp-h1
> -rwxr-xr-x 1 hellyj install 4640 Nov 21 2016 test-driver
> -rw-r--r-- 1 hellyj install 268 Nov 21 2016 test_prog.c
> -rw-r--r-- 1 hellyj install 8 May 23 14:27 VERSION
>
> --
> John Helly, University of California, San Diego / San Diego Supercomputer
> Center / Scripps Institution of Oceanography / 760 840 8660 mobile /
> http://www.sdsc.edu/~hellyj
> ORCID ID: orcid.org/0000-0002-3779-0603
>
>
>
>
Ticket Details
===================
Ticket ID: SZU-353193
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.