On Tue, May 18, 2010 at 2:10 AM, Sangita Kachhap <sangita.imtech.res.in>wrote:
>
> Thank you for reply according to you now i am configuring openmpi with:
>
> ./configure F77=ifort FC=ifort CFLAGS=-m64 CPPFLAGS=-m64 CXXFLAGS=-m64
> CXXCPPFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 --prefix=/home/sangita/openmpi64
> --enable-mpi-f77 --enable-mpi-f90 --enable-mpi-cxx --enable-mpi-CC
> --enable-mpi-run --enable-mpi-exec --with-wrapper-cflags=-m64
> --with-warapper-cppflags=-m64 --with-wrapper-cxxflags=-m64
> --with-wrapper-cxxcppflags=-m64 --with-wrapper-fflags=-m64
> --with-wrapper-fcflags=-m64
>
> It has configured openmpi for mpi-f77 but showing error for mpi-f90:
>
mpif77 is sufficient for amber, so mpif90 is unnecessary (though you'll have
to change mpif90 to mpif77 in the config.h file after it's been created by
the configure script).
For me, though, openmpi configured with just the following:
./configure FC=ifort F77=ifort F90=ifort CC=icc CXX=icpc
and everything else was its default.
All the best,
Jason
> ifort -I../../../include -I../../../include -I. -m64 -c -o mpi.o mpi.f90
> mpi.f90(21): error #7013: This module file was not generated by any release
> of
> this compiler. [MPI_KINDS]
> use mpi_kinds
> ------^
> mpi-f90-interfaces.h(18): error #6683: A kind type parameter must be a
> compile-time constant. [MPI_INTEGER1_KIND]
> logical(kind=MPI_INTEGER1_KIND), intent(in) :: origin_addr
> ---------------^
>
>
>
>
>
>
>
>
>
> > On May 17, 2010, at 11:03 PM, Sangita Kachhap wrote:
> >
> >>
> >> Hello,
> >>
> >> I am compiling amber10.I have compiled it serial successfully using fort
> >> compiler but when I am compiling parallel using openmpi and fort i am
> getting
> >> following error.
> >>
> >>
> >> make[1]: Entering directory `/home/sangita/amber10/src/sander'
> >> ./checkparconf
> >> cpp -traditional -I/home/sangita/openmpi64/include -P -DBINTRAJ -DMPI
> >> constants.f > _constants.f
> >> /home/sangita/openmpi64/bin/mpif90 -c -w95 -vec_report0 -mp1 -ip -O3
> -axWP
> >> -FR
> >> -o constants.o _constants.f
> >>
> >
> > Another thing I am wondering about is whether you configured openmpi with
> the
> > correct environmental variables, such as:
> > F77=ifort FC=ifort ./configure
> >
> >> FORTRAN: unrecognized option '-w95'
> >> FORTRAN: unrecognized option '-vex_report0'
> >> f951: error: unrecognized command line option "-mp1"
> >> f951: error: unrecognized command line option "-ax WP"
> >> make[1]: *** [constants.o] Error 1
> >> make[1]: Leaving directory `/home/sangria/amber10/SEC/sander'
> >> make: *** [parallel] Error 2
> >>
> >> I am not getting where is the problem so can anybody please help me.
> >>
> >>
> >> With regards
> >>
> >> Sangita Kachhap
> >> JRF
> >> BIC,IMTECH
> >> CHANDIGARH
> >>
> >> _______________________________________________
> >> AMBER mailing list
> >> AMBER.ambermd.org
> >> http://lists.ambermd.org/mailman/listinfo/amber
> >
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
> >
> >
>
>
> Sangita Kachhap
> JRF
> BIC,IMTECH
> CHANDIGARH
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue May 18 2010 - 05:30:04 PDT