Correct assumption about LAM7. Sorry, I forgot to mention that. Comments
inline:
On Thu, Sep 25, 2003 at 01:30:46PM -0700, Brian W. Barrett told me:
> >[root_at_cyclades basic]# make fpi
> >mpif77 -lpgf90 -c fpi.f
> >pgf90-Warning-Unknown switch: -pthread
>
> This looks like LAM 7.0, correct? Unfortunately, there is a bug in the
> configure script for LAM 7.0 with regards to threading. The configure
> script incorrectly assumes that threading flags that work for the C
> compiler will work with the Fortran compiler. There are a couple of
> ways around the bug that should work for you.
>
> * If you use the argument --without-dash-pthread to configure, LAM will
> use the
> standard -lpthread rather than the compiler option -pthread. This
> won't work on the
> BSDs, but should work fine on most Linux distros (possibly not RH
> 9.0).
The %configure argument --without-dash-pthread seems to be working great with
the Portland Group Fortran 90 (pgf90) compiler. I only ran some basic test
code, but all looks happy now.
> We plan on releasing LAM 7.0.1 real soon now, which will include a much
> improved threading test (as well as a couple other bug fixes).
Looking forward to it! :)
Great job, and thanks!!
--
Greg M. Kurtzer, CSE: Linux cluster specialist
Lawrence Berkeley National Laboratory
Contact: O=510.495.2307, P=510.448.4540, M=510.928.9953
1 Cyclotron Road MS:50C-3396, Berkeley, CA 94720
http://www.lbl.gov, http://scs.lbl.gov/, http://lug.lbl.gov/
Email: GMKurtzer_at_lbl.gov, Text: 5109289953_at_mobileatt.net
|