[Sax-project-users] A Install problem

Giovanni Bussi giovanni.bussi at gmail.com
Tue Jul 14 10:39:43 CEST 2009


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
>
>


More information about the Sax-project-users mailing list