Construindo hdf5 no Centos 7 com gfortran

0

Eu estou tentando construir o hdf5 no Centos 7. Eu também estou usando um compilador gfortran. Eu já instalei pacotes mpi, zlib e szip. No entanto, quando tento configurar o hdf5, ele exibe esse erro, que parece estar relacionado ao compilador C, mesmo que eu não o esteja habilitando. Eu estou lidando com o log abaixo:

[root@DUIP69765 hdf5-1.8.20]# LDFLAGS="-L/opt/mpich_gfor/lib -L/usr/local/lib" FCFLAGS="-I/opt/mpich_gfor/include -I/usr/local/lib/include" ./configure --prefix=/opt/hdf5_gfor --enable-shared --enable-hl --enable-fortran --enable-parallel --with-szlib=usr/local/lib/include

checking for a BSD-compatible install... /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    
checking whether make supports nested variables... (cached) yes    
checking whether to enable maintainer-specific portions of Makefiles... no    
checking build system type... x86_64-unknown-linux-gnu    
checking host system type... x86_64-unknown-linux-gnu    
checking shell variables initial values... done    
checking if basename works... yes    
checking if xargs works... yes    
checking for cached host... none    
checking for config x86_64-unknown-linux-gnu... no    
checking for config x86_64-unknown-linux-gnu... no    
checking for config unknown-linux-gnu... no    
checking for config unknown-linux-gnu... no    
checking for config x86_64-linux-gnu... no    
checking for config x86_64-linux-gnu... no    
checking for config x86_64-unknown... no    
checking for config linux-gnu... found    
checking for config ./config/site-specific/host-DUIP69765... no    
checking for gcc... mpicc    
checking whether the C compiler works... no    
configure: error: in '/opt/hdf5-1.8.20':    
configure: error: C compiler cannot create executables    
See 'config.log' for more details
    
por giulia 19.07.2018 / 17:15

0 respostas