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
Define simgrid::xbt::Path to manage file names.
[simgrid.git]
/
src
/
smpi
/
smpif90.in
diff --git
a/src/smpi/smpif90.in
b/src/smpi/smpif90.in
index
200d7a6
..
22869c3
100644
(file)
--- a/
src/smpi/smpif90.in
+++ b/
src/smpi/smpif90.in
@@
-1,6
+1,6
@@
#! /bin/sh
#! /bin/sh
-# Copyright (c) 2012-201
5
. The SimGrid Team.
+# Copyright (c) 2012-201
7
. The SimGrid Team.
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
@@
-9,15
+9,15
@@
SIMGRID_VERSION="@SIMGRID_VERSION_STRING@"
SIMGRID_GITHASH="@SIMGRID_GITHASH@"
SIMGRID_VERSION="@SIMGRID_VERSION_STRING@"
SIMGRID_GITHASH="@SIMGRID_GITHASH@"
-F90=@S
AVED
_Fortran_COMPILER@
+F90=@S
MPI
_Fortran_COMPILER@
INCLUDEARGS="@includeflag@"
CMAKE_LINKARGS="-L@libdir@"
@SMPITOOLS_SH@
INCLUDEARGS="@includeflag@"
CMAKE_LINKARGS="-L@libdir@"
@SMPITOOLS_SH@
-list_set FFLAGS
"-ff2c" "-fno-second-underscore"
-list_set LINKARGS "-
lsimgrid" "-lm" "-lgfortran
"
+list_set FFLAGS
@SMPI_Fortran_FLAGS@
+list_set LINKARGS "-
shared" "-lsimgrid" @SMPI_Fortran_LIBS@ "-lm
"
list_set TMPFILES
main_name=main
list_set TMPFILES
main_name=main
@@
-65,6
+65,10
@@
while [ $# -gt 0 ]; do
'-compiler-version' | '--compiler-version')
${F90} --version
;;
'-compiler-version' | '--compiler-version')
${F90} --version
;;
+ -o)
+ list_add CMDLINE "-o$1"
+ shift
+ ;;
*)
list_add CMDLINE "${ARG}"
;;
*)
list_add CMDLINE "${ARG}"
;;