I am trying to compile Abinit 6.4.3 on a SGI Altix platform. The command line I used is as follows:
Code: Select all
../configure --enable-mpi -enable-scalapack FC=ifort
I took care of specifying the fortran compiler because without that, it uses gfortran, which is not the best thing to do, I think.
The configure script went fine, except one warning:
configure: WARNING: MPI support is broken!
and the compilation actually failed with lots of errors complaining about MPI...
Without specifying the fortran compiler, it uses gfortran with the same warning. Plus, there are additional warnings during the compilation and the compilation also fails. For instance:
drotmg.f:138.15:
GO TO IGO(120,150,180,210)
1
Warning: Deleted feature: Assigned GOTO statement at (1)
drotmg.f:144.72:
ASSIGN 120 TO IGO
1
Warning: Deleted feature: ASSIGN statement at (1)
Finally I changed a bit my command line according to what I've read on the forum. I explicitely put the path to the MPI library:
Code: Select all
../configure --enable-mpi="yes" --with-mpi-prefix="/opt/sgi/mpt/mpt-2.02/" --enable-scalapack --disable-all-plugins
But now I got the following error message:
configure: error: use --with-mpi-prefix or set FC, not both
Which is strange since I did not set FC.
Could you please help me with that?
Thank you
Boris