1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
--- a/configure.ac
+++ b/configure.ac
@@ -200,7 +200,7 @@ AC_SUBST(DEBUG)
## fortran compiler
#
-eigenexa_default_fc="mpifrtpx mpiifort mpixlf90_r sxmpif90 mpif90"
+eigenexa_default_fc="mpifrt mpifrtpx mpiifort mpixlf90_r sxmpif90 mpif90"
# check usablility
AC_PROG_F77($eigenexa_default_fc)
@@ -221,7 +221,6 @@ AC_MSG_CHECKING([for actual compiler])
fc_ver_info=$(${F77} -E --version)
for vtok in ${fc_ver_info} ; do
-
if test x"${vtok}" = x"ifort"; then
FC_ACT="ifort"
break
@@ -230,12 +229,16 @@ for vtok in ${fc_ver_info} ; do
FC_ACT="gfortran"
break
+ elif test x"${vtok}" = x"(FRT)"; then
+ FC_ACT="mpifrtpx"
+ break
+
fi
done
if test -z "${FC_ACT}"; then
- FC_ACT=${F77}
+ FC_ACT=`basename ${F77}`
fi
if test x"${FC_ACT}" = x"ifort"; then
@@ -260,7 +263,7 @@ fi
## C compiler
#
-eigenexa_default_cc="mpifccpx mpiicc mpixlc_r sxmpic++ mpicc"
+eigenexa_default_cc="mpifcc mpifccpx mpiicc mpixlc_r sxmpic++ mpicc"
# check usablility
AC_PROG_CC($eigenexa_default_cc)
@@ -423,7 +426,7 @@ fi
## For Fujitsu compiler architecture-oriented options
if test x"${FC_ACT}" = x"mpifrtpx"; then
F_ARCH=""
- F_BASE="-Kopenmp,openmp_ordered_reduction"
+ F_BASE="-Kopenmp"
fi
@@ -489,7 +492,7 @@ elif test x"${FC_ACT}" = x"gfortran"; th
FFLAGS0=${G_BASE}" -O0"
elif test x"${FC_ACT}" = x"mpifrtpx"; then
- FFLAGS0="-Kopenmp,openmp_ordered_reduction -Cpp"
+ FFLAGS0="-Kopenmp -Cpp"
elif test x"${FC_ACT}" = x"mpixlf90_r"; then
FFLAGS0="-qfixed -qsmp=omp -qthreaded -O0 -qessl -qstrict"
|