CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

HiFiLES installation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2016, 20:11
Default HiFiLES installation problem
  #1
New Member
 
Wenkun Zhao
Join Date: Mar 2015
Location: Nanjing, China
Posts: 14
Rep Power: 11
Eric Brant is on a distinguished road
Hi

I am not sure if I am in the correct sub-forum to post my question, but I know about HiFiLES solvers in a SU2 community, so I'm here

When I compile HiFiLES on Ubuntu14.04, I have encountered a problem. I have read README.md in the HiFiLES dictionary and used the following commands to install:
(1) bash configure_run.sh
(2) make

and this is (1) output:
Code:
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
checking whether make supports nested variables... yes
<<< Configuring library with Metis support >>>
./configure: line 3027: AX_TLS: command not found
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 mpicc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of mpicc... gcc3
checking for gcc... gcc
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 whether gcc and cc understand -c and -o together... yes
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 how to run the C++ preprocessor... mpicc -E
checking for ld used by mpicc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for mpicc option to produce PIC... -fPIC -DPIC
checking if mpicc PIC flag -fPIC -DPIC works... yes
checking if mpicc static flag -static works... no
checking if mpicc supports -c -o file.o... yes
checking if mpicc supports -c -o file.o... (cached) yes
checking whether the mpicc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating lib/parmetis-4.0.2/Makefile
config.status: creating lib/parmetis-4.0.2/metis/Makefile
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating obj/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands


Build Configuration Summary:

    Source code location: /home/Ubuntu/HiFiLES
    Install location: 	  /home/Ubuntu/HiFiLES
    Version:              1.0.0
    Compiler:             mpicc
    Preprocessor flags:   
    Compiler flags:        -D_MPI
    Linker flags:         
    BLAS support:         NO
    MPI support:          YES
    CUDA support:         NO
    TecIO support:        NO
it seems that there's no mistakes.

and the (2) output:
Code:
Making all in lib
make[1]: Entering directory `/home/Ubuntu/HiFiLES/lib'
Making all in parmetis-4.0.2/
make[2]: Entering directory `/home/Ubuntu/HiFiLES/lib/parmetis-4.0.2'
Making all in metis/
make[3]: Entering directory `/home/Ubuntu/HiFiLES/lib/parmetis-4.0.2/metis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Ubuntu/HiFiLES/lib/parmetis-4.0.2/metis'
make[3]: Entering directory `/home/Ubuntu/HiFiLES/lib/parmetis-4.0.2'
  CC     libparmetis/libparmetis_a-akwayfm.o
In file included from ./libparmetis/parmetislib.h:21:0,
                 from libparmetis/akwayfm.c:14:
./include/parmetis.h:18:19: fatal error: metis.h: No such file or directory
 #include <metis.h>
                   ^
compilation terminated.
make[3]: *** [libparmetis/libparmetis_a-akwayfm.o] Error 1
make[3]: Leaving directory `/home/Ubuntu/HiFiLES/lib/parmetis-4.0.2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Ubuntu/HiFiLES/lib/parmetis-4.0.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Ubuntu/HiFiLES/lib'
make: *** [all-recursive] Error 1
I don't know why metis.h can not be found, I can find this .h file in /usr/include/metis. and I have already edited the METIS_INCLUDE in configure_run.sh before.
I have attached zipped relative files named compile.zip at the end.
Any help would be appreciated! Thanks a lot!

Best,
Eric
Attached Files
File Type: zip compile.zip (118.4 KB, 1 views)
Eric Brant is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LINUX newbie with paraView installation problem kenya0514 OpenFOAM Installation 4 January 16, 2013 17:51
Installation problem - calling blockMesh - libblockMesh.so aylalisa OpenFOAM Installation 5 November 28, 2012 09:55
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 17:26
OpenFOAM-2.0.1 installation problem benru OpenFOAM Installation 1 September 14, 2011 09:15
Installation paraFoam - still problem nhl OpenFOAM Installation 7 June 22, 2010 09:22


All times are GMT -4. The time now is 22:07.