Hi,
These are my patches to src/configure and src/lib/sys.f to solve
duplicating
problem of second() that some people might have when using
./configure xlf90_macosx
Basically, I added a "HASSECOND" flag, but that might not be the best
name.
If everything is okay, I hope we can commit it to the trunk.
-----cut here
--------------------------------------------------------------
--- src/configure.orig 2005-12-11 19:16:43.000000000 -0800
+++ src/configure 2005-12-11 19:19:43.000000000 -0800
.. -1087,7 +1087,7 ..
foptflags="-qextname=ddot:fdate:flush:lsame:dscal:dnrm2:idamax:drot:dswap:
ds
pmv:daxpy:dspr2:dgemm:dcopy:dgemv:dtrmv:dtrmm:dger:lsame:dspev:dgeev:dspev
d:
dsyev:dppsv:dspsv:dlamch:dsteqr:dgeqr2:dorm2r:dlacpy:dlarnv:dlascl:dlaset:
dl
artg:dlanst:dlaev2:dlapy2:dlasr"
fi
sysdir='Machines/ibm_aix'
- fppflags="$fppflags -DNMLEQ -DCLINK_PLAIN"
+ fppflags="$fppflags -DNMLEQ -DCLINK_PLAIN -DXLF90 -DHASSECOND"
fpp='/opt/ibmcmp/xlf/8.1/exe/cpp'
if [ $parallel = "mpi" ]; then
fppflags="$fppflags -DPOE"
-----cut here
--------------------------------------------------------------
and
-----cut here
--------------------------------------------------------------
--- src/lib/sys.f.orig 2005-12-11 18:08:17.000000000 -0800
+++ src/lib/sys.f 2005-12-11 18:08:10.000000000 -0800
.. -56,6 +56,7 ..
c
end
#endif
+#ifndef HASSECOND
c
c arpack routines need a second() call
c
.. -65,3 +66,4 ..
call wallclock( wallc )
return
end
+#endif
-----cut here
--------------------------------------------------------------
Best,
--
Mengjuei Hsieh, Luo group, Molecular Biology and Biochemistry, University
of
California Irvine. Tel: 49562, Address: 3144 Natural Science I building,
UCI, Irvine CA 92697-3900. Group Homepage: http://rayl0.bio.uci.edu/
Received on Wed Apr 05 2006 - 23:49:46 PDT