X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b73466ada27682d1729f394549479da83ef4a99..5cc4d9c9201ee45e999635c1d3ae41ba6a844d56:/include/smpi/mpif.h.in diff --git a/include/smpi/mpif.h.in b/include/smpi/mpif.h.in index c6a96a2857..fbd61612c5 100644 --- a/include/smpi/mpif.h.in +++ b/include/smpi/mpif.h.in @@ -1,5 +1,5 @@ ! -*- fortran -*- -! Copyright (c) 2010, 2012-2013. The SimGrid Team. +! Copyright (c) 2010, 2012-2014. The SimGrid Team. ! All rights reserved. ! This program is free software; you can redistribute it and/or modify it @@ -18,7 +18,7 @@ integer MPI_MAX_DATAREP_STRIN, MPI_MAX_INFO_KEY integer MPI_MAX_INFO_VAL, MPI_MAX_OBJECT_NAME, MPI_MAX_PORT_NAME integer MPI_ANY_SOURCE, MPI_PROC_NULL, MPI_ANY_TAG, MPI_UNDEFINED - integer MPI_IN_PLACE, MPI_BOTTOM, MPI_TAG_UB, MPI_TAG_LB + integer MPI_TAG_UB, MPI_TAG_LB integer MPI_SOURCE, MPI_TAG, MPI_ERROR integer MPI_VERSION, MPI_SUBVERSION parameter(MPI_MAX_PROCESSOR_NAME=100) @@ -32,8 +32,6 @@ parameter(MPI_PROC_NULL=-666) parameter(MPI_ANY_TAG=-444) parameter(MPI_UNDEFINED=-333) - parameter(MPI_IN_PLACE=-222) - parameter(MPI_BOTTOM=-111) parameter(MPI_SOURCE=1) parameter(MPI_TAG=2) parameter(MPI_ERROR=3) @@ -41,6 +39,13 @@ parameter(MPI_TAG_LB=0) parameter(MPI_VERSION=1) parameter(MPI_SUBVERSION=1) + integer MPI_MODE_NOSTORE, MPI_MODE_NOPUT, MPI_MODE_NOPRECEDE + integer MPI_MODE_NOSUCCEED, MPI_MODE_NOCHECK + parameter(MPI_MODE_NOSTORE=1) + parameter(MPI_MODE_NOPUT=2) + parameter(MPI_MODE_NOPRECEDE=4) + parameter(MPI_MODE_NOSUCCEED=8) + parameter(MPI_MODE_NOCHECK=16) integer MPI_SUCCESS, MPI_ERR_COMM, MPI_ERR_ARG, MPI_ERR_TYPE integer MPI_ERR_REQUEST, MPI_ERR_INTERN, MPI_ERR_COUNT @@ -64,7 +69,7 @@ parameter(MPI_ERR_OTHER=12) parameter(MPI_ERR_UNKNOWN=13) parameter(MPI_LASTUSEDCODE=0) - parameter(MPI_ERR_LASTCODE=0) + parameter(MPI_ERR_LASTCODE=74) parameter(MPI_IDENT=0) parameter(MPI_SIMILAR=1) parameter(MPI_UNEQUAL=2) @@ -86,7 +91,7 @@ parameter(MPI_IO=0) integer MPI_ROOT, MPI_INFO_NULL,MPI_COMM_TYPE_SHARED parameter(MPI_ROOT=0) - parameter(MPI_INFO_NULL=-1) + parameter(MPI_INFO_NULL=0) parameter(MPI_COMM_TYPE_SHARED=1) ! These should be ordered as in smpi_f77.c @@ -109,12 +114,14 @@ parameter(MPI_ERRHANDLER_NULL=2) ! This should be equal to the number of int fields in MPI_Status - integer MPI_STATUS_SIZE, MPI_STATUSES_IGNORE + integer MPI_STATUS_SIZE parameter(MPI_STATUS_SIZE=4) - parameter(MPI_STATUSES_IGNORE=-1) - integer MPI_STATUS_IGNORE - parameter(MPI_STATUS_IGNORE=-1) +! These should be ordered as in smpi_f77.c + integer MPI_IN_PLACE, MPI_BOTTOM + integer MPI_STATUS_IGNORE, MPI_STATUSES_IGNORE + common /smpi/ MPI_IN_PLACE, MPI_BOTTOM + common /smpi/ MPI_STATUS_IGNORE, MPI_STATUSES_IGNORE integer MPI_REQUEST_NULL parameter(MPI_REQUEST_NULL=-1) @@ -122,7 +129,6 @@ integer MPI_INTEGER_KIND parameter(MPI_INTEGER_KIND=4) -! These should be ordered as in smpi_f77.c integer MPI_DATATYPE_NULL, MPI_BYTE, MPI_CHARACTER, MPI_LOGICAL integer MPI_INTEGER, MPI_INTEGER1, MPI_INTEGER2, MPI_INTEGER4 integer MPI_INTEGER8, MPI_REAL, MPI_REAL4, MPI_REAL8 @@ -131,6 +137,7 @@ integer MPI_LOGICAL8, MPI_2REAL, MPI_2DOUBLE_PRECISION integer MPI_AINT, MPI_OFFSET, MPI_COUNT integer MPI_REAL16, MPI_COMPLEX8,MPI_COMPLEX16,MPI_COMPLEX32 + integer MPI_PACKED parameter(MPI_DATATYPE_NULL=-1) parameter(MPI_BYTE=0) parameter(MPI_CHARACTER=1) @@ -160,6 +167,7 @@ parameter(MPI_COMPLEX8=24) parameter(MPI_COMPLEX16=25) parameter(MPI_COMPLEX32=26) + parameter(MPI_PACKED=27) @@ -184,9 +192,6 @@ INTEGER MPI_ADDRESS_KIND, MPI_OFFSET_KIND PARAMETER (MPI_ADDRESS_KIND=@MPI_ADDRESS_SIZE@) PARAMETER (MPI_OFFSET_KIND=@MPI_ADDRESS_SIZE@) - - INTEGER MPI_MODE_NOPRECEDE - PARAMETER (MPI_MODE_NOPRECEDE=8192) integer MPI_COMBINER_NAMED, MPI_COMBINER_DUP integer MPI_COMBINER_CONTIGUOUS, MPI_COMBINER_VECTOR @@ -224,8 +229,8 @@ parameter(MPI_ORDER_FORTRAN=0) external MPI_INIT, MPI_FINALIZE, MPI_ABORT - external MPI_COMM_RANK, MPI_COMM_SIZE, MPI_COMM_DUP, MPI_COMM_SPLIT - external MPI_SEND_INIT, MPI_ISEND, MPI_SEND + external MPI_COMM_RANK, MPI_COMM_SIZE, MPI_COMM_DUP + external MPI_SEND_INIT, MPI_ISEND, MPI_SEND, MPI_COMM_SPLIT external MPI_RECV_INIT, MPI_IRECV, MPI_RECV external MPI_START, MPI_STARTALL external MPI_WAIT, MPI_WAITANY, MPI_WAITALL @@ -238,3 +243,16 @@ double precision MPI_WTIME double precision MPI_WTICK + + external smpi_execute_flops + external smpi_execute + external smpi_get_host_power_peak_at + external smpi_get_host_current_power_peak + external smpi_get_host_nb_pstates + external smpi_set_host_power_peak_at + external smpi_get_host_consumed_energy + + double precision smpi_get_host_power_peak_at + double precision smpi_get_host_current_power_peak + integer smpi_get_host_nb_pstates + double precision smpi_get_host_consumed_energy