Problem with vasp4.6.28 MPI

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Tyx

Problem with vasp4.6.28 MPI

#1 Post by Tyx » Wed Oct 18, 2006 9:24 am

When I try to run the files which worked with the previous
version, i get this:
ERROR: 0032-136 Invalid communicator (1140850688) in MPI_Comm_rank, task 1
ERROR: 0032-136 Invalid communicator (1140850688) in MPI_Comm_rank, task 4
ERROR: 0032-136 Invalid communicator (1140850688) in MPI_Comm_rank, task 9
etc.

And no output. Compiling it on my Ubuntu Linux dual core
laptop, the same error looks like:
0 - <NO ERROR MESSAGE> : Could not convert index 1140850688 into a pointer. The index may be an incorrect argument.
Aborting program !

Any help would be greatly appreciated...
Thanks
Last edited by Tyx on Wed Oct 18, 2006 9:24 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Problem with vasp4.6.28 MPI

#2 Post by admin » Thu Oct 19, 2006 10:16 am

it looks as if the integer numbers for the MPI communication have a wrong bytelength. Please check if the size of integer variables in vasp (as defined in the Makefile) matches the size of the integer varaibles in your MPI-installation
Last edited by admin on Thu Oct 19, 2006 10:16 am, edited 1 time in total.

Tyx

Problem with vasp4.6.28 MPI

#3 Post by Tyx » Fri Oct 20, 2006 2:43 pm

I solved it. I had to copy mpif.h from my MPICH installation to the vasp directory, even though it was there already (it was a different version). Recompiled and now it works great.
Thanks
Last edited by Tyx on Fri Oct 20, 2006 2:43 pm, edited 1 time in total.

Post Reply