More specifically -- are you calling any MPI function before calling MPI_Init? 
(particularly from Fortran)

I.e., you may be seeing a side-effect of calling a fortran MPI function before 
calling MPI_Init.


On May 13, 2012, at 9:53 AM, Ralph Castain wrote:

> I believe the error message is pretty clear, actually - your program needs to 
> call MPI_INIT -before- it calls any MPI function.
> 
> On May 13, 2012, at 6:37 AM, Dongshan Wei wrote:
> 
>> Hi All,
>> 
>> I encountered a question about openmpi running. I have compiled
>> successfully a paralle VASP program with openmpi 1.4.2. But when I run
>> the compiled program with mpirun, I got the following information at
>> very beginning:
>> 
>> *** The MPI_Comm_f2c() function was called before MPI_INIT was invoked.
>> *** This is disallowed by the MPI standard.
>> *** Your MPI job will now abort.
>> 
>> I believe this error will not related to the VASP program, but only to
>> openmpi. But I don't how to handle. Does anybody give some solution?
>> 
>> Thanks in advance!
>> 
>> Dongshan
>> 
>> -- 
>> ---------------------------------------------------------
>> Dongshan Wei, Dr.
>> Chongqing Institute of Green and Intelligent Technology, CAS
>> 85 Jinyu Ave, Yubei Area, Chongqing 401120, China
>> Email: ds...@cigit.ac.cn
>> Phone: (+86) 23-63063762
>> ---------------------------------------------------------
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to