forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: "D. R. Hamann" <drhamann@mat-simresearch.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] no parallel compilation of Abinit 5.2.4 in SGI/IRIX machine
- Date: Tue, 12 Dec 2006 13:28:17 -0500
Hi Jose,
Try dropping "enable_mpi=yes" in your (simple version) <machine>.ac file. Do set "with_mpi_prefix=...." After a lot of grief, I found what I take to be an error in the configure script, whereby it will find your mpi installation if "enable_mpi" is unset, but not if it is set.
Don Hamann
José C. Conesa wrote:
Hi,
I am trying to compile abinit-5.2.4 in a SGI machine (with multiple MIPS 12000 processors) running IRIX. I can obtain abinis OK, but not the parallel version; configure seems unable to identify that MPI is installed there (in config.log output all mpi_<anything> and with_mpi_<anything> variables, as well as enable_mpi, are empty). I guess that it does not find the needed files. In my system the files that I think are relevant for mpi use are located as follows:
/usr/bin/mpirun
/usr/include/mpi++.h
/usr/include/mpi.h
/usr/include/mpi_ext.h
/usr/include/mpi_extf.h
/usr/include/mpif_parameters.h
/usr/include/mpif.h
/usr/include/mpio.h
/usr/include/mpiof.h
/usr/lib64/libmpi++.so /usr/lib64/libmpi.so /usr/lib64/libmpi_ss.so
(the last three library entries are actually links to files in other locations)
For the <machine>.ac file I tried both a simple file, as the mips-mipspro_spinoza.ac file included in the distribution (the spinoza machine seems to be a similar one), and a quite elaborate one such as:
with_install_type="prefix"
prefix="${HOME}/abinit-5.2.4"
CPP="/lib/cpp"
CC="/usr/bin/cc"
CXX="/usr/bin/CC"
FC="/usr/bin/f90 -mips4 -r12000 "
F77="$FC"
enable_64bit-flags ="yes"
with_cppflags=" -P "
with_fc_optflags="-O3 -OPT:Olimit=10000"
with_cc_optflags=" -O3 "
with_cxx_optflags=" -O3 "
enable_mpi="yes"
enable_mpi_trace="yes"
with_mpi_prefix="/usr/lib64"
with_mpi_run="/usr/bin/mpirun"
with_mpi_cflags = " -mp "
with_mpi_cc_ldflags = " -lmpi "
with_mpi_cxxflags =" -mp "
with_mpi_cxx_ldflags = " -lmpi -lmpi++ "
with_mpi_fcflags = " -mp -auto_use mpi_interface "
with_mpi_fc_ldflags = " -lmpi "
but none of them allow to obtain subsequently abinip after running make. Replacing MPI_LDFLAGS by
MPI_FC_LDFLAGS (P. Blaise's message on Dec. 02) also does not help.
Can anyone advise?
Thanks,
--
Jose C. Conesa
Instituto de Catalisis y Petroleoquimica, CSIC
c/ Marie Curie 2, Campus de Cantoblanco, 28049 Madrid, Spain
Phone: (34)915854766 Fax:(34)915854766 e-mail:jcconesa@icp.csic.es
--
D. R. Hamann
Mat-Sim Research LLC | Deptartment of Physics
P.O. Box 742 | and Astronomy
Murray Hill, NJ 07974 | Rutgers University
phone: 908-370-8079 | 732-445-4381
email: drhamann@mat-simresearch.com
- no parallel compilation of Abinit 5.2.4 in SGI/IRIX machine, José C. Conesa, 12/12/2006
- Re: [abinit-forum] no parallel compilation of Abinit 5.2.4 in SGI/IRIX machine, D. R. Hamann, 12/12/2006
Archive powered by MHonArc 2.6.16.