[gmx-users] gfortran and gromacs-3.3.1

David van der Spoel spoel at xray.bmc.uu.se
Wed Aug 2 16:00:50 CEST 2006


Jeffrey Gardner wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi folks,
> I'm having issues with compiling gromacs-3.3 using the gfortran that
> comes with gcc-4.1.1.
> It bombs out rather quickly with the following (on amd64) :

I don't know an answer to your problem, but gromacs will *not* get 
faster by using fortran (since the assembly loops are twice as fast).


> 
> **********************************************************************
>>>>>>> Gromacs nonbonded kernel generator (-h for help)
>>>>>>> Generating single precision functions in Fortran77.
>>>>>>> Using Gromacs software version of 1/sqrt(x).
> Progress: 100%
> make  all-am
> make[6]: Entering directory
> `/var/tmp/portage/gromacs-3.3/work/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel'
> if /bin/sh ../../../../libtool --tag=CC --mode=compile mpicc
> - -DHAVE_CONFIG_H -I. -I. -I../../../../src  -I../../../../include
> - -DGMXLIBDIR=\"/usr/share/gromacs-3.3/top\"   -march=opteron
> - -fomit-frame-pointer -O3 -pipe -MT nb_kernel.lo -MD -MP -MF
> ".deps/nb_kernel.Tpo" -c -o nb_kernel.lo nb_kernel.c; \
> then mv -f ".deps/nb_kernel.Tpo" ".deps/nb_kernel.Plo"; else rm -f
> ".deps/nb_kernel.Tpo"; exit 1; fi
> /bin/sh ../../../../libtool --tag=F77 --mode=compile
> x86_64-pc-linux-gnu-gfortran  -O3 -ffast-math -fomit-frame-pointer
> - -finline-functions -funroll-all-loops -Wall -Wno-unused -c -o
> nb_kernel010_f.lo nb_kernel010_f.f
> /bin/sh ../../../../libtool --tag=F77 --mode=compile
> x86_64-pc-linux-gnu-gfortran  -O3 -ffast-math -fomit-frame-pointer
> - -finline-functions -funroll-all-loops -Wall -Wno-unused -c -o
> nb_kernel020_f.lo nb_kernel020_f.f
>  x86_64-pc-linux-gnu-gfortran -O3 -ffast-math -fomit-frame-pointer
> - -finline-functions -funroll-all-loops -Wall -Wno-unused -c
> nb_kernel010_f.f -o nb_kernel010_f.o
>  x86_64-pc-linux-gnu-gfortran -O3 -ffast-math -fomit-frame-pointer
> - -finline-functions -funroll-all-loops -Wall -Wno-unused -c
> nb_kernel020_f.f -o nb_kernel020_f.o
>  In file nb_kernel020_f.f:129
> 
>           iexp             = rshift(and(bval,expmask),expshift)
>                             1
> Error: Function 'rshift' at (1) has no IMPLICIT type
>  In file nb_kernel020_f.f:131
> 
>      &   rshift(and(bval,or(fractmask,explsb)),fractshift)
>         1
> Error: Function 'rshift' at (1) has no IMPLICIT type
>  In file nb_kernel020_f.f:285
> 
>           iexp             = rshift(and(bval,expmask),expshift)
>                             1
> Error: Function 'rshift' at (1) has no IMPLICIT type
>  In file nb_kernel020_f.f:287
> 
>      &   rshift(and(bval,or(fractmask,explsb)),fractshift)
>         1
> Error: Function 'rshift' at (1) has no IMPLICIT type
> make[6]: *** [nb_kernel020_f.lo] Error 1
> make[6]: *** Waiting for unfinished jobs....
>  mpicc -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../include
> - -DGMXLIBDIR=\"/usr/share/gromacs-3.3/top\" -march=opteron
> - -fomit-frame-pointer -O3 -pipe -MT nb_kernel.lo -MD -MP -MF
> .deps/nb_kernel.Tpo -c nb_kernel.c -o nb_kernel.o
> make[6]: Leaving directory
> `/var/tmp/portage/gromacs-3.3/work/gromacs-3.3/src/gmxlib/nonbonded/nb_kernel'
> ......
> 
> !!! ERROR: sci-chemistry/gromacs-3.3 failed.
> *********************************************************************
> 
> Searching the "no IMPLICIT type" error produced a lot of patches
> submitted to gcc early in 2005. Anybody have any ideas where to look, or
> should I just continue to use g77?
> 
> Thanks,
> Jeff Gardner ( je_fro )
> - --
> Jeffrey Gardner
> Department of Biology and Biochemistry
> University of Houston
> Public PGP Key ID: 4A5D8F23
> hkp://pgpkeys.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFE0JvniR2KxEpdjyMRAux1AJ41+6d1VU0gk0Jw5kBoWqJnnMDAkgCeLvpq
> ymZd9XWtO2XOuS0G+0oh5DI=
> =J3mN
> -----END PGP SIGNATURE-----
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php


-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the gromacs.org_gmx-users mailing list