Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with v2.8.6 installation: CBLAS/LAPack
09-27-2017, 08:44
Post: #11
RE: Problem with v2.8.6 installation: CBLAS/LAPack
(09-25-2017 22:56)oleg_astro Wrote:  Hi Harald,
in any case, you can download and try my free open project Ubuntu Astronomy 16.04 (64-bit).
It has SExtractor version 2.23.2.

Ok.
SExtractor needs these libraries:
Code:
sudo apt-get install libatlas-dev libatlas3-base libatlas-base-dev

Open the directory with SExtractor source code and run:
Code:
./configure --with-atlas-libdir=/usr/lib/ --with-atlas-incdir=/usr/include/atlas
make
sudo make install

Hi, still same problem. above libraries were installed before
configure: error: CBLAS/LAPack library files not found in /usr/lib/! Exiting.
I changed /usr/lib/ to /usr/lib/atlas-base or /usr/lib/atlas-base/atlas no success

ls -al /usr/lib/libatlas.*
lrwxrwxrwx 1 root root 21 Feb 4 2014 /usr/lib/libatlas.a -> atlas-base/libatlas.a
lrwxrwxrwx 1 root root 22 Feb 4 2014 /usr/lib/libatlas.so -> atlas-base/libatlas.so
lrwxrwxrwx 1 root root 24 Feb 4 2014 /usr/lib/libatlas.so.3 -> atlas-base/libatlas.so.3
lrwxrwxrwx 1 root root 24 Feb 4 2014 /usr/lib/libatlas.so.3gf -> atlas-base/libatlas.so.3
/utils/sextractor-2.19.5$ ls -al /usr/lib/atlas-base/
total 14280
drwxr-xr-x 3 root root 4096 Oct 31 2016 .
drwxr-xr-x 175 root root 65536 Sep 19 09:48 ..
drwxr-xr-x 2 root root 4096 Oct 31 2016 atlas
-rw-r--r-- 1 root root 7958850 Feb 4 2014 libatlas.a
lrwxrwxrwx 1 root root 13 Feb 4 2014 libatlas.so -> libatlas.so.3
lrwxrwxrwx 1 root root 15 Feb 4 2014 libatlas.so.3 -> libatlas.so.3.0
-rw-r--r-- 1 root root 3746968 Feb 4 2014 libatlas.so.3.0
-rw-r--r-- 1 root root 491036 Feb 4 2014 libcblas.a
lrwxrwxrwx 1 root root 13 Feb 4 2014 libcblas.so -> libcblas.so.3
lrwxrwxrwx 1 root root 15 Feb 4 2014 libcblas.so.3 -> libcblas.so.3.0
-rw-r--r-- 1 root root 135376 Feb 4 2014 libcblas.so.3.0
-rw-r--r-- 1 root root 584664 Feb 4 2014 libf77blas.a
lrwxrwxrwx 1 root root 15 Feb 4 2014 libf77blas.so -> libf77blas.so.3
lrwxrwxrwx 1 root root 17 Feb 4 2014 libf77blas.so.3 -> libf77blas.so.3.0
-rw-r--r-- 1 root root 131000 Feb 4 2014 libf77blas.so.3.0
-rw-r--r-- 1 root root 1113308 Feb 4 2014 liblapack_atlas.a
lrwxrwxrwx 1 root root 20 Feb 4 2014 liblapack_atlas.so -> liblapack_atlas.so.3
lrwxrwxrwx 1 root root 22 Feb 4 2014 liblapack_atlas.so.3 -> liblapack_atlas.so.3.0
-rw-r--r-- 1 root root 369472 Feb 4 2014 liblapack_atlas.so.3.0

Any idea, thanks, Harald
Find all posts by this user
Quote this message in a reply
09-27-2017, 11:40 (This post was last modified: 09-27-2017 11:49 by oleg_astro.)
Post: #12
RE: Problem with v2.8.6 installation: CBLAS/LAPack
Hi Harald,
why you want to compile the old version sextractor-2.19.5?

We have its new version 2.23.2.
You can download its Tarball, unpack and rename directory from trunk.r382 to sextractor-2.32.2

/configure --with-atlas-libdir=/usr/lib/ --with-atlas-incdir=/usr/include/atlas

