[SCore-users-jp] [SCore-users] SCore 5.2 source build problems
kameyama at pccluster.org
kameyama at pccluster.org
Mon Dec 9 10:05:23 JST 2002
In article <200212081453.gB8Er9814304 at zeralda.streamline.com> Nick Birkett <nrcb at streamline-computing.com> wrotes:
> Index: configure
Sorry, there are more bugs.
Please use this patch (from original) instead.
Kameyama Toyohisa
---------------------------------------cut here---------------------------------
Index: configure
===================================================================
RCS file: /develop/cvsroot/score-src/runtime/mpi/mpich-1.2.4/src/f90modules/configure,v
retrieving revision 1.1
retrieving revision 1.4
diff -u -r1.1 -r1.4
--- configure 19 Sep 2002 00:49:17 -0000 1.1
+++ configure 4 Dec 2002 00:28:29 -0000 1.4
@@ -1284,7 +1284,7 @@
# SGI and absoft compilers generates module name in upper case!
testname="conftest"
modcase="lower"
-if $F90 -c conftest.f > conftest.out 2>&1 ; then
+if $F90 $F90FLAGS -c conftest.f > conftest.out 2>&1 ; then
MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o`
MOD=`echo "$MOD" | sed -e 's/conftest\.//g'`
if test -z "$MOD" ; then
@@ -1344,15 +1344,15 @@
EOF
F90_WORK_FILES_ARG=""
F90MODINCSPEC=""
-if $F90 -c -Iconf conftest1.f > conftest.out 2>&1 ; then
+if $F90 $F90FLAGS -c -Iconf conftest1.f > conftest.out 2>&1 ; then
MODDIRFLAG="-I"
F90MODINCSPEC="-I<dir>"
echo "$ac_t""-I" 1>&6
-elif $F90 -c -Mconf conftest1.f >> conftest.out 2>&1 ; then
+elif $F90 $F90FLAGS -c -Mconf conftest1.f >> conftest.out 2>&1 ; then
MODDIRFLAG="-M"
F90MODINCSPEC="-M<dir>"
echo "$ac_t""-M" 1>&6
-elif $F90 -c -pconf conftest1.f >> conftest.out 2>&1 ; then
+elif $F90 $F90FLAGS -c -pconf conftest1.f >> conftest.out 2>&1 ; then
MODDIRFLAG="-p"
F90MODINCSPEC="-p<dir>"
echo "$ac_t""-p" 1>&6
@@ -1360,7 +1360,7 @@
cp work.pc conf/mpimod.pc
echo "mpimod.pc" > conf/mpimod.pcl
echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
- if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
+ if $F90$F90FLAGS -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
MODDIRFLAG='-cl,mpimod.pcl'
echo "$ac_t""-cl,filename where filename contains a list of files and directories" 1>&6
F90_WORK_FILES_ARG="-cl,mpimod.pcl"
@@ -1394,7 +1394,7 @@
integer (kind=MPI_ADDRESS_KIND) b
end
EOF
- if $F90 -I$MPIINCDIR -c conftest.f > conftest.out 2>&1 ; then
+ if $F90 $F90FLAGS -I$MPIINCDIR -c conftest.f > conftest.out 2>&1 ; then
echo "$ac_t""yes" 1>&6
F90INC="-I"
else
@@ -1438,9 +1438,9 @@
echo $ac_n "checking whether Fortran 90 is compatible with Fortran 77""... $ac_c" 1>&6
echo "configure:1440: checking whether Fortran 90 is compatible with Fortran 77" >&5
if { (eval echo configure:1441: \"$ac_f90compile\") 1>&5; (eval $ac_f90compile) 2>&5; } ; then
- f77test='$F77 -c conftest1.f'
+ f77test='$F77 $FFLAGS -c conftest1.f'
if { (eval echo configure:1443: \"$f77test\") 1>&5; (eval $f77test) 2>&5; } ; then
- f90_f77link='$F90 -o conftest conftest.o conftest1.o'
+ f90_f77link='$F90 $F90FLAGS -o conftest conftest.o conftest1.o'
if { (eval echo configure:1445: \"$f90_f77link\") 1>&5; (eval $f90_f77link) 2>&5; } ; then
pac_cv_prog_f90_and_f77=yes
fi
---------------------------------------cut here---------------------------------
from Kameyama Toyohisa
More information about the SCore-users
mailing list