[OMPI users] getting fortran90 to compile

2008-07-13 Thread zach
I installed openmpi like
./configure --prefix= FC=/usr/bin/gfortran-4.2
make all install

When i type
mpif90 file1.f90 file2.f90 file3.f90

I get
Unfortunately, this installation of Open MPI was not compiled with
Fortran 90 support.  As such, the mpif90 compiler is non-functional.

What am i doing wrong?

Zachary


[OMPI users] weird problem with passing data between nodes

2008-06-12 Thread zach
I have a weird problem that shows up when i use LAM or OpenMPI but not MPICH.

I have a parallelized code working on a really large matrix. It
partitions the matrix column-wise and ships them off to processors,
so, any given processor is working on a matrix with the same number of
rows as the original but reduced number of columns. Each processor
needs to send a single column vector entry
from its own matrix to the adjacent processor and visa versa as part
of the algorithm.

I have found that depending on the number of rows of the matrix -or,
the size of the vector being sent using MPI_Send, MPI_Recv, the
simulation will hang.
It is only until i reduce this dimension to a certain max number will
the sim run properly. I have also found that this magic number differs
depending on the system I am using, eg my home quad-core box or remote
cluster.

As i mentioned i have not had this issue with mpich. I would like to
understand why it is happening rather than just defect over to mpich
to get by.

Any help would be appreciated!
zach