installation problem

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
sana
Posts: 17
Joined: Sun May 23, 2010 8:28 pm

installation problem

Post by sana » Wed Sep 01, 2010 8:54 pm

dear ,
i want to install abinit on suse lynux but when i try to install it i got the following msg .
mansoorhasan@mansoor:~/Desktop/abinit/abinit-6.2.2> ./configure

Code: Select all

 ==============================================================================
 === Overall startup                                                        ===
 ==============================================================================

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a thread-safe mkdir -p... /bin/mkdir -p
configure: not loading options (no config file available)

 ==============================================================================
 === Build-system information                                               ===
 ==============================================================================

configure: ABINIT version 6.2.2
configure: M4 010413 - Autoconf 026300 - Automake 011100 - Libtool 020204
configure: reporting user interface changes:
configure:  * new option --enable-bse-unpacked is available
configure:  * new option --enable-dft is available
configure:  * --enable-etsf-io-test removed
configure:  * --enable-fftw renamed --enable-fft
configure:  * --enable-fftw-threads removed
configure:  * --enable-cuda renamed --enable-gpu
configure:  * new option --enable-gw-cutoff is available
configure:  * new option --enable-gw-optimal is available
configure:  * new option --enable-gw-wrapper is available
configure:  * new option --enable-linalg is available
configure:  * new option --enable-maintainer-checks is available
configure:  * --enable-gsl renamed --enable-math
configure:  * new option --enable-smp is available
configure:  * --enable-nightly renamed --enable-test-timeout
configure:  * --enable-papi renamed --enable-timer
configure:  * new option --enable-trio is available
configure:  * new option --enable-vdwxc is available
configure:  * --with-64bit-flags removed
configure:  * --with-ar-dbgflags removed
configure:  * --with-ar-optflags removed
configure:  * --with-cc-dbgflags removed
configure:  * --with-cc-ld-dbgflags removed
configure:  * --with-cc-ld-dbglibs removed
configure:  * --with-cc-ld-optflags removed
configure:  * --with-cc-ld-optlibs removed
configure:  * --with-cc-optflags removed
configure:  * --with-cpp-dbgflags removed
configure:  * --with-cpp-optflags removed
configure:  * --with-cxx-dbgflags removed
configure:  * --with-cxx-ld-dbgflags removed
configure:  * --with-cxx-ld-dbglibs removed
configure:  * --with-cxx-ld-optflags removed
configure:  * --with-cxx-ld-optlibs removed
configure:  * --with-cxx-optflags removed
configure:  * new option --with-dft-flavor is available
configure:  * new option --with-dft-includes is available
configure:  * new option --with-dft-libs is available
configure:  * --with-etsf-io-test-includes removed
configure:  * --with-etsf-io-test-libs removed
configure:  * --with-fc-dbgflags removed
configure:  * --with-fc-ld-dbgflags removed
configure:  * --with-fc-ld-dbglibs removed
configure:  * --with-fc-ld-optflags removed
configure:  * --with-fc-ld-optlibs removed
configure:  * --with-fc-optflags removed
configure:  * new option --with-fft-flavor is available
configure:  * --with-fftw-includes renamed --with-fft-includes
configure:  * --with-fftw-libs renamed --with-fft-libs
configure:  * new option --with-gpu-cflags is available
configure:  * new option --with-gpu-cppflags is available
configure:  * new option --with-gpu-flavor is available
configure:  * --with-cuda-includes renamed --with-gpu-includes
configure:  * new option --with-gpu-ldflags is available
configure:  * --with-cuda-libs renamed --with-gpu-libs
configure:  * new option --with-gpu-prefix is available
configure:  * --with-linalg-type renamed --with-linalg-flavor
configure:  * new option --with-math-flavor is available
configure:  * --with-gsl-includes renamed --with-math-includes
configure:  * --with-gsl-libs renamed --with-math-libs
configure:  * --with-mpi-runner removed
configure:  * --with-scalapack-includes removed
configure:  * --with-scalapack-libs removed
configure:  * --with-timeout renamed --with-test-timeout
configure:  * new option --with-timer-flavor is available
configure:  * --with-papi-includes renamed --with-timer-includes
configure:  * --with-papi-libs renamed --with-timer-libs
configure:  * new option --with-trio-flavor is available
configure:  * new option --with-trio-includes is available
configure:  * new option --with-trio-libs is available

 ==============================================================================
 === Option consistency checking                                            ===
 ==============================================================================