Code:
astronom@astronom:~/sextractor-2.32.2$ ./configure --with-atlas-libdir=/usr/lib/ --with-atlas-incdir=/usr/include/atlas
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
*********** Configuring:  sextractor 2.23.2 (2017-09-27) **********
checking if compilation flags should be set automatically... no
checking whether we should use the INTEL compiler... no
checking whether we should use INTEL's MKL... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for sin in -lm... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for atexit... yes
checking for getenv... yes
checking for gettimeofday... yes
checking for isinf... yes
checking for isnan... yes
checking for logf... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for posix_memalign... yes
checking for setlinebuf... yes
checking for sincosf... yes
checking for strstr... yes
checking for sysconf... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking if model-fitting should be disabled... no
checking for profiler mode... no
checking best linking option... no
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftwf_execute in -lfftw3f... yes
checking /usr/include/atlas/cblas.h usability... yes
checking /usr/include/atlas/cblas.h presence... yes
checking for /usr/include/atlas/cblas.h... yes
checking /usr/include/atlas/clapack.h usability... yes
checking /usr/include/atlas/clapack.h presence... yes
checking for /usr/include/atlas/clapack.h... yes
checking for clapack_dpotrf in -llapack... yes
checking for cblas_dgemm in -lcblas... yes
***************************************************************
Compile cmdline:  gcc    -g -O2
Link    cmdline:  gcc   -L/usr/lib/ -llapack -lcblas -latlas -lfftw3f -lm
Default XSLT URL:
***************************************************************
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/fits/Makefile
config.status: creating src/levmar/Makefile
config.status: creating src/wcs/Makefile
config.status: creating man/Makefile
config.status: creating tests/Makefile
config.status: creating sextractor.spec
config.status: creating man/sex.1
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
astronom@astronom:~/sextractor-2.32.2$

Code:
astronom@astronom:~/sextractor-2.32.2$ ls -al /usr/lib/libatlas.*
lrwxrwxrwx 1 root root 21 Set 20 18:11 /usr/lib/libatlas.a -> atlas-base/libatlas.a
lrwxrwxrwx 1 root root 22 Set 20 18:11 /usr/lib/libatlas.so -> atlas-base/libatlas.so
lrwxrwxrwx 1 root root 24 Set 20 18:11 /usr/lib/libatlas.so.3 -> atlas-base/libatlas.so.3
astronom@astronom:~/sextractor-2.32.2$ ls -al /usr/lib/atlas-base/
total 14260
drwxr-xr-x   3 root root    4096 Set 24  2016 .
drwxr-xr-x 195 root root   20480 Set 26 22:10 ..
drwxr-xr-x   2 root root    4096 Set 24  2016 atlas
-rw-r--r--   1 root root 7940986 Nov 23  2015 libatlas.a
lrwxrwxrwx   1 root root      13 Set 20 18:11 libatlas.so -> libatlas.so.3
lrwxrwxrwx   1 root root      15 Set 20 18:11 libatlas.so.3 -> libatlas.so.3.0
-rw-r--r--   1 root root 3793120 Nov 23  2015 libatlas.so.3.0
-rw-r--r--   1 root root  487596 Nov 23  2015 libcblas.a
lrwxrwxrwx   1 root root      13 Set 20 18:11 libcblas.so -> libcblas.so.3
lrwxrwxrwx   1 root root      15 Set 20 18:11 libcblas.so.3 -> libcblas.so.3.0
-rw-r--r--   1 root root  138216 Nov 23  2015 libcblas.so.3.0
-rw-r--r--   1 root root  571872 Nov 23  2015 libf77blas.a
lrwxrwxrwx   1 root root      15 Set 20 18:11 libf77blas.so -> libf77blas.so.3
lrwxrwxrwx   1 root root      17 Set 20 18:11 libf77blas.so.3 -> libf77blas.so.3.0
-rw-r--r--   1 root root  131792 Nov 23  2015 libf77blas.so.3.0
-rw-r--r--   1 root root 1112020 Nov 23  2015 liblapack_atlas.a
lrwxrwxrwx   1 root root      20 Set 20 18:11 liblapack_atlas.so -> liblapack_atlas.so.3
lrwxrwxrwx   1 root root      22 Set 20 18:11 liblapack_atlas.so.3 -> liblapack_atlas.so.3.0
-rw-r--r--   1 root root  377664 Nov 23  2015 liblapack_atlas.so.3.0
astronom@astronom:~/sextractor-2.32.2$

My OS is Ubuntu Astronomy 16.04 (64-bit) http://ubuntuastronomy.ap-i.net
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)