Lykle and Lourival,<br><br>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.<br><br>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?
<br><br>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?<br><br>Thanks in advance!<br>Luiz<br><br><div><span class="gmail_quote">On 10/21/07, <b class="gmail_sendername">Lykle Voort</b> <<a href="mailto:lyklevoort@gmail.com">
lyklevoort@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.
<br><br>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.
<br><br>Are you developing for Windows or Linux? Which Pacal compiler do you use?<br><br>Lykle Voort<div><span class="e" id="q_115c425de987230b_1"><br><br><div><span class="gmail_quote">On 10/21/07, <b class="gmail_sendername">
Lourival Mendes</b> <<a href="mailto:mendes.lourival@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mendes.lourival@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div> 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.
</div>
<div> </div>
<div> 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??
</div>
<div> </div>
<div>Thanks in advance..<br clear="all"><br>-- <br>Lourival J. Mendes Neto </div>
</blockquote></div><br><br clear="all"><br></span></div><span class="sg">-- <br>Lykle Voort<br><a href="mailto:lyklevoort@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lyklevoort@gmail.com
</a>
</span></blockquote></div><br>