[MPICH] MPICH2 and Pascal
Luiz Carlos da Costa Junior
lcjunior at ufrj.br
Sun Oct 21 16:18:00 CDT 2007
Lykle and Lourival,
Let me introduce myself and participate in this discussion (actually add
another question). My name is Luiz and I have a problem like Lourival. I
would like to use MPICH2 with my fortran program (developed for Windows and
compiled with OpenWatcom 1.3) but I had problems during the linking process.
I have a little experience in using C libraries in my fortran programs and I
use to recompile the libraries header (generating *.lib file that I can use
in OW1.3 linking process) but in case of MPI I didn't have success because
of functions name (my liker doesn't not recognize MPI functions). Maybe
because of naming convention, prefix/sufix additions. How is the best way to
deal with it?
Another problem I had is due to the type "long long", used in MPICH2.
Unfortunately, OpenWatcom 1.3 doesn't seen to support it (I can be wrong),
do you known how to deal with this problem?
Thanks in advance!
Luiz
On 10/21/07, Lykle Voort <lyklevoort at gmail.com> wrote:
>
> My experience with Pascal goes back to turbo pascal version 7, I am
> afraid, but I have quite a bit of experience with calling c routines from
> fortran on windows and linux.
>
> The trick is to call a the mpi-routines, written in C, from Pascal. The
> difficulty is usually to get the arguments and the function names right; the
> linker takes care of the rest.
>
> Are you developing for Windows or Linux? Which Pacal compiler do you use?
>
> Lykle Voort
>
> On 10/21/07, Lourival Mendes < mendes.lourival at gmail.com> wrote:
> >
> > Hy everybody, as probably you saw before, I'm trying to use the
> > MPICH2 on the Pascal environment. I try to find something on the net but
> > with almost no success.
> >
> > Does anybody has an advice from where I should start?? Should I
> > convert the headers and lib files from the standard installation or should I
> > use the source code?? What is the best way?? How it works for the fortran
> > code??
> >
> > Thanks in advance..
> >
> > --
> > Lourival J. Mendes Neto
> >
>
>
>
> --
> Lykle Voort
> lyklevoort at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20071021/0623512b/attachment.htm>
More information about the mpich-discuss
mailing list