humm... Doesn't seem that the sample piece of code is using any MPI
calls so that eliminates the possibility of the problem lying in
LAM/MPI libraries. So I would focus on making sure that mpif77 is
configured in a similar manner as before. One easy way to do this is to
"mpif77 -showme" on both installations and compare the results. You
could also try to compile the code not using mpif77, but using your
standard fortran compiler and see if that narrows down the problem.
You could also attach to a debugger, and use that to see where it might
be hanging.
Hope that helps,
Josh
On Mar 4, 2005, at 3:44 PM, Shi Jin wrote:
> Hi, I have some problem with LAM/MPI 7.1.1 in dumping
> large arrays to a binary file while the same works
> with 7.0.2 perfectly. To demenstrate the problem, try
> this tiny toy code:
> program largefile
> implicit none
> include "mpif.h"
> integer,parameter::recordunit=11,N=256
> real(8),allocatable::sepRecord(:)
> allocate(sepRecord(2*N**3))
> sepRecord=1d0
>
> Open (UNIT=recordunit, FILE="largefile.dat",
> STATUS="UNKNOWN", &
> form="unformatted",ACTION="WRITE")
> write(unit=recordunit) sepRecord
> close(recordunit)
>
> deallocate(sepRecord)
> end program
>
> For the LAM/MPI 7.0.2, it writes to a 256MB file in
> seconds while using versin 7.1.1, the code hangs and
> takes all the CPU but nothing is written.
>
> Is this a bug in the new version?
> Thanks.
>
> Shi
>
>
>
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
----
Josh Hursey
jjhursey_at_[hidden]
http://www.lam-mpi.org/
|