using mpich 1.2.2.2 with ifc

Daniel Kidger Daniel.Kidger at quadrics.com
Tue Oct 23 06:21:58 PDT 2001


>Hello,

>I'm having a problem to compile a fortran 90 code with mpich
>libraries. My compiler is Intel Fortran 90 for linux (ifc), kernel 2.2  
>and the version of mpich is 1.2.2.2 

>Eduardo Melione. 



I too am now using ifc with mpich.
At first it didn't work - this is because our mpich expected a double
underscore on the Fortran calls.

viz:
sh-2.04$ nm -a /usr/lib/mpi/lib/libmpif.a |grep mpi_init
00000000 T mpi_init__

g77 and Portland can give a second underscore. Intel's compiler can't 
<However two weeks ago I requested the feature, and Intel replied saying
they try and include it in the next release :-)>

The fix I did was to rebuild mpich using ifc for the Fortran side (ie. only
a single underscore).
viz:
sh-2.04$ nm -a /usr/lib/mpi/lib/libmpif_1us.a  |grep mpi_init
00000000 T mpi_init_


All now works well.


Daniel.

--------------------------------------------------------------
Dr. Dan Kidger, Quadrics Ltd.      daniel.kidger at quadrics.com
One Bridewell St., Bristol, BS1 2AA, UK         0117 915 5505
----------------------- www.quadrics.com --------------------

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf




More information about the Beowulf mailing list