[Sax-project-users] A Install problem
onionys
onionys at gmail.com
Tue Jul 14 12:15:51 CEST 2009
Dear Giovanni:
As the suggestion, after ./configure
I edited the make.sys file:
-----
changing "-r8" into "-fdefault-real-8"
add to the DFLAGS in the make.sys "-D__INTEL"
-----
make allmake
cd sax/src
make all
Then the compilation has been completed.
(but it usually showsed the messages I don't understand:
make[2]: Nothing to be done for `loclib_only'.)
And very thanks your help.
Regards
=============
My computer and compiler setup:
CPU: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
OS: Linux Debian 2.6.26-1-amd64 SMP x86_64 GNU/Linux
MPI: MPICH2
fortran complier: gfortran-4.3
gcc complier: gcc-4.3
The BLAS ALTAS LAPACK are installed
=============
Song Yang
Ph.D student
Department of Photonics and
Institute of Electro-Optical Engineering
National Chiao Tung University
1001 Tahsueh Rd., Hsinchu 30050, Taiwan
Tel.: +886-3-5712121 ext.56310
Fax: +886-3-5716631
e-mail: onionys at gmail.com
2009/7/14 Giovanni Bussi <giovanni.bussi at gmail.com>
> It seems that the ptk library is not properly compiled.
>
> As a quick fix try to add to the DFLAGS in the make.sys "-D__INTEL"
>
> I know that you are using gfortran and not intel, but presently there
> is no preset for gfortran in the ptk/include/ptk_config.h file, and I
> guess that gfortran *could* be compatible with the intel preset.
>
> Try and let me know!
>
> Giovanni
>
> PS please use "reply-to-all" so that the email is also sent to the
> sax-project-users list, and other people can see it
>
> On Tue, Jul 14, 2009 at 11:31 AM, onionys<onionys at gmail.com> wrote:
> > Dear Giovanni:
> >
> > After I edited the make.sys file, chang "-r8" into "-fdefault-real-8"
> >
> > To complie the ffti package has been ok.
> >
> > But to complie the ptk package still encounter the same problem, and
> shows
> > the message as follow:
> >
> > ( It seems that the complier can't find the subroutine "
> > ptk_bcast(buffer,root,comm,ierr) ",
> >
> > which is mentioned in the README file in the directory /ptk )
> >
> > ==========================================================
> > mpif90 -O3 -fdefault-real-8 -x f95-cpp-input -D__LINUX64 -D__FFTW -D__MPI
> > -D__PARA -I. -I../../sax/include -I../../lasi/src/ -I../../lasi/include
> > -I../../ffti/src/ -I../../ffti/include -I../../lapack/src/
> > -I../../lapack/include -I../../ptk/src/ -I../../ptk/include
> > -I../../numrec/src/ -I../../numrec/include -I../../iotk/src/
> > -I../../iotk/include -I../../fftw/src/ -I../../fftw/include
> > -I../../blas/src/ -I../../blas/include -c bse_options_module.f90
> > bse_options_module.f90:158.44:
> >
> > call ptk_bcast(options%nbandmin,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:159.44:
> >
> > call ptk_bcast(options%nbandmax,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:160.57:
> >
> > call ptk_bcast(options%cutoff_polarizability,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:161.47:
> >
> > call ptk_bcast(options%cutoff_fock,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:165.48:
> >
> > call ptk_bcast(options%energy_shift,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:166.44:
> >
> > call ptk_bcast(options%bse_emin,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:167.44:
> >
> > call ptk_bcast(options%bse_emax,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:168.44:
> >
> > call ptk_bcast(options%bse_spin,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:169.54:
> >
> > call ptk_bcast(options%convert_from_pwscf,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > bse_options_module.f90:172.43:
> >
> > call ptk_bcast(options%nelec,root,comm)
> > 1
> > Error: There is no specific subroutine for the generic 'ptk_bcast' at (1)
> > make[1]: *** [bse_options_module.o] Error 1
> > make[1]: Leaving directory `/cluster/node00/sax-1.0.0/sax/src'
> > make: *** [all] Error 2
> > ==========================================================
> >
> >
> > Regards
> >
> > ======
> > Song Yang
> > Ph.D student
> > Department of Photonics and
> > Institute of Electro-Optical Engineering
> > National Chiao Tung University
> > 1001 Tahsueh Rd., Hsinchu 30050, Taiwan
> > Tel.: +886-3-5712121 ext.56310
> > Fax: +886-3-5716631
> > e-mail: onionys at gmail.com
> >
> >
> >
> > 2009/7/14 Giovanni Bussi <giovanni.bussi at gmail.com>
> >>
> >> Dear onionys,
> >>
> >> it seems that the compiler is complaining:
> >> gfortran: unrecognized option '-r8'
> >>
> >> First fix this, then retry. You should edit the make.sys file,
> >> changing "-r8" into "-fdefault-real-8"
> >>
> >> Giovanni
> >>
> >> On Tue, Jul 14, 2009 at 4:35 AM, onionys<onionys at gmail.com> wrote:
> >> > Dear developers:
> >> >
> >> > I have download the sax-1.0.0.tar.gz, Bug_fixed_1.0.0.1.tar.gz,
> and
> >> > workaround_1.0.0.2.tar.gz to my computer.
> >> >
> >> > And I meet some problem while I am installing it into my system:
> >> >
> >> > ================================
> >> > while I install SAX
> >> > ----
> >> > ./configure
> >> >
> >> > make allmake
> >> >
> >> > cd sax/src
> >> >
> >> > make all
> >> > ----
> >> > Then I encountered some problem.
> >> >
> >> > it showed the message:
> >> > ---------------------------------------------------
> >> > mpif90 -O3 -r8 -x f95-cpp-input -D__LINUX64 -D__FFTW -D__MPI -D__PARA
> >> > -I.
> >> > -I../../ffti/include -I../../fftw/src/ -I../../fftw/include
> >> > -I../../blas/src/ -I../../blas/include -c ffti_external.f90
> >> > gfortran: unrecognized option '-r8'
> >> > ffti_external.f90:615.24:
> >> >
> >> > call ffti_singleton3d(f,nr1,nr2,nr3,idir)
> >> > 1
> >> > Error: Type mismatch in argument 'f' at (1); passed COMPLEX(8) to
> >> > COMPLEX(4)
> >> > make[1]: *** [ffti_external.o] Error 1
> >> > make[1]: Leaving directory `/cluster/node00/sax-1.0.0/ffti/src'
> >> > make: *** [all] Error 2
> >> > ---------------------------------------------------
> >> >
> >> > After modified the file "ffti_singleton.f90" at line 15
> >> >
> >> > complex, intent(inout) :: f(:)
> >> >
> >> > to
> >> >
> >> > complex(kind=8), intent(inout) :: f(:)
> >> >
> >> > it seemed to pass the complie.
> >> >
> >> > But tehn It showed the next message as:
> >> > ---------------------------------------------------
> >> > mpif90 -O3 -r8 -x f95-cpp-input -D__LINUX64 -D__FFTW -D__MPI -D__PARA
> >> > -I.
> >> > -I../../ptk/include -c test.f90
> >> > gfortran: unrecognized option '-r8'
> >> > test.f90:14.44:
> >> >
> >> > call ptk_bcast(i,root=0,comm=ptk_comm_world)
> >> > 1
> >> > Error: There is no specific subroutine for the generic 'ptk_bcast' at
> >> > (1)
> >> > make[1]: *** [test.o] Error 1
> >> > make[1]: Leaving directory `/cluster/node00/sax-1.0.0/ptk/src'
> >> > make: *** [all] Error 2
> >> > ---------------------------------------------------
> >> >
> >> > I am sorry that I don't know how to fix this problem...
> >> >
> >> > And this is the information of my computer system:
> >> > (The culster fabricated by two same computers.)
> >> >
> >> > CPU: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
> >> > OS: Linux Debian 2.6.26-1-amd64 SMP x86_64 GNU/Linux
> >> > MPI: MPICH2
> >> > fortran complier: gfortran-4.3
> >> > gcc complier: gcc-4.3
> >> > The BLAS ALTAS LAPACK are installed
> >> >
> >> > Regards.
> >> >
> >> > ======
> >> > Song Yang
> >> > Ph.D student
> >> > Department of Photonics and
> >> > Institute of Electro-Optical Engineering
> >> > National Chiao Tung University
> >> > 1001 Tahsueh Rd., Hsinchu 30050, Taiwan
> >> > Tel.: +886-3-5712121 ext.56310
> >> > Fax: +886-3-5716631
> >> > e-mail: onionys at gmail.com
> >> >
> >> > _______________________________________________
> >> > Sax-project-users mailing list
> >> > Sax-project-users at qe-forge.org
> >> > http://qe-forge.org/mailman/listinfo/sax-project-users
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qe-forge.org/pipermail/sax-project-users/attachments/20090714/d7d5fdfd/attachment.html
More information about the Sax-project-users
mailing list