configure: checking consistency of external prerequisite options
configure:  |---> all OK
configure:
configure: checking consistency of plug-in options
configure:  |---> all OK
configure:
configure: checking consistency of experimental options
configure:  |---> all OK
configure:
configure: parsing command-line options

 ==============================================================================
 === Connector startup                                                      ===
 ==============================================================================

configure: MPI support disabled from command-line
configure: GPU support disabled from command-line

 ==============================================================================
 === Utilities                                                              ===
 ==============================================================================

checking for sh... /bin/sh
checking for mv... /bin/mv
checking for perl... /usr/bin/perl
checking for rm... /bin/rm
checking for dvips... dvips
checking for dvipdf... dvipdf
checking for latex... latex
checking for markdown... no
checking for md5sum... md5sum
checking for patch... patch
checking for ps2pdf... ps2pdf
checking for tar... tar
checking for wget... wget
configure: using internal version of MarkDown

 ==============================================================================
 === C support                                                              ===
 ==============================================================================

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking which type of compiler we have... gnu 4.1
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 whether byte ordering is bigendian... no

 ==============================================================================
 === C++ support                                                            ===
 ==============================================================================

checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking which type of C++ compiler we have... gnu 4.1

 ==============================================================================
 === Fortran support                                                        ===
 ==============================================================================

checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking whether we are using the GNU Fortran compiler... no
checking whether  accepts -g... no
configure: error: no Fortran compiler available
mansoorhasan@mansoor:~/Desktop/abinit/abinit-6.2.2>


could you plz help me how to solve this problem.

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: installation problem

Post by Alain_Jacques » Thu Sep 02, 2010 3:06 pm

Hello Sana,

configure: error: no Fortran compiler available


configure always tells you the truth ;)

Many linux distros split the gcc compiler suite into several packages and gfortran looks to be absent from your system. Furthermore - as mentioned earlier in the output - you probably have a rather outdated Suse installation with version 4.1 compilers - not suitable any more to compile Abinit 6 because they are very buggy (it's even written in the documentation).
I would suggest either to install recent Intel C and Fortran compilers - if you're eligible to use them - or build a new gcc/gfortran toolchain - version 4.4.4 from sources available at gcc.gnu.org. Have the new compilers location located early in your shell PATH - check that they are invoked before the original 4.1 version with a "gfortran -v" and "gcc -v" (or icc/ifort ...)
And if you want to do a test drive before all this compilation work, you can always try the ready-to-use 6.0.4 binaries available at http://www.etsf.eu/resources/software/e ... repository

Kind regards,

Alain

sana
Posts: 17
Joined: Sun May 23, 2010 8:28 pm

Re: installation problem

Post by sana » Sat Sep 04, 2010 11:10 am

dear when i try to install fortran compiler then i got the following msg.
Unresolved dependencies:
Installing gcc4.2-gfortran-4.2.3-6mnb2.i586[Local packages]
There are no installable providers of gcc4.2 == 4.2.3-6mnb2 for gcc4.2-gfortran-4.2.3-6mnb2.i586[Local packages]
could you please help me how to resolve this problem

Thierry DOLIDON
Posts: 1
Joined: Tue Sep 13, 2011 5:52 pm

Re: installation problem

Post by Thierry DOLIDON » Tue Sep 13, 2011 5:59 pm

Another reason for compiler to seem absent is that you forgot configuring the $PATH variable of $HOME/.bashrc or $HOME/.cshrc
Consider appending such lines to $HOME/.bashrc
tail -3 $HOME/.bashrc

Code: Select all

source /opt/intel/bin/compilervars.sh intel64     # à la demande des compilateurs C et Fortran
. /opt/intel/bin/ifortvars.sh         intel64     # à la demande d'ABINIT /prog-abinit/abinit-6.8.1/configure
. /opt/intel/bin/iccvars.sh           intel64     # à la demande d'ABINIT /prog-abinit/abinit-6.8.1/configure

Dr. Ashish Pathak
Posts: 13
Joined: Wed Jun 23, 2010 12:50 pm

Re: installation problem

Post by Dr. Ashish Pathak » Wed Sep 14, 2011 12:29 pm

Hello sana,


configure: error: no Fortran compiler available

sometimes in linux fortran compiler is not installed. as you have mentioned you are using suse go to its package or CD and install fortran from it. and the supporting files you are mentioning are also available in the suse package.



with best wishes

Ashish

Locked