[Pw_forum] Configure and compile pwscf 2.1 on Mandrake Linux 10.0
Eyvaz Isaev
eyvaz_isaev at yahoo.com
Fri Nov 19 14:20:02 CET 2004
Hi,
>g77: avrec.F90: linker input >file unused because
linking not >done
The message, more likely, means that there is no
compiled avrec.F90, i.e. there is no avrec.o file.
As far as I know, g77 is not able to compile the code.
And according your message you have no Fortran90
compiler, even g95.
I this case you can download Intel Fortran Compiler
from
http://www.intel.com/software/products/compilers/flin/index.htm
Download also the MKL libraries from the same website.
The comination IFC+MKL should work well on Intel based
computers.
Good lucks,
Eyvaz.
--- Pham Minh Dung <pmdung at gmail.com> wrote:
> Hi,
> I'm studying about PWscf and I downloaded the last
> version (2.1) from
> your site
>
(http://www.pwscf.org/downloads/PWcodes/codes/2.1/pw_src-2.1.tar.gz).
> When I download and run pwgui for linux and an
> another version for
> windows, these program work fine.
> Unfortunely, I can't configure and compile your
> program on my machine
> (PC Pentium 4 3.0GHz with MandrakeLinux 10.0, pakage
> gcc-g77-3.3.2
> installed by default).
> When I run "./configure", I got message 1 (file
> attached).
> I tried by insert this line before line 1585 in file
> configure: F77="g77"
> Then run "./configure" again and see message 2.
> I think that it could be configure OK and I call
> "make all". I got
> message 3 with some error.
> I tried to seach some solution on the internet and
> in your forum but I
> found nothing.
> Then I have to ask your help!
> Thank you very much
>
> --
> PHAM Minh Dung
> > checking build system type... i686-pc-linux-gnu
> checking architecture... linux32
> checking for mpif90... no
> checking for ifort... no
> checking for ifc... no
> checking for pgf90... no
> checking for g95... no
> checking for f90... no
> checking for Fortran 77 compiler default output file
> name... configure: error: Fortran 77 compiler cannot
> create executables
> See `config.log' for more details.> checking build
system type... i686-pc-linux-gnu
> checking architecture... linux32
> checking for mpif90... no
> checking for ifort... no
> checking for ifc... no
> checking for pgf90... no
> checking for g95... no
> checking for f90... no
> checking for Fortran 77 compiler default output file
> name... a.out
> checking whether the Fortran 77 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 Fortran 77
> compiler... yes
> checking whether g77 accepts -g... yes
> checking version of g77... g95 3.3.2
> checking for g77... g77
> checking whether we are using the GNU Fortran 77
> compiler... yes
> checking whether g77 accepts -g... yes
> 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 ANSI C... none
> needed
> checking version of gcc... gcc 3.3.2
> setting FFLAGS... -O3
> setting F90FLAGS... $(FFLAGS)
> setting CFLAGS... -O3 -fomit-frame-pointer
> checking how to run the C preprocessor... gcc -E
> setting CPP... cpp
> setting CPPFLAGS... -P -traditional
> setting LD... g77
> setting LDFLAGS...
> setting AR... ar
> setting ARFLAGS... ruv
> checking whether Fortran files must be
> preprocessed... yes
> checking for library containing zggev... no
> checking for library containing fftwnd... no
> checking for library containing dgemm... no
> checking for library containing dgemm... no
> checking for library containing zggev... no
> checking for library containing mpi_init... no
> setting LIBS...
> checking for library containing mpi_init... (cached)
> no
> checking for library containing zggev... (cached) no
> checking for library containing fftwnd... (cached)
> no
> setting DFLAGS... -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW
> setting FDFLAGS... $(DFLAGS)
> setting RANLIB... echo
> setting MYLIB... blas_and_lapack
> checking module dependencies... done
> configure: creating ./config.status
> config.status: creating make.sys
> config.status: creating make.rules
>
-----------------------------------------------------------------
> PWscf can take advantage of several optimized
> numerical libraries
> (essl, fftw, mkl...). This configure script attempts
> to find them,
> but may fail if they have been installed in
> non-standard locations.
>
> The following libraries have been found:
> LIBS=
>
> If any libraries are missing, you may specify a list
> of directories
> to search and retry, as follows:
> ./configure LIBDIRS="list of directories,
> separated by spaces"
>
> For more information, read the README.INSTALL file
> or the PWscf manuals.
>
-----------------------------------------------------------------
> ----------------------------------------------
> WARNING: parallel environment not detected
> this program will run in single-processor mode
> ----------------------------------------------> test
-d bin || mkdir bin
> ( cd Modules; make all )
> make[1]: Entering directory `/root/pwscf/Modules'
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH io_global.f90 io_global.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c io_global.F90 -o
> io_global.o
> g77: io_global.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH kind.f90 kind.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c kind.F90 -o kind.o
> g77: kind.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH parameters.f90 parameters.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c parameters.F90 -o
> parameters.o
> g77: parameters.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH atom.f90 atom.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c atom.F90 -o atom.o
> g77: atom.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH parallel_include.f90
> parallel_include.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c parallel_include.F90 -o
> parallel_include.o
> g77: parallel_include.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH mp.f90 mp.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c mp.F90 -o mp.o
> g77: mp.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH shmem_include.f90 shmem_include.F90
>
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c shmem_include.F90 -o
> shmem_include.o
> g77: shmem_include.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH mp_global.f90 mp_global.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c mp_global.F90 -o
> mp_global.o
> g77: mp_global.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH recvec.f90 recvec.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c recvec.F90 -o recvec.o
> g77: recvec.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH stick_base.f90 stick_base.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c stick_base.F90 -o
> stick_base.o
> g77: stick_base.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH berry_phase.f90 berry_phase.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c berry_phase.F90 -o
> berry_phase.o
> g77: berry_phase.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH basic_algebra_routines.f90
> basic_algebra_routines.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c basic_algebra_routines.F90
> -o basic_algebra_routines.o
> g77: basic_algebra_routines.F90: linker input file
> unused because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH constants.f90 constants.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c constants.F90 -o
> constants.o
> g77: constants.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH io_files.f90 io_files.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c io_files.F90 -o io_files.o
> g77: io_files.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH parser.f90 parser.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c parser.F90 -o parser.o
> g77: parser.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH bfgs_module.f90 bfgs_module.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c bfgs_module.F90 -o
> bfgs_module.o
> g77: bfgs_module.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH cell_base.f90 cell_base.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c cell_base.F90 -o
> cell_base.o
> g77: cell_base.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH check_stop.f90 check_stop.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c check_stop.F90 -o
> check_stop.o
> g77: check_stop.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH clocks.f90 clocks.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c clocks.F90 -o clocks.o
> g77: clocks.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH control_flags.f90 control_flags.F90
>
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c control_flags.F90 -o
> control_flags.o
> g77: control_flags.F90: linker input file unused
> because linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH cp_emass.f90 cp_emass.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c cp_emass.F90 -o cp_emass.o
> g77: cp_emass.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH fft_types.f90 fft_types.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -c fft_types.F90 -o
> fft_types.o
> g77: fft_types.F90: linker input file unused because
> linking not done
> cpp -P -traditional -D__LINUX -D__G95 -D__FFTW
> -D__USE_INTERNAL_FFTW -I. -I../include -I../Modules
> -I../PW -I../PH mp_buffers.f90 mp_buffers.F90
> g77 -O3 -I. -I../include -I../Modules -I../PW
> -I../PH
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the users
mailing list