Page 1 of 1

About the compilation of V6.0.4

Posted: Mon Jul 05, 2010 5:46 pm
by haiou
Hi,
I get a problem when making compilation of abinit V6.0.4 on Xeon with Intel 10.1.
./configure FC=mpif90 CC=mpicc --enable-mpi=yes, and it works well. When I make it, the following error occurs,
Fortcom: Error: Xallgather_mpi.F90: This name does not have a type, and must have an explicit type
[MPI_COMM_NULL]

But I compile abinit V5.8.4 successfully with the above method on the same machine. Can anyone tell me why? Thanks a lot!

Re: About the compilation of V6.0.4

Posted: Wed Jul 07, 2010 1:57 pm
by jbeuken
Hi,

I'm just tried with 6.0.4 on Xeon L5420 with intel 10.1 and openmpi 1.3.1

./configure --with-config-file=host.ac

in host.ac :

enable_optim="yes"
with_fc_optflags="-O2"
enable_mpi="yes"
with_mpi_prefix="/cvos/shared/apps/openmpi/intel/64/1.3.1/"
enable_gw_dpc="yes"
enable_nightly="yes"
enable_test_abirules="no"

make works...

regards,

jmb

Re: About the compilation of V6.0.4

Posted: Fri Jul 09, 2010 6:30 pm
by haiou
Hi, jbeuken
I have tried your method but i didn't work. Thank you all the same.

Re: About the compilation of V6.0.4

Posted: Fri Jul 23, 2010 3:18 pm
by pouillon
You can try as well to pass the --with-mpi-level=1 option to configure.