A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible compilation problem with the declaration of msg_comm_t
[simgrid.git]
/
src
/
smpi
/
smpi_global.c
diff --git
a/src/smpi/smpi_global.c
b/src/smpi/smpi_global.c
index
86b1a09
..
bd5a5f1
100644
(file)
--- a/
src/smpi/smpi_global.c
+++ b/
src/smpi/smpi_global.c
@@
-75,10
+75,10
@@
int smpi_process_argc(void) {
return data->argc ? *(data->argc) - 1 : 0;
}
return data->argc ? *(data->argc) - 1 : 0;
}
-int smpi_process_getarg(int
* index, char* dst, size_t
len) {
+int smpi_process_getarg(int
eger* index, char* dst, ftnlen
len) {
smpi_process_data_t data = smpi_process_data();
char* arg;
smpi_process_data_t data = smpi_process_data();
char* arg;
-
size_t
i;
+
ftnlen
i;
if(!data->argc || !data->argv
|| *index < 1 || *index >= *(data->argc)) {
if(!data->argc || !data->argv
|| *index < 1 || *index >= *(data->argc)) {
@@
-94,10
+94,6
@@
int smpi_process_getarg(int* index, char* dst, size_t len) {
return 0;
}
return 0;
}
-int smpi_global_rank(void) {
- return smpi_process_index();
-}
-
int smpi_global_size(void) {
char* value = getenv("SMPI_GLOBAL_SIZE");
int smpi_global_size(void) {
char* value = getenv("SMPI_GLOBAL_SIZE");
@@
-109,7
+105,7
@@
int smpi_global_size(void) {
smpi_process_data_t smpi_process_data(void)
{
smpi_process_data_t smpi_process_data(void)
{
- return SIMIX_
req_process_get_data(SIMIX_process_self()
);
+ return SIMIX_
process_self_get_data(
);
}
smpi_process_data_t smpi_process_remote_data(int index)
}
smpi_process_data_t smpi_process_remote_data(int index